|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
RE: Problem with relaying
From: Adrian Muhrer (Adrian.Muhrer
red-rooster.com.au)
Date: Wed Sep 22 2004 - 19:34:09 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks Victor
After reading your post I just deleted the line from transport. I added the
line in the first place when I was in the "I'll just keep changing things
till it works" mode.
What's annoying is I got the idea from an example in man transport :
my.domain :
.my.domain :
* smtp:outbound-relay.my.domain
I think I'll have to put some rules in transport anyway, because I want to
limit the people on otherdomain.com so they can only send to maindomain.com.
Is the transport file the right place?
If so, what do I use in place of 'smpt:'?
Thanks for your help so far, my hair is starting to re-grow
Adrian
-----Original Message-----
From: Victor Duchovni [mailto:Victor.Duchovni
MorganStanley.com]
Sent: Tuesday, 21 September 2004 22:36
To: 'postfix-users'
Subject: Re: Problem with relaying
On Tue, Sep 21, 2004 at 11:02:36AM +1000, Adrian Muhrer wrote:
> The postfix server (postfixserver.maindomain.com) handles the mail for
> otherdomain.com real.user
maindomain.com can send to
fnurke
otherdomain.com,
> but fnurke can't send mail back to real.user
>
> relay_domains = maindomain.com, [exchangeserver.maindomain.com]
This should be "maindomain.com, exchangeserver.maindomain.com", though
by default domains in relay_domains also match subdomains, so in practice
your setting accidentally works.
> transport_maps = hash:/etc/postfix/transport
This contains bad data:
maindomain.com smpt:exchangeserver.maindomain.com
^^
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: input attribute value:
smpt
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: send attr request =
resolve
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: send attr address =
real.user
maindomain.com
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: private/rewrite socket:
wanted attribute: transport
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: input attribute name:
transport
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: input attribute value:
smpt
There is no transport named "smpt".
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: private/rewrite socket:
wanted attribute: nexthop
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: input attribute name:
nexthop
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: input attribute value:
exchangeserver.maindomain.com
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: private/rewrite socket:
wanted attribute: recipient
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: input attribute name:
recipient
> Sep 21 10:00:05 postfixserver postfix/smtpd[5737]: input attribute value:
real.user
maindomain.com
The nexthop and recipient are fine.
> Sep 21 10:00:06 postfixserver postfix/qmgr[5684]: E76CC2873D:
> from=<fnurke
otherdomain.com>, size=644, nrcpt=1 (queue active)
> Sep 21 10:00:06 postfixserver postfix/qmgr[5684]: E76CC2873D:
> to=<real.user
maindomain.com>, relay=none, delay=1, status=deferred
> (transport is unavailable)
>
No surprise here... Perhaps the queue manager should log the name of
the unavailable transport each time. If you look further back in the
logs you will find:
Sep 21 ??:??:?? postfixserver postfix/qmgr[5684]: warning: connect to
transport smpt: ...
See http://www.postfix.org/DEBUG_README.html, this clearly recommends
reading
all warnings, errors, ... in the log.
$ egrep ': (panic|fatal|error|warning):' /var/log/maillog | less
--
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:majordomo
postfix.org?body=unsubscribe%20postfix-users>
================================================================
This email message (and any accompanying file attachments) may contain copyright, confidential or privileged information and is intended for the sole use of the addressee named above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, please notify Australian Fast Foods Pty Ltd by return email and then delete the email, destroy any printed copy and do not disclose or use the information in it. Any unauthorised review, use, alteration, disclosure or distribution of this email (including attachments) by an unintended recipient is prohibited. Any views expressed in this message are those of the individual sender, Australian Fast Foods Pty Ltd does not represent that this message or any attached files are free from computer viruses.
================================================================
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]