This is a discussion on Re: Postfix + LDAP + Transport Maps within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Monday, September 27, 2004 at 12:23 CEST, James Wilson <james.wilson77@gmail.com> wrote: > I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Monday, September 27, 2004 at 12:23 CEST,
James Wilson <james.wilson77@gmail.com> wrote: > I have Postfix and LDAP working like a charm. However we have a > customer requirement to route messages based on the mailHost attribute > in each user. This works. However when sending mail out of the > environment, destined to an external address. Mail loops... I've > tried using relayhost, static transport has files as well as the LDAP > entry. Can someone point out what I'm sure is a blatent mistake :) Show logs of this, or otherwise describe it in greater detail. Loops take place when two hosts don't agree on whose responsibility it is to do the final delivery of a message. [...] > Relay host is empty as this stange, and /etc/postfix/transport contains= : >=20 > * smtp:xxx.xxx.xxx.xxx <--- where xxx is a valid IP :) This must be: * smtp:[xxx.xxx.xxx.xxx] > I can post more contents of my contents if that would help.. >=20 > Each LDAP user has an attribute such as: >=20 > mailHost smtp:10.10.10.10 This address must also be enclosed in brackets. Hint: You can use result_filter to avoid having to store the "smtp:" in LDAP. Read ldap_table(5). result_filter =3D smtp:%s or result_filter =3D smtp:[%s] --=20 Magnus B=E4ck magnus@dsek.lth.se |