Hi, I'm using postfix SMTP server and I'm rewriting sender and recipient addresses. From the postfix logs, I can see the recipient address rewriting logs,
Sep 12 17:23:32 rewritehost postfix/smtp[1223]: 28A6701362: to=<em...@domain.com>, *orig_to*=<em...@domain2.com>, relay=relay.host[xxx.xxx.xxx.xxx]:25, delay=56, delays=51/0/4.5/0, dsn=2.0.0, status=sent (250 Message accepted for delivery) Here, I sent an email to em...@domain2.com, but then it is getting a rewrite by postfix and then email is sent to em...@domain.com ( basically I understand recipient rewrite happened) Similarly, I need to enable the logs for sender rewrite. I made the following change in /etc/postfix/master.cf file cleanup unix n - - - 0 cleanup -v and it showed long verbose logs how cleanup daemon does the sender recipient rewrite.But I do not want to enable verbose mode. Thanks.