- Re: Exim default build -
On Sunday Oct 07 21:27 Matthew Daubenspeck wrote:
> ** Does the default exim package that is included with the standard potato
> ** install include SMTP Authentication?
> **
> ** If not, how hard (for a relative newbie) would it be to install it?
I have a running exim on Woody. But i think the Potato one is not very
different. You can use SMTP authentication with exim. And i mean it is
very easy. But documentation of exim has very much text and for a newbie
it could be a little hard to find out, what to do. I will explain you
the important steps:
There is no standard configuration, if you install exim. If you see the
configurtion script, you will see why. This script will start automaticly
while exim will be installed. And you can call it as root with
# eximconfig, if you later need it.
This configuration script at first will show you more options. Choose the
first one, which is needed for most people. Then comes some questions,
that you can answer by yourself i hope.
You should also install the exim-doc package and read the text file
/usr/share/doc/exim/spec.txt. This doc is more useful, then the manpage
of exim.
At last you have to configure your SMTP authentication by editing the
file /etc/exim/exim.conf. You can look at my exim.conf, to get an idea,
what you have to do. Most entrys you will get with the configuration
script. Maybe some of my exim.config is different. But you should first
try the settings that you have. And change onky that, what i comment
for you:
######################################################################
# MAIN CONFIGURATION SETTINGS #
######################################################################
primary_hostname = Calculusterix
qualify_domain = Calculusterix
local_domains = localhost:Calculusterix
local_domains_include_host = true
local_domains_include_host_literals = true
host_lookup = *
host_accept_relay = 127.0.0.1 : ::::1
host_auth_accept_relay = *
trusted_users = mail
smtp_verify = true
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 4000
freeze_tell_mailmaster = true
received_header_text = "Received:
${primary_hostname}
${if def:received_protocol {with ${received_protocol}}}
(Mailer: Exim ${version_number} on Debian Linux Unstable)
id ${message_id}"
accept_8bitmime = true
end
######################################################################
# TRANSPORTS CONFIGURATION #
######################################################################
local_delivery:
driver = appendfile
group = mail
mode = 0660
mode_fail_narrower = false
envelope_to_add = true
return_path_add = true
file = /var/spool/mail/${local_part}
address_pipe:
driver = pipe
path = /usr/bin:/bin:/usr/local/bin
return_output
address_file:
driver = appendfile
envelope_to_add = true
return_path_add = true
address_directory:
driver = appendfile
no_from_hack
prefix = ""
suffix = ""
address_reply:
driver = autoreply
procmail_pipe:
driver = pipe
command = "/usr/bin/procmail -d ${local_part}"
return_path_add
delivery_date_add
envelope_to_add
check_string = "From "
escape_string = ">From "
user = $local_part
---< This you have to set, to tell exim about your remote mail account >---
remote_smtp:
driver = smtp
authenticate_hosts = mail.gmx.net
end
######################################################################
# DIRECTORS CONFIGURATION #
# Specifies how local addresses are handled #
######################################################################
real_local:
prefix = real-
driver = localuser
transport = local_delivery
system_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/aliases
search_type = lsearch
userforward:
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
check_ancestor
check_local_user
file = .forward
modemask = 002
filter
procmail:
driver = localuser
transport = procmail_pipe
require_files =
${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
no_verify
localuser:
driver = localuser
transport = local_delivery
end
######################################################################
# ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
######################################################################
---< This you have to set, to tell exim to use a smarthost to reach your mail
account >---
smarthost:
driver = domainlist
transport = remote_smtp
route_list = "* mail.gmx.net bydns_a"
end
######################################################################
# RETRY CONFIGURATION #
######################################################################
# Domain Error Retries
# ------ ----- -------
* * F,2h,15m; G,16h,2h,1.5; F,4d,8h
end
######################################################################
# REWRITE CONFIGURATION #
######################################################################
---< This settings are for rewriting. I use it to have my mailaddres in the
from
line istead of my local name.
>---
[EMAIL PROTECTED] [EMAIL PROTECTED] Efrs
[EMAIL PROTECTED] [EMAIL PROTECTED] Efrs
end
######################################################################
# AUTHENTICATION CONFIGURATION #
######################################################################
---< And this you have to set for SMTP authentication >---
login:
driver = plaintext
public_name = LOGIN
client_send = ": [EMAIL PROTECTED] : password"
Timo
--
Nothing is impossible!
You only need to know the way and price.
:-)