Re: How to hide the -outgoing address?

[email protected] (Dave Dewey)
Newsgroups gmane.mail.majordomo.general
Message-ID <[email protected]>
Quoting Ralf Glauberman ([email protected]):

> So, how can i either get around the test-outgoing address completely
> or tell md not to mention this address?

You can't get around the -outgoing address, although you can give it a
different name.  This is what I did, to prevent spammers (or anyone else)
mailing to the -outgoing alias.  Replace the outgoing alias in the examples
with your own, of course.  This works in modern postfixes.  I don't remember
when 'discard' appeared, but anything post-2.0 should be fine and possibly
some older ones.  

In main.cf:
header_checks = regexp:/etc/postfix/header_checks

In header_checks:
/^To: [email protected]/ DISCARD
/^To: [email protected]/ DISCARD


dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.