Re: [Exim] Ooops! Exim and invalid senders

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc MERLIN
Datum:  
To: sharun
CC: exim-users
Betreff: Re: [Exim] Ooops! Exim and invalid senders
On Thu, May 16, 2002 at 10:24:41AM +0300, sharun@??? wrote:
> Next example:
> % telnet mail.exim.org 25
> Trying 195.92.249.251...
> Connected to mail.exim.org.
> Escape character is '^]'.
> 220 exim-colo-01.whoc.theplanet.co.uk ESMTP Exim 3.33 #4 Thu, 16 May 2002 08:27:57 +0100
> mail from: user@bbs
> 250 <user@bbs> is syntactically correct
> rcpt to: root@???
> 250 <root@???> verified
> quit
>
> maybe need "550 sender domain must resolve" or something like that ?


marc@gandalf:~$ telnet mail.merlins.org smtp
Trying 204.80.101.251...
Connected to moremagic.merlins.org.
Escape character is '^]'.
220 mail2.merlins.org ESMTP Exim 4.04 #125 Thu, 16 May 2002 00:37:05 -0700 - mm1
mail from: user@bbs
250 OK
rcpt to: bounce@???
550-Verification failed for <user@bbs>
550-Unrouteable address
550 Sender verify failed
quit

It's an option.

There's even better (I just coded that):
220 mail2.merlins.org ESMTP Exim 4.04 #125 Thu, 16 May 2002 00:37:59 -0700 - mm1
mail from: rfclosers@???
250 OK
rcpt to: bounce@???
550-Verification failed for <rfclosers@???>
550-Called:   mailhub.bjt.net [209.237.6.2]
550-Sent:     MAIL FROM:<>
550-Response: 501 bogus mail from
550-This does not help fight spam effectively, breaks RFCs,
550-and prevents you from getting mail bounces back from us,
550-As a result, we cannot accept mail from you until you fix this
550 Sender verify failed


This one is probably my favorite though:
220 mail2.merlins.org ESMTP Exim 4.04 #125 Thu, 16 May 2002 00:37:59 -0700 - mm1
mail from: webmaster@???
250 OK
rcpt to: bounce@???
550-Verification failed for <webmaster@???>
550-Called:   mx01.schlund.de [212.227.126.146]
550-Sent:     RCPT TO:<postmaster@???>
550-Response: 550 Unknown local part postmaster in <postmaster@???>
550-Several RFCs state that you are required to have a postmaster mailbox
550-for each domain that you send mail from
550-It needs to be routed to the person responsible for mail at your site
550-We cannot accept mail from domains that cannot be contacted at the
550-postmaster address to sort out possible problems
550-Please create a postmaster account for your domain
550 Sender verify failed


But to answer your question, look into sender_verify and smtp callbacks in
exim 3, and ACLs in exim 4.

Marc
--
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking


Home page: http://marc.merlins.org/ | Finger marc_f@??? for PGP key