December 18, 2015 02:08PM
Hello,

I'd like to build a smtp Proxy with nginx (v1.8.0) and postfix (v2.9.6) on Debian7.

Somehow I'm stuck with the following problem:

1) Configuration1:
smtp_auth login plain cram-md5;
xclient on;

==> a) My mail client can authenticate (IP:yy.yyy.yy.yy), send email and receive email (imap) - even with tls
mail.log:
connect from nginx_prox.de[xx.xxx.xx.xx]
client=unknown[yy.yyy.yy.yy], sasl_method=XCLIENT, sasl_username=my_username

b) But no emails from others are received - obviously everybody has to authenticate!!

2) Configuration2:
smtp_auth none;
xclient on;

==> 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:
1) Receive emails from every Sender
2) Only authorized users can send emails from outside the Network

Help is appreciated... I found bits and pieces in the Forum and other places - but nothing seems to be consistent...

Thanks,
Norbert
Subject Author Posted

smtp proxy with postfix

Cugar15 December 18, 2015 02:08PM

Re: smtp proxy with postfix

Cugar15 December 19, 2015 08:43AM

Re: smtp proxy with postfix

Cugar15 December 19, 2015 11:41AM

Re: smtp proxy with postfix

B.R. December 19, 2015 11:46AM

Re: smtp proxy with postfix

Cugar15 December 19, 2015 01:37PM

Re: smtp proxy with postfix

itpp2012 December 19, 2015 01:46PM

Re: smtp proxy with postfix

Cugar15 December 19, 2015 03:30PM

Re: smtp proxy with postfix

itpp2012 December 19, 2015 03:49PM

Re: smtp proxy with postfix

Cugar15 December 19, 2015 04:17PM

Re: smtp proxy with postfix

itpp2012 December 19, 2015 05:29PM

Re: smtp proxy with postfix

Cugar15 December 20, 2015 12:09PM

Re: smtp proxy with postfix

Cugar15 December 20, 2015 02:00PM

Re: smtp proxy with postfix

Cugar15 December 30, 2015 08:20AM

Re: smtp proxy with postfix

Maxim Dounin December 30, 2015 10:06AM

Re: smtp proxy with postfix

Cugar15 December 30, 2015 10:49AM

Re: smtp proxy with postfix

Maxim Dounin December 30, 2015 10:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 267
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready