J. Pablo Fernández writes:

Hello,
A lot of spam is sent with the From: field specifying an address in one
of the various domains that my Courier MTA serves. Since many are sent
to addresses that don't exists

According to the headers you posted, the message was addressed to an address that certainly exists.

                               I get an error back to an address in my
server that doesn't exists, which in turn generates an error which the
postmaster, that would be me, receives. Or at least, that's what I
understand of the issue.
Is there any way to avoid this?

There's nothing to avoid. What's happening is not what you think is happening. The spam message already came with a spam-generated Delivered-To: header, which is bogus, and Courier bounced it, thinking that the message was already delivered and this is a mail loop. It's the return address that does not exist.

Courier does not validate if the return address exists. What you should do is set up an SPF record in your DNS, and turn on SPF checking in Courier, so it will simply refuse to receive any mail supposedly from your domain. This will not affect your ability to use the server to send your own mail, provided that you use authenticated SMTP.

Attachment: pgp5dVr9ycWfh.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to