Re: [Exim] Exim rejecting email routed from ISP

Top Pagina
Delete this message
Reply to this message
Auteur: Cam Ellison
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] Exim rejecting email routed from ISP
* Dr Andrew C Aitchison (A.C.Aitchison@???) wrote:
> On Sat, 20 Jul 2002, Cam Ellison wrote:
> > * Dr Andrew C Aitchison (A.C.Aitchison@???) wrote:
> > > On Fri, 19 Jul 2002, Cam Ellison wrote:
> > > > Unable to deliver to destination domain
> > > >
> > > > Mail server at localhost [127.0.0.1] has the same MailSite serial
> > > > number (32073) as this machine.
>
> > > A "MailSite serial number" doesn't sound like an exim thing;
> > > is it part of spamassassin ?
> > >
> > No. Mailsite is what my ISP uses -- they're still benighted enough to
> > be running NT servers. :-)
>
> Sorry, I wasn't very clear.
> The error message makes me think the problem is related to MailSite
> not exim.
>

I had not considered that. I have had problems before, with fetchmail
and MailSite coming up with different byte counts. In this case, what
I saw was a lot of traffic showing on gkrellm, but no email, and then
the error messages from eximon. Maybe I need to look

This is an example of an entry from the mainlog before the problem
started (lines are cut so there's no overflow):

2002-07-18 04:29:33 17V9TQ-0000Fv-00 <=
bounce-debian-user=camellison=dccnet.com@??? H=localhost
[127.0.0.1] P=esmtp S=5586 id=0S5zW.A.nRE.PCqN9@murphy
2002-07-18 04:29:34 17V9TR-0000G3-00 <=
bounce-debian-user=camellison=dccnet.com@??? U=mail
P=spam-scanned S=5840 id=0S5zW.A.nRE.PCqN9@murphy
2002-07-18 04:29:34 17V9TQ-0000Fv-00 => root <root@localhost>
D=spamcheck_director T=spamcheck
2002-07-18 04:29:34 17V9TQ-0000Fv-00 Completed

Here is a post-"change" example:

2002-07-18 18:02:54 17VMAY-0001iL-00 <=
bounce-debian-user=camellison=dccnet.com@??? H=localhost
[127.0.0.1] P=esmtp S=4609 id=AQJ2DB.A.v4F.QK2N9@murphy
2002-07-18 18:02:55 17VMAY-0001iL-00 => root@localhost R=smarthost
T=remote_smtp H=mailhost.dccnet.com [207.230.239.78]
2002-07-18 18:02:55 17VMAY-0001iL-00 Completed

It looks as though the message is not getting as far as the
directors. "smarthost" is set in exim.conf as mailhost.dccnet.com.

Here's my exim.conf (or the bits that are set [and a couple that are
not, but seem important]):

qualify_domain = ellisonet.ca
# qualify_recipient =
local_domains_include_host = true
local_domains_include_host_literals = true
#relay_domains =
percent_hack_domains = :
receiver_try_verify = true
relay_domains_include_local_mx = true
never_users = root
host_lookup = *
headers_check_syntax
host_accept_relay = localhost
# percent_hack_domains=*
trusted_users = "mail"
smtp_verify = false
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 1000
freeze_tell_mailmaster = true

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 = ""

address_reply:
driver = autoreply

remote_smtp:
driver = smtp

spamcheck:
driver = pipe
command = /usr/sbin/exim -oMr spam-scanned -bS
transport_filter = /usr/bin/spamc
bsmtp = all
home_directory = "/tmp"
user = mail
return_path_add = false
log_output = true
return_fail_output = true
prefix =
suffix =

spamcheck_director:
    no_verify
    condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
    {$received_protocol}{spam-scanned}} {!eq
    {$received_protocol}{local}} } {1}{0}}"
    driver = smartuser
    transport = spamcheck


system_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/aliases
search_type = lsearch
# user = list

userforward:
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
check_ancestor
file = .forward
modemask = 002
filter

localuser:
driver = localuser
transport = local_delivery

smarthost:
driver = domainlist
transport = remote_smtp
route_list = "* mailhost.dccnet.com bydns_a"

*@ellisonet.ca    ${lookup{$1}lsearch{/etc/email-addresses}\
                        {$value}fail} bcfrF


Thanks for the input

Cam

--
Cam Ellison Ph.D. R.Psych.
From Roberts Creek on B.C.'s incomparable Sunshine Coast
cam@???
camellison@???
cam@???