Brane F. Gračnar
October 24, 2011 10:12AM
On Monday 24 of October 2011 14:02:15 Juergen Gotteswinter wrote:
> Hi,
>
> i already googled, but unfortanly i wasnt able to find a example for
> nginx smtp proxy configuration. i wanted to setup as a simple smtp proxy
> in front of a sendmail daemon.


This one works for me:

mail {

auth_http localhost:9090/cgi-bin/auth;
server {
listen [a:b:c::d]:25;

# this is SMTP proxy!
protocol smtp;
smtp_capabilities "PIPELINING" "SIZE 10240000" "VRFY" "ETRN" "ENHANCEDSTATUSCODES" "8BITMIME" "DSN";

server_name maili2.prod.interseek.com;

proxy on;
proxy_timeout 30;
proxy_pass_error_message on;

# only if upstream supports XCLIENT
xclient on;

smtp_auth none;
so_keepalive on;


}
}

Brane

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX SMTP Proxy

JG October 24, 2011 08:04AM

Re: NGINX SMTP Proxy

Andrew Alexeev October 24, 2011 09:04AM

Re: NGINX SMTP Proxy

JG October 24, 2011 09:16AM

Re: NGINX SMTP Proxy

Brane F. Gračnar October 24, 2011 10:12AM

Re: NGINX SMTP Proxy

Maxim Dounin October 24, 2011 10:18AM

Re: NGINX SMTP Proxy

Brane F. Gračnar October 24, 2011 06:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 270
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