[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix-mysql-procmail



This one time, at band camp, Russell Coker said:
> Neither /etc/aliases nor procmail allows a custom 55x code to be sent.
> 
> A bounce (as used in your example) is undesirable in the case of spam and 
> viruses.  It makes your machine the cause of problems, which then results 
> in other people causing problems for you.

Hmm, it seems you're right.  It doesn't generate a bounce, but it does
550 - just too early (at the rcpt rather than data stage). Apparently it
generated a bounce because I was using mail, which I guess calls exim as
sendmail, rather than with smtp, so it behaves slightly differently.

Here is a telnet session with the same configuration, coming from another 
machine:

steve:~$ telnet mercury 25
Trying 216.158.52.98...
Connected to mail.lobefin.net.
Escape character is '^]'.
220 mail.lobefin.net ESMTP Exim 4.30 Sun, 11 Jan 2004 11:56:48 -0500
ehlo busybox
250-mail.lobefin.net Hello www.lobefin.net [216.158.52.108]
250-SIZE 52428800
250-PIPELINING
250-AUTH LOGIN PLAIN
250-STARTTLS
250 HELP
mail from: steve@lobefin.net
250 OK
rcpt to: testuser@lobefin.net
550 unknown user

And the corresponding log line:

2004-01-11 11:57:08 H=www.lobefin.net (busybox) [216.158.52.108] F=<steve@lobefin.net> rejected RCPT testuser@lobefin.net: on vacation 

It does _not_ work as well as I had hoped, but it at least does generate
a 550, rahter than a bounce.  Back to the drawing board.
-- 
 -----------------------------------------------------------------
|   ,''`.					     Stephen Gran |
|  : :' :					 sgran@debian.org |
|  `. `'			Debian user, admin, and developer |
|    `-					    http://www.debian.org |
 -----------------------------------------------------------------

Attachment: pgp2IpceEeH8_.pgp
Description: PGP signature


Reply to: