I run Postfix to handle my personal mail.  I also act as a backup MX host for 
a friend.  

To give him time to return from holiday and fix a broken Postfix installation, 
I want to keep messages for the backup domains for up to 21 days.  However, I 
want undeliverable messages for other domains to be returned to the sender 
after 3 days.  

I've tried this setup of /etc/postfix/main.cf, but it doesn't do what I want.  
If a message can't be delivered to, say some...@example.com, Postfix will 
keep trying for 21 days before giving up, and that's a bit long.  

smtpd_recipient_restrictions = permit_mynetworks permit_mx_backup \
                               reject_unauth_destination

permit_mx_backup_networks = other.com other.org
maximal_queue_lifetime = 21d
bounce_queue_lifetime = 3d

Any suggestions?

(It's Posfix 2.5.1)

Thanks,

Neil.
-- 
Neil Smith                               http://www.njae.me.uk
Milton Keynes Roleplaying Games Club  http://www.mk-rpg.org.uk

Reply via email to