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? postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no inet_interfaces = localhost inet_protocols = all mail_owner = postfix mailbox_command = /usr/bin/procmail mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.5.5/README_FILES sample_directory = /usr/share/doc/postfix-2.5.5/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 ________________________________________ 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 10:12 AM To: Gary Smith; postfix users list Subject: Re: Catchall not working Gary Smith wrote: > Noel, > > Thanks for the follow up (and sorry about the top post). So if I understand > the postconf.5 manual, the recipient_delimiter will strip the bounce- off the > email address and deliver it bou...@bounces.domain.tld as the originating > email address instead of bounce-user=theirdomain....@bounces.domain.tld. > > ie. deliver bounce-user=theirdomain....@bounces.domain.tld to > bou...@bounces.domain.tld and while keeping the original address of > bounce-user=theirdomain....@bounces.domain.tld intact. That's how I'm > reading how recipient_delimiter works, which is what I want it to do. Am I > understanding this correctly? If so, that's pretty easy. > Yup. That's all there is to it. -- Noel Jones