I’d like to build a smtp Proxy with nginx (v1.8.0) and postfix
Somehow I’m stuck with the following problem:
smtp_auth login plain cram-md5;
==> a) My mail client can authenticate (IP:yy.yyy.yy.yy), send email
receive email (imap) - even with tls
connect from nginx_prox.de[xx.xxx.xx.xx]
b) But no emails from others are received - obviously
has to authenticate!!
==> creates an open relay!
In Postfix, I have set: smtpd_authorized_xclient_hosts = xx.xxx.xx.xx
What I’d like to achive is the current postfix behaviour:
- Receive emails from every Sender
- Only authorized users can send emails from outside the Network
Help is appreciated… I found bits and pieces in the Forum and other
- but nothing seems to be consistent…
Posted at Nginx Forum: