On Wed, Apr 15, 2009 at 01:36:44PM -0400, Shelley Waltz wrote:

> master.cf
> 
> smtp      inet  n       -       n       -       -       smtpd
> pickup    fifo  n       -       n       60      1       pickup
> cleanup   unix  n       -       n       -       0       cleanup
> # Amavisd-new Mail/Virus Scanning daemon
> smtp-amavis unix -      -       n       -       4  lmtp
>     -o lmtp_data_done_timeout=1200
>     -o lmtp_send_xforward_command=yes

Fine.

>     -o disable_dns_lookups=yes
>     -o max_use=20

I would leave these two out, the first is unnecessary, and the second
is generally not beneficial.

> 127.0.0.1:10025 inet n  -       n       -       -  smtpd
>     -o 
> receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
>     -o local_header_rewrite_clients=

This looks OK, rewriting is not disabled.


> # postconf -n
> masquerade_domains = !master2.cabm.rutgers.edu !raven.cabm.rutgers.edu 
> !heron.cabm.rutgers.edu cabm.rutgers.edu

This looks OK, show unedited (consistent localpart mangling is OK, if you
mangle consistently, DO NOT modify the domainpart) logging for a message
that did not get masqueraded, and the envelope and headers as sent and as
received. You never did mention which hostname failed to be masqueraded.

> max_use = 10

Generally not required.

> mydestination = $myhostname, localhost.$mydomain, nmrlab.$mydomain, $mydomain
> mydomain = cabm.rutgers.edu
> myhostname = roadrunner.cabm.rutgers.edu
> mynetworks = 192.76.178.0/24 128.6.56.128/25 127.0.0.0/8
> myorigin = $mydomain

This should be sufficient to masquerade the hosts under "cabm.rutgers.edu"
that not (in or) the exception sub-domains.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to