Welcome! Log In Create A New Profile

Advanced

Nginx - SMTP no authentication

Anto binish Kasoar
October 09, 2009 07:58PM
Hi friends,

Please help me to configure SMTP without authentication on ngnix. I have
even applied the patch, which is given in this url
http://www.ruby-forum.com/topic/187018#new . I am running postfix in the
same server and ngnix mail is running in the 225, my configuration looks
like this


mail {
# proxy_pass_error_message on;
auth_http http://127.0.0.1:8080/mail/auth;
xclient off;

server {
listen 225;
protocol smtp;
smtp_auth plain;
}
}

http {
access_log /var/log/nginx/access.log;

server
{
listen 127.0.0.1:8080;
server_name localhost;

location = /mail/auth {
add_header Auth-Status OK;
add_header Auth-Server 127.0.0.1;
add_header Auth-Port 22;
return 200;

}
}

}

is there anything wrong with my configuration? when i am tring to telnet
to sever to the port 225, i am getting the following

telnet mailserver 225
220 mailserver ESMTP ready
helo
501 5.5.4 Invalid argument
mail from:test@test.com
530 5.7.1 Authentication required


Thanks,
Anto Binish Kaspar
E.C Software
--
Posted via http://www.ruby-forum.com/.
Subject Author Posted

Nginx - SMTP no authentication

Anto binish Kasoar October 09, 2009 07:58PM

Re: Nginx - SMTP no authentication

Maxim Dounin October 10, 2009 06:34AM

Re: Nginx - SMTP no authentication

tstianzy March 22, 2013 12:10AM

Re: Nginx - SMTP no authentication

dominus.ceo March 27, 2015 08:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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