|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Deives (dmichell
geobrasil.com.br)Date: Tue Apr 02 2002 - 12:47:27 CST
Can somebody help me?
I set up a postfix 1.1.4 machine running a content-filter in the SMTPd
and using virtual transport looking up at a LDAP server. The problem is
I can't get postfix to stop relaying...
Help please!!!
That's my master.cf
smtp inet n - n - - smtpd
-o content_filter=filter:filter
...
filter unix - n n - - pipe
flags=Rq user=mailfilt argv=/usr/bin/cont-filter -f ${sender}
${recipient}
(it's our own content filter... hand-made :)
--- That's my main.cf mailbox_transport = virtual transport_maps = hash:/etc/postfix/transport ... mynetworks_style = host mynetworks = 127.0.0.0/8 smtpd_client_restrictions = permit_mynetworks, check_relay_domains smtpd_recipient_restrictions = permit_mynetworks, check_relay_domainsHow can I pass to the Content Filter the client IP? Or how can I get postfix to check relay BEFORE passing control to the content filter? I can post from any machine in my internal net (10.1.0.x), but this configuration should be accepting relay only from localmachine...
Any suggestions???
--
Deives Michellis dmichell
geobrasil.com.br Geo do Brasil - Group Engineering Opus Rua Tácito de Almeida nº 254 - Sumaré Fone: (11) 3871-9591 - To unsubscribe, send mail to majordomo
postfix.org with content (not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]