autoreply postfix

Erik Nørgaard norgaard at locolomo.org
Sat Jun 10 18:20:49 UTC 2006


Rodrigo Mufalani wrote:

>   I want configure postfix autoreply, for undelivery mails
> 
> If one user does not exists.

The short advice: do not.

In the case you mention, user does not exist, your postfix should give a
5XX error back to the sending system. That system will then take care of
error response to the sender.

Secondly, by sending error messages whether to the one in the "MAIL
FROM" envelope field or (possibly worse) to the one in any of the
"reply-to", "from" or "return-path" mail header fields you will get
problems with spam which often forge these fields:

1) In case the recipient of the error message exist, it is likely not
the one who should have your error message.

2) In the case the recipient does not exist, this causes a double-
bounce, the error message cannot be delivered and is returned to the
postmaster mailbox - which is you.

A correctly configured server should only generate error messages to
local users when a local user's mail-delivery fails. This is already
done by postfix when a delivery attempt results in an 5XX error code.

Cheers, Erik
-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4128 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060610/0ceaa1f2/smime.bin


More information about the freebsd-questions mailing list