NGINX SMTP Proxy
Maxim Dounin
mdounin at mdounin.ru
Mon Oct 24 14:16:19 UTC 2011
Hello!
On Mon, Oct 24, 2011 at 03:58:33PM +0200, Brane F. Gračnar wrote:
> 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";
The "PIPELINING" here may be problematic, as out of the box nginx
*doesn't* support SMTP pipelining.
Maxim Dounin
>
> 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
More information about the nginx
mailing list