> > >> >> I need to write a script to scan the queue to be alerted before the >> mails start to bounce back. > > That is what "delay_warning_time" is for.
Thanks. for my case, my postfix server is the relay server. once the relay server cannot connect to the relayhost listed in relay server main.cf, It cannot send out the email to the delay_notice_recipient under this situation. Is there a way that I can run a command or script to do the job instead of using delay_warning_time? Thanks. Tom