Pierre Girard: > Hello, > I have a relocated file in place and once in a while I have to add > new addresses to it. When I do I send an email to confirm that > everything is working correctly, just to be sure. Is there a way to do > that check without actually sending en email? > > In this particular case I have > us...@example.com us...@example.net > > and both are on the same server and delivered to the same mailbox which > means the recipient will receive the test message if there's something > not correctly configured and I would prefer to avoid that if possible.
Use "sendmail -bv" for testing without sending mail, also discussed at http://www.postfix.org/ADDRESS_REWRITING_README.html#debugging Wietse NAME sendmail - Postfix to Sendmail compatibility interface ... -bv Do not collect or deliver a message. Instead, send an email report after verifying each recipient address. This is useful for testing address rewriting and routing configurations. This feature is available in Postfix version 2.1 and later.