Bluehost.com Web Hosting $6.95

Re: Postfix + LDAP + Transport Maps

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


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-27-2004
Magnus Bäck
 
Posts: n/a
Default Re: Postfix + LDAP + Transport Maps

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0