[TriLUG] postfix is driving me nuts

Timothy A. Chagnon tchagnon at futeki.net
Wed Jun 22 12:25:57 EDT 2005


Guys,

I spent most of yesterday trying to get postfix configured the way I
want it, but it never quite works right. I've gone through about 20
different configurations trying different things, so I'll just describe
the scenario I'm trying to create.  I'm not a mail server admin, and
don't want to be.  This should have been a quick thing and I'm spending
way too much time on it already.

I've got a bunch of systems that I want to act as null-clients (i.e. no
incoming mail from other systems, just forward local mail to my
smtp.bigorg.tld relay).  Most of these system are NAT behind one with a
public address and have phony, non-resolvable names like host1.local. 
The relay requires mail from these systems in the From: header to have a
resolvable @domainname.tld.  I have myorg.tld DNS entry which resolves
to to NAT proxy, so I think setting

myorigin = myorg.tld

should allow all hosts to contact & send to the relay via NAT.  The
problem is that I when I do this, even doing `/bin/mail -s test root`
skips the local daemon and thus doesn't catch my root: real at other.tld
alias.  I've tried adding $myorigin to mydestinations, but that doesn't
help.  I need to use /etc/postfix/aliases or another method to map root
and user accounts to their real addresses so they can get mail from a
couple daemons that send to user or user@`hostname`.  

At this point I've read through most of the postfix docs and am so
confused from trying with transport_maps, relay_domains, canonical, etc.

Hope someone has some ideas.

TIA,
Tim
-- 
Timothy A. Chagnon
Linux, how do I love thee?
Let me count the ways:
while(1){count++;}




More information about the TriLUG mailing list