Hi,
I am trying to configure my postfix to do the following :
when received a message to :
xxx@domain.com
change the recipient to :
xxx@host.doamin.com
can't find where to do it .
Kindly assist.
Yoni
May 4 17:25:37 oim sendmail[31684]: t44LPbKA031684: from=root, size=72, class=0, nrcpts=1, msgid=<201505042125.t44LPbKA031684@localhost.localdomain>, relay=root@localhost May 4 17:25:37 oim sendmail[31685]: t44LPbSn031685: from=<root@localhost.localdomain>, size=378, class=0, nrcpts=1, msgid=<201505042125.t44LPbKA031684@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] May 4 17:25:37 oim sendmail[31684]: t44LPbKA031684: to=abc@abc.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30072, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (t44LPbSn031685 Message accepted for delivery)
mail -s "test" | /usr/sbin/mail myemail@domain.com
sendmail -v my@email.com < /dev/null