On Sat, 25 Dec 2004 20:28, [EMAIL PROTECTED] wrote: > Have got procmail, fetchmail, postfix all working well with mutt sending & > receiving mail, but am stuck on one thing. With sendmail it has a SMARTHOST > feature where the domain on all outgoing mail was changed to my email > address domain (in this case "planetnz.com"). > > How does postfix do this? Have spent the last 2 hours reading man pages, > googling, fiddling with the main.cf file in /etc/postfix with no luck! > > Any ideas? /etc/postfix/main.cf on my machine says:-
# SENDING MAIL # # The myorigin parameter specifies the domain that locally-posted # mail appears to come from. The default is to append $myhostname, # which is fine for small sites. If you run a domain with multiple # machines, you should (1) change this to $mydomain and (2) set up # a domain-wide alias database that aliases each user to # [EMAIL PROTECTED] # #myorigin = $myhostname #myorigin = $mydomain ymmv -- Sincerely etc., Christopher Sawtell
