On Fri, 25 Feb 2005 19:17:17 +1100, Doug Laidlaw wrote:
> I have installed Postfix on Mandrake 10.1, with the settings recommended by
> R.P. Goldman at http://rpgoldman.real-time.com/linux/postfix-linux.html
> designed specifically for Mandrake. Among his settings he recommends
> setting myorigin to be isp.net, so that my emails will appear to be from
> (E-Mail Removed) and less likely to be rejected as bogus.
That is what I did to get past some postmaster rules.
> According to a posting on a SuSe list, the result of this is to make root's
> emails go in the mail queue to (E-Mail Removed), so the ISP gets them,
> regardless of any aliases saying that root's emails should go to my user
> inbox.
Right or wrong, What works for me on a lan node,
To /etc/postifx/virtual, adding
root root@localhost
postmaster postmaster@localhost
bittwister bittwister@localhost
$ postmap virtual
$ grep root: aliases
root: bittwister
$ postalias aliases
Appended to main.cf
myorigin = wb.home.invalid
myhostname = wb.home.invalid
mydomain = home.invalid
mynetworks = 127.0.0.0/8, 192.168.2.0/24
relay_domains =
relayhost = 192.168.2.1
inet_interfaces = $myhostname, localhost
virtual_alias_maps = hash:/etc/postfix/virtual
On the firewall/WAN node, which talks to my ISP's mail server
# my appended changes to main.cf
myorigin = comcast.net
myhostname = fw.home.invalid
mydomain = home.invalid
mynetworks = 192.168.1.0/24, 127.0.0.0/8
mydestination = $myhostname localhost.$mydomain localhost
relayhost = smtp.comcast.net
relay_domains = $mydomain
inet_interfaces = $myhostname, localhost
# swap linux users into my ISP eamil users and vice versa
sender_canonical_maps = hash:/etc/postfix/canonical_sender
recipient_canonical_maps = hash:/etc/postfix/canonical_recipient
Snippet from canonical_sender
(E-Mail Removed) (E-Mail Removed)
(E-Mail Removed)lid
(E-Mail Removed)
(E-Mail Removed)lid
(E-Mail Removed)
(E-Mail Removed)lid
(E-Mail Removed)
root
(E-Mail Removed)
$ postmap canonical_sender
cat virtual
root
(E-Mail Removed)
$ postmap virtual