tom lee: > > > > Postfix WILL send the "delayed mail" notification to the email SENDER. > > > If I set delay_warning_time for 2 day, can I see the to-be-sent mail > in the queue /var/spool/postfix/deferred? > > Another issue is that my sever blocked out-going port 25, it only > allows incoming port 25 in my firewall. > I think no mails will be sent out even after 2 days or default 5 days > for the deferred emails. > Are those emails in the queued will be removed automatically?
As required by Internet mail standards, Postfix returns non-deliverable mail to the sender (Postfix can send a copy to $bounce_notice_recipient). When the message can't be delivered to the sender, Postfix can be configured to send it to $2bounce_notice_recipient instead. This is documented. man 5 postconf | less '+/^notify_classes' Wietse