Noel, Here is what I ended with. I had to add a virtual_alias_maps as the email address is different the the one we have been sending (and because of the auth system on this box)
mydestination = $myhostname, localhost.$mydomain, localhost, hash:/etc/postfix/custom/mydestination recipient-delimiter = - virtual_alias_maps = hash:/etc/postfix/custom/virtual mailbox_command = /usr/bin/procmail mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtpunix virtual_transport = lmtp:unix:/var/lib/imap/socket/lmtpunix All of the test emails we have sent in are all going to the proper email account now with the boucen-user=theirdomain....@bounces.domain.tld in the from field (untouched which is nice). Thanks for your help. Gary ________________________________________ From: owner-postfix-us...@postfix.org [owner-postfix-us...@postfix.org] On Behalf Of Noel Jones [njo...@megan.vbhcs.org] Sent: Thursday, June 11, 2009 12:52 PM To: postfix users list Subject: Re: Catchall not working Gary Smith wrote: > Noel, > > I created a file /etc/postfix/custom/mydestination and put my entry in there > (hash) and added the following lines to /etc/postfix/main.cf > > (only changes made to a stock 2.5.5 config) > mydestination = > $myhostname,localhost.$mydomain,localhost,hash:/etc/postfix/custom/mydestination > recipient-delimiter = - > mailbox_command = /usr/bin/procmail > > For some reason, when I do a postconf -n I get the mydestination line without > the hash. I don't understand why. I probably don't need the rest of the > entries for mydestination either. I copied them from another config. > Anyway, does anyone know whey mydestination isn't seeing the > hash:/etc/postfix/custom/mydestination entry? > probably because you have mydestination defined multiple times in main.cf -- Noel Jones