postfix relay_recipient_map

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

tantony
Posts: 23
Joined: Tue Sep 25, 2007 7:45 am

postfix relay_recipient_map

Postby tantony » Wed Nov 07, 2007 7:23 am

Hi,

I replaced sendmail with postfix and followed the instructions from chris.
http://www.scalix.com/wiki/index.php?ti ... te_Postfix
postfix is working great except that all incoming emails are accepted and then bounced, because postfix does not check for valid recipients with this setup described in the wiki.
Has anyone successfully created a relay_recipient_map with ldap lookup against scalix?

Thank you in advance,
Thomas

misc
Posts: 19
Joined: Tue Oct 23, 2007 1:39 am

Postby misc » Fri Nov 16, 2007 1:38 am

This is exactly what I am after as well. I am about to try and find a way to do this.

misc
Posts: 19
Joined: Tue Oct 23, 2007 1:39 am

Postby misc » Fri Nov 16, 2007 2:43 am

OK, actually what is written in the Complete Postfix howto is basically correct. Just make sure that you have something like this in your Postfix main.cf:

Code: Select all

local_recipient_maps = proxy:unix:passwd.byname $alias_maps $transport_maps

transport_maps = ldap:/etc/postfix/scalix-transport.cf


In the scalix-transport.cf file, it's the same as what's documented in the howto, except I have this line:

result_format = smtp:[127.0.0.1]:10025


And then in my /var/opt/scalix/*/s/sys/smtpd.cfg file, I have LISTEN=127.0.0.1:10025 instead of LISTEN=$FQDN:10025. I don't see any point making it listen on the real IP.

Restart Postfix then all will be good.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests

cron