Author: Scott Nolde Date: To: ScaryG CC: exim-users Subject: Re: [Exim] system_filter_exim + relaying through provider's SMTP
smacked into the keyboard previously by exim-users-admin@???:
>Date: Tue, 4 Dec 2001 22:43:26 -0500
>From: ScaryG <freymann@???>
>To: Scott Nolde <scott@???>
>Cc: exim-users@???
>Subject: Re: [Exim] system_filter_exim + relaying through provider's SMTP
>
>On Tue, 4 Dec 2001 22:31:12 -0500 (EST)
>Scott Nolde <scott@???> wrote:
>
>|O|>Do you have an error text to post? It sounds as if your domain isn't
>|O|>recognized when the remote server does a reverse DNS lookup.
>
> Here's a sample reject message.
>
> I can send mail out just fine from various email clients on the box like Pine or this one (Sylpheed).
>
>2001-12-04 16:22:47 16BN1a-0001Gq-00 <= owner-freebsd-questions@???
>H=mx2.freebsd.org [216.136.204.119]
>P=esmtp S=55419 id=F098252D3EC7D21191DB00A0C9337ECBE038EB@???
>2001-12-04 16:22:48 16BN1a-0001Gq-00 cancelled by message filter:
>This message has been rejected because it has\n
>a potentially executable attachment "gone.scr"\n
>This form of attachment has been used by\n
>recent viruses or other malware.\n
>If you meant to send this file then please\n
>package it up as a zip file and resend it.
>2001-12-04 16:22:48 16BN1c-0001Gs-00 <= <> R=16BN1a-0001Gq-00 U=exim P=local S=56531
>2001-12-04 16:22:48 16BN1a-0001Gq-00 Error message sent to owner-freebsd-questions@???
>2001-12-04 16:22:48 16BN1a-0001Gq-00 Completed
>2001-12-04 16:22:48 16BN1c-0001Gs-00 ** owner-freebsd-questions@???
>R=send_to_gateway T=remote_smtp: SMTP error from remote mailer after
>RCPT TO:<owner-freebsd-questions@???>:
>host smtp1.sympatico.ca [209.226.175.80]:
>550 relaying mail to freebsd.org is not allowed
>
> It's odd that other mail delivery works fine, just rejects through the filter get rejected. I sent a test message with a known bad attachment from work and the returned message is frozen for the same reason.
>
> In my exim/configuration file I did this:
>
>#lookuphost:
># driver = lookuphost
># transport = remote_smtp
># ignore_target_hosts = 127.0.0.0/8
>
>send_to_gateway:
> driver = domainlist
> transport = remote_smtp
> route_list = * smtp1.sympatico.ca byname
>
> I'm new at this, but I thought I was doing pretty good! I have vmail-sql and tpop3d all working fine for virtual domain email, so this one can't be that hard to resolve! ;-)
>
> Thanks!
>
>--
I think the freebsd-questions list uses owner-freebsd-questions as a
no-relay/reply-to kind of address. The emails from that list all have
sender defined as owner-freebsd-questions so any bounces back to the
server don't get re-distributed to the list.
In this case, you can flush the bounces from the queue or develop a more
robust filter file (which I'll need to do also) in order to bounce the
message back to the originator of the email, not the mailing list.