# SMTP or POP3 Authentication

**URL:** <https://www.ruby-forum.com/t/smtp-or-pop3-authentication/207507>\
**Category:** NGINX\
**Created:** [May 27, 2011, 6:17am UTC](https://www.ruby-forum.com/t/smtp-or-pop3-authentication/207507 "2011-05-27T06:17:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [May 27, 2011, 6:17am UTC](https://www.ruby-forum.com/t/smtp-or-pop3-authentication/207507/1 "2011-05-27T06:17:27Z")

</div>

I am trying to use smtp connection for an email marketing software and  
would like to use smtp or pop3, but I am not sure where to start. I have  
mailauth.pm in /root/auth/ but I am not sure if that is write. If the  
previous is correct, is this also correct in nginx.conf:

mail { auth\_http 127.0.0.1:80/auth; pop3\_capabilities “TOP” “USER”;  
smtp\_auth plain login; server { listen 110; protocol pop3; proxy on; }  
}

If none of the above is correct, can you point me in the write direction  
or documentation on how to accomplish this? Thanks.

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [May 27, 2011, 10:11am UTC](https://www.ruby-forum.com/t/smtp-or-pop3-authentication/207507/2 "2011-05-27T10:11:27Z")

</div>

On Fri, May 27, 2011 at 12:17:10AM -0400, Parker, Joshua wrote:

> I am trying to use smtp connection for an email marketing software and would  
> like to use smtp or pop3, but I am not sure where to start. I have mailauth.pm in  
> /root/auth/ but I am not sure if that is write. If the previous is correct, is  
> this also correct in nginx.conf:
> 
> mail { auth\_http 127.0.0.1:80/auth; pop3\_capabilities “TOP” “USER”;  
> smtp\_auth plain login; server { listen 110; protocol pop3; proxy on; } }
> 
> If none of the above is correct, can you point me in the write direction or  
> documentation on how to accomplish this? Thanks.

nginx can not work as SMTP or POP3 server, it can only proxy connections  
to real mail servers.

–  
Igor S.
