Running Postfix 2.7.x I have set delay_warning_time to 4 hours, but
was wondering if it is possible to send out two or more bounce messages
about a delayed message?

What I am aiming for is, that if a message can not be delivered to the
destination, then Postfix will inform the sender immediately, or close
to immediately, about it. Then later on, if the message gets delivered
before max query_time is reached, sends a confirmation to the user,
that the message now have been delivered to the destination.

I have tried to find the answer by searching the net and reading man
pages but without any luck, since I do not really know what to search
for, so any pointers will be greatly appreciated.

Thanks



If need be, a postconf -n from the server:
---
alias_maps = hash:/etc/aliases

bounce_template_file = /etc/postfix/bounce.cf

broken_sasl_auth_clients = yes

config_directory = /etc/postfix

delay_warning_time = 4

disable_vrfy_command = yes

inet_interfaces = all

maximal_queue_lifetime = 15

myhostname = <removed>

mynetworks = 127.0.0.0/8

recipient_canonical_classes = envelope_recipient

recipient_canonical_maps = hash:/etc/postfix/pfix-no-srs.cf,
tcp:127.0.0.1:10002

relay_domains = proxy:mysql:/etc/postfix/relay_domains.cf

relay_recipient_maps =
proxy:mysql:/etc/postfix/relay_recipient_maps.cf

sender_canonical_classes = envelope_sender

sender_canonical_maps =
hash:/etc/postfix/pfix-no-srs.cf, tcp:127.0.0.1:10001

smtp_tls_security_level = may

smtp_tls_session_cache_database =
btree:$data_directory/smtp_tls_session_cache

smtpd_data_restrictions =
   reject_unauth_pipelining
   reject_multi_recipient_bounce
   permit

smtpd_helo_required = yes

smtpd_recipient_restrictions =
   permit_mynetworks
   permit_sasl_authenticated
   reject_unauth_destination
   warn_if_reject reject_invalid_helo_hostname
   warn_if_reject reject_non_fqdn_helo_hostname
   warn_if_reject reject_non_fqdn_sender
   warn_if_reject reject_non_fqdn_recipient
   warn_if_reject reject_unknown_sender_domain
   warn_if_reject reject_unknown_recipient_domain
   warn_if_reject reject_rbl_client truncate.gbudb.net
   check_policy_service unix:private/spfcheck
   permit

smtpd_sasl_auth_enable = yes

smtpd_sasl_exceptions_networks = $mynetworks

smtpd_sasl_path = private/auth

smtpd_sasl_security_options = noanonymous

smtpd_sasl_type = dovecot

smtpd_tls_ask_ccert = yes

smtpd_tls_cert_file = /etc/ssl/self-signed/smtpd.crt

smtpd_tls_key_file = /etc/ssl/self-signed/smtpd.key

smtpd_tls_loglevel = 1

smtpd_tls_received_header = yes

smtpd_tls_security_level = may

smtpd_tls_session_cache_database =
btree:$data_directory/smtpd_tls_session_cache

tls_random_source = dev:/dev/urandom

transport_maps = hash:/etc/postfix/transport

virtual_alias_maps =
proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf

virtual_gid_maps =
static:5000 virtual_mailbox_base = /home/vmail

virtual_mailbox_domains =
proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf

virtual_mailbox_maps =
proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf

virtual_minimum_uid = 5000

virtual_transport = dovecot

virtual_uid_maps = static:5000

---

Reply via email to