10 msgheader check question
12 msgverify parameters
4 msgConfigure postfix in big env
2 msgenvelope sender '<>' via uucp gets rewrit...
2 msgSpam filtering only for specific email accounts
3 msgPostfix 2.4 to 2.5: smtp(d)_tls_session_cache_d...
15 msgQuestion about 'standards' WRT BATV and SAV
7 msgmy solution to fight backscatter email
2 msgAUTO: Joe Grastara is out of the office (return...
12 msgQ about sender_dependent_relayhost_maps inbound...
16 msgMilter Suggestions
9 msgTransport table and postmap
3 msgArchiving e-mail?

Error 550: unable to relay
\ Dirk Moolman (8 May 2008)
. \ Victor Duchovni (8 May 2008)
. . \ Dirk Moolman (8 May 2008)
. . . \ Victor Duchovni (8 May 2008)
. . . \ Dirk Moolman (8 May 2008)
. . . . \ Victor Duchovni (8 May 2008)
. . . . . \ Dirk Moolman (9 May 2008)
. . . . . . \ Victor Duchovni (9 May 2008)

1 msgFW: new subject
13 msgTLS handshake error
6 msgSeperating SMTP and POP/IMAP services
3 msgTest 2
1 msgTesting
12 msg[Fwd: ldap users & aliases config]
Subject:Re: Error 550: unable to relay
Group:Postfix-users
From:Victor Duchovni
Date:9 May 2008


 
On Fri, May 09, 2008 at 10:51:49AM +0200, Dirk Moolman wrote:

> >The domain "agilitytech.co.za" is not configured for local delivery.
> >The relayhost you have configured is not accepting mail for this domain.
> >So, you must not route mail for this domain to that host. Postfix did
> >not choose this relay for you by default. Your configuration explicitly
> >overrides default routing to cause this. Fix your (mystery)
> >configuration.
>
> Yes, you are right, the following is set in the main.cf:
>
> relayhost=[128.20.64.142]

Actually it is [172.20.64.142], which is an RFC 1918 private address,
somewhere on your network. I am not psychic and have no idea which
domains it is responsible for and whether it is a suitable *outbound* relay.

If you only want *inbound* mail to go there, set.

relay_transport = relay:[172.20.64.142]

NOT

relayhost = [172.20.64.142]

and add the apppriate domains to "relay_domains".

>
> Must a change be made on the relay server, or is there something I can
> do on my side to allow these mails to go through ?

I am not psychic. What is the right outbound relay for your system? Where
are the mailboxes for the (agilitytech.co.za) domain stored? Is this your
domain or someone else's?

>
> postconf -n
> mailbox_size_limit = 0

Unwise. Choose a sensible limit.

> masquerade_classes = envelope_sender, header_sender, header_recipient
> masquerade_domains =
> masquerade_exceptions = root

Unnecessary with an empty masquerade list (which is good).

> relayhost = [172.20.64.142]

See above.

> sender_canonical_maps = hash:/etc/postfix/sender_canonical

Don't use this. Use smtp_generic_maps where appropriate.

> setgid_group = maildrop

Is this a Postfix-only group? These days "postdrop" is preferred to make
that more clear.

> smtpd_recipient_restrictions =
> permit_mynetworks,reject_unauth_destination

Not too much by way of anti-spam... Is this system handing mail from
the Internet?

> smtpd_sender_restrictions = hash:/etc/postfix/access
> transport_maps = hash:/etc/postfix/transport

Do describe your problem in more detail. What role does your system
play. What is the role of the relayhost, which domains are yours,
which external, ...

--
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?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.


© 2004-2008 readlist.com