I have a Centos 5.3 box running Postfix 2.3.3. It is setup to run incoming emails thru Policyd-Weight, Amavisd, then forward to my exchange server.
If the Exchange server goes offline, the linux box will bounce all incoming emails as undeliverable. How can I setup Postfix so that is queues those emails, then delivers them when Exchange is back online? ---------- main.cf changes ---------- smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes default_process_limit = 600 minimal_backoff_time = 60 maximal_backoff_time = 240 queue_minfree = 80000000 smtp_helo_timeout = 20s smtp_quit_timeout = 30s smtp_mail_timeout = 20s smtp_rcpt_timeout = 20s smtpd_helo_required = yes biff=no disable_vrfy_command = yes smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, # reject_unknown_recipient_domain, permit_mynetworks, reject_unauth_destination, reject_unauth_pipelining, check_recipient_access pcre:/etc/postfix/recipient_checks.pcre, check_sender_access hash:/etc/postfix/sender_checks, check_client_access hash:/etc/postfix/client_checks, check_policy_service inet:127.0.0.1:12525, # check_policy_service inet:127.0.0.1:10023, permit smtpd_data_restrictions = reject_unauth_pipelining, permit ---------- master.cf changes ---------- smtp inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes -o smtpd_proxy_filter=127.0.0.1:10024 -o smtpd_proxy_timeout=200 127.0.0.1:10025 inet n - - - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions=permit_mynetworks -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes