On 05/10/04 13:03 +0530, Nosferatu!!! wrote: <snip>
where sendmail is the sendmail interface provided by Postfix. mymail.txt contains a valid From: field which is like my_id@yahoo.com However when I see the mailq, the sender field says: "root@localhost.localdomain"
I tried the sendmail -bs switch but it gives following message:
220 localhost.localdomain ESMTP Postfix 221 Error: I can break rules, too. Goodbye.
How do I override the root@localhost.localdomain ?
Look at the $mydomain, $myhost and $myorigin in main.cf
myhostname and myorigin.
In this case though, he need canonical maps and masquerade_domains.
Devdas Bhagat