Mark Constable writes:

I have a 3rd party app that produces a reply-to address like this...

[email protected]

What would be the best alias method to land this in the mailbox of
[email protected]? If not an alias, any possible workarounds like pipe
to command or smtp/rcptfilter suggestions?

Well, $sysconfdir/aliasdir/.courier-default will receive all mail for nonexistent mailboxes. You could use that to look at the original recipient, and redirect it accordingly.

Of course, that now means that Courier will accept all mail. It should be possible to set up $sysconfdir/aliasdir/.mailfilters/rcptfilter-default, and do some work there.

But the best course of action is to wrap that third party app, somehow, and change the return address to use dashes instead of pluses. That would make things much easier.

Attachment: pgpHyui0CRZQr.pgp
Description: PGP signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to