We reject mail coming into our mail server that is not an approved address, so I have a cron job that gets the list of approved addresses twice an hour, updates the relay_recipients file that we use with relay_recipients_maps, and then reload postfix.
We had a case the other morning where someone sent email to an address that is in our relay_recipient_maps file, but it came in at the same second that the reload of the maps file was being done. As a result, it was rejected with a "User unknown in relay recipient table" message in the log file. The script just does: * Copy in new relay_recipients file * postmap relay_recipients * postfix reload Is there a better way to do this? Should I stop postfix completely during this time? Will putting the queue on hold avoid this problem, or do I need to stop Postfix completely from responding? Thanks, Brian -- Brian Sebby (se...@anl.gov) | Infrastructure and Operation Services Phone: +1 630.252.9935 | Computing and Information Systems Fax: +1 630.252.4601 | Argonne National Laboratory