On Sat, Dec 15, 2001 at 08:49:44PM -0800, Paul E Condon wrote:
| What information is needed by people who might give me advice?
I did as suggested, except /usr/sbin/exim instead of just exim.
One way to see if exim is performing local delivery correctly is to
send yourself a message.$ exim pecondon
From: me
Subject: testasfd
^D
$(the ^D is a Ctrl-D, for EOF (End-Of-File)). exim should then
(immediately) deliver that message to /var/mail/pecondon. Whether or
not it does, /var/log/exim/mainlog will have a record of what
happened. Show us the relevant portion of that.After you get local delivery set up, then you can proceed to either
remote delivery or fetchmail configuration (fetchmail should hand off
mail to exim, which then requires local delivery for you to actually
get the message).-D
--
Failure is not an option. It is bundled with the software.
Immediately upon my pressing ^D, my modem became active
(I have diald running.) But I got interrupted and could not check
mainlog immediately. Several minutes transpired. After that the
message that I sent appeared in the Inbox of my mail account at
my ISP. The tail of mainlog is now:
2001-12-16 09:31:35 End queue run: pid=2838 -qf
2001-12-16 09:32:47 Start queue run: pid=2888 -qf
2001-12-16 09:32:47 End queue run: pid=2888 -qf
2001-12-16 09:35:26 16FfCA-000086-00 <= [EMAIL PROTECTED] U=root
P=local S=871
2001-12-16 09:35:26 16FfCA-000086-00 => pecondon <[EMAIL PROTECTED]>
D=real_local T=local_delivery
2001-12-16 09:35:26 16FfCA-000086-00 Completed
2001-12-16 09:36:53 Start queue run: pid=602 -qf
2001-12-16 09:36:53 End queue run: pid=602 -qf
2001-12-16 09:38:01 Start queue run: pid=635
2001-12-16 09:38:01 End queue run: pid=635
This doesn't make much sense to me. Except that exim is running, and is not performing local delivery.
What follows is a copy of /etc/exim.conf, but with many comment lines
removed for brevity on the list. I suppose
that anyone who can help me won't need the comments that were put there
by t he Debian install script.
Start of exim.conf.x:
qualify_domain = cmn.lan.gnu
# qualify_recipient =
local_domains = cmn.lan.gnu:localhost
# Allow mail addressed to our hostname, or to our IP address.
local_domains_include_host = true
local_domains_include_host_literals = true
#relay_domains =
#relay_domains_include_local_mx = true
never_users = root
host_lookup = *
# headers_check_syntax
#rbl_domains = rbl.maps.vix.com
#rbl_reject_recipients = false
#rbl_warn_header = true
host_accept_relay = localhost
# percent_hack_domains=*
trusted_users = mail
smtp_verify = false
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 100
freeze_tell_mailmaster = true
received_header_text = "Received: \
${if def:sender_rcvhost
{from ${sender_rcvhost}\n\t}\
{${if def:sender_ident
{from ${sender_ident} }}\
${if def:sender_helo_name
{(helo=${sender_helo_name})\n\t}}}}\
by ${primary_hostname}
\
${if def:received_protocol
{with ${received_protocol}}} \
(Exim ${version_number}
#${compile_number} (Debian))\n\t\
id ${message_id}\
${if def:received_for
{\n\tfor <$received_for>}}"
end
######################################################################
#
TRANSPORTS CONFIGURATION
#
######################################################################
#
ORDER DOES NOT MATTER
#
# Only one appropriate transport is called
for each delivery. #
######################################################################
local_delivery:
driver = appendfile
group = mail
mode = 0660
mode_fail_narrower = false
envelope_to_add = true
file = /var/spool/mail/${local_part}
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
address_directory:
driver = appendfile
no_from_hack
prefix = ""
suffix = ""
# maildir_format
address_reply:
driver = autoreply
# This transport is used for procmail
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
group = mail
# This transport is used for delivering messages over SMTP connections.
remote_smtp:
driver = smtp
end
######################################################################
#
DIRECTORS CONFIGURATION
#
#
Specifies how local addresses are handled
#
######################################################################
#
ORDER DOES MATTER
#
# A local address is passed to each in turn until it is
accepted. #
######################################################################
real_local:
prefix = real-
driver = localuser
transport = local_delivery
smart:
driver = smartuser
new_address = [EMAIL PROTECTED]
end
######################################################################
#
ROUTERS CONFIGURATION
#
#
Specifies how remote addresses are handled
#
######################################################################
#
ORDER DOES MATTER
#
# A remote address is passed to each in turn until it is accepted.
#
######################################################################
# Remote addresses are those with a domain that does not match any item
# in the "local_domains" setting above.
# Send all mail to a smarthost
smarthost:
driver = domainlist
transport = remote_smtp
route_list = "* mail2.quiknet.com bydns_a"
end
######################################################################
#
RETRY CONFIGURATION
#
######################################################################
# Domain
Error Retries
# ------
----- -------
* * F,2h,15m; G,16h,2h,1.5; F,4d,8h
end
######################################################################
#
REWRITE CONFIGURATION
#
######################################################################
^(?i)(root|postmaster|mailer-daemon)@cmn.lan.gnu [EMAIL PROTECTED] Ffr
[EMAIL PROTECTED] [EMAIL PROTECTED] Ffr
^(?i)(root|postmaster|mailer-daemon)@localhost [EMAIL PROTECTED] Ffr
[EMAIL PROTECTED] [EMAIL PROTECTED] Ffr
[EMAIL PROTECTED] [EMAIL PROTECTED] Ffr
[EMAIL PROTECTED] ${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} bcfrF
# End of Exim configuration file
Hope you can help.
Thanks,
Paul