[Exim] Announce: exim 3 style error messages in exim 4 + cus…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc MERLIN
Fecha:  
A: exim-users
Asunto: [Exim] Announce: exim 3 style error messages in exim 4 + custom ones
[Bcced folks, please do not group reply]

As stated previously here, I haven't been able to switch my major servers to
exim 4 because of its non existent error messages for DATA ACL failures and
the fact that I rely on the improved error messages I wrote for exim 3, but
that I unfortunately wrote too late for Philip to include in the exim 3
branch.

I think I've just rewritten most of that for exim 4 (I still need to
actually check every single ACL failure and see if I'm happy with the error
message generated), but I this patch should be fairly close to the optimal
one, so I'm releasing it for testing and feedback.
Philip, while this is not the final patch, I'm very interested in getting
this into exim this time.
Obviously, I'm flexible about the implementation or the check_postmaster
callout option name. I really only care about getting useful error messages
in for all the possible failures. I welcome your input before I submit the
final patch (if necessary or applicable)

The page with the patch and examples is here:
http://marc.merlins.org/linux/exim/

I'm pasting examples here:
(sorry, I didn't post the original messages, but it's as bad as "temporary
local error" when the other site temporarily fails header from callback or
"administrative prohibition" for most header callback failures (instead of
giving the header syntax error for instance)
----------------------------------------------------------------------------

220 gandalf.domain.tld ESMTP Exim 4.04 #123 Tue, 14 May 2002 08:56:22 -0700 - mm1
mail from: postmaster@???
250 OK
rcpt to: merlin@gandalf
550-Verification failed for <postmaster@???>
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


2002-05-14 08:56:40 H=localhost [127.0.0.1]:33641 (merlin) sender verify fail for <postmaster@???>: Failed MAIL FROM: <>: response to "MAIL FROM:<>" from mailhub.bjt.net [209.237.6.2] was 501 bogus mail from
2002-05-14 08:56:40 H=localhost [127.0.0.1]:33641 (merlin) F=<postmaster@???> rejected RCPT merlin@gandalf: Sender verify failed

----------------------------------------------------------------------------

mail from: me@???
250 OK
rcpt to: merlin@gandalf
550-Verification failed for <me@???>
550-Called:   mail.domain.tld [204.80.101.251]
550-Sent:     RCPT TO:<postmaster@???>
550-Response: 550 unknown user
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


2002-05-14 09:16:02 H=localhost [127.0.0.1]:33653 (merlin) sender verify fail for <me@???>: Failed postmaster callout: response to "RCPT TO:<postmaster@???>" from mail.domain.tld [204.80.101.251] was 550 unknown user
2002-05-14 09:16:02 H=localhost [127.0.0.1]:33653 (merlin) F=<me@???> rejected RCPT merlin@gandalf: Sender verify failed

----------------------------------------------------------------------------

data
354 Enter message, ending with "." on a line by itself
From: asdfsdaf@234>
To: test

test