I try it for two days later... Can you help me what's wrong?

mynetworks = 127.0.0.1, mysql:/etc/postfix/pbsp.cf smtpd_sender_restrictions
= permit_mynetworks, permit_tls_all_clientcerts

--
Jan PAVLIK
[EMAIL PROTECTED], [EMAIL PROTECTED]
mobil +42 0777/555730
ICQ 6611951
ROOTSHELL.CZ - Make it easy and better!



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Jeff Brenton
Sent: Tuesday, February 18, 2003 4:10 PM
To: Jan Pavlík
Subject: Re[2]: [Dbmail] Reprise: POP-Before-SMTP and Postfix


Hello Jan,

JP> I have this solution too and working pop3 & imap with stunnel.. But 
JP> pop3-before-smtp doesn't work, because stunnel make new connection 
JP> to dbmail and dbmail receive localhost (127.0.0.1) address and set 
JP> it in mySQL to relay.

If the client is using stunnel to send mail as well as retrieve it, then you
only need to have 127.0.0.1 listed in $mynetworks in Postfix. This assumes
that only a legitimate client would be able to establish an stunnel
connection...

POP-before-SMTP is only necessary (or desirable) when you have no other way
to authenticate the client who needs to relay. In my case, anything sent
over a VPN connection will appear as a private network address
(192.168.x.x), so those ranges are explicitely named in $mynetworks, with
the pbsp authentication listed LAST.

-- 
Jeff Brenton
President,
Engineered Software Products, Inc
http://espi.com
Questionable web page: http://dididahdahdidit.com

Liberalism grants you the freedom to advocate any idea*.
 * Please see http://www.dididahdahdidit.com/except.php for a
   current list of exceptions

_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to