Stephen, > I'm using a postfix/courier/amavis/spamassassin/squirrelmail/mysql with > virtual domains in a db. I have a vacation program from High5 so as mail > comes in postfix does the look up to the aliases table which looks like > this: > satkins at skircr dot com -> satkins at skircr dot com > -> vacation at localhost > and the mailbox table holds: > satkins at skircr dot com, maildir/ > > The problem is when the message is forwarded to amavis it goes in with two > addresses and when it quarantines the message to a bsmtp it has two lines > of rcpt to. This doesn't work well with amavisnewsql and I'm at a complete > lose as to how to get it so it will either create bsmtp file for each > recipient or at least get rid of the vacation address.
This is rather a Postfix question. My guess is that you are mapping recipient address to two addresses by a virtual map, not by aliases map, which is only applied at the last stage by a local delivery agent. If this is true, you have a choice to let Postfix apply virtual map before or after a content filter, or both before and after, which is a default. See README.postfix and search for: TO DO 'VIRTUAL ALIAS' MAPPING AND OTHER CLEANUP PROCESSING BEFORE OR AFTER CONTENT FILTERING? Mark ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
