Guy wrote: > 2009/7/15 Guy <wyldf...@gmail.com>: > >> Is there some way to get sendmail to use an alternate config file? >> I've tried the -C option with a main.cf that includes the >> virtual_alias_maps but had no success. >> > > I've just tried the -oA option. My sendmail command now looks like this: > sendmail -t -oAmysql:/etc/postfix/mysql_virtual_alias_maps.cf -f > envelope_sen...@mydomain.com > > I'm still getting the message bounced as an unknown user although > testing that alias file with postmap returned the result properly. > > Is there something more needed to get the mysql alias map to be read > correctly? > > First, cleanup(8) is responsible for address lookup/rewriting from the pickup queue. Changing sendmail(1)'s parameters won't do anything.
Second, we need some more concrete examples in order to help. Logs, 'postconf -n' and other tips in http://www.postfix.org/DEBUG_README.html#mail will help us help you. (Replace your domain with example.(com|net|org) if you like) Brian