Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Sending mail through C language Nginx

$
0
0
Hello friends;

Nginx configuration done on the e-mail. How do I send e-mail out of Nginx in C programming language.

C and 25 port data is sent to be enough?

I'd love you show me the way.


Sample Nginx STMP Conf.

mail {
auth_http 127.0.0.1:8025/; # This is the URL to GoGuerrilla's http service which tells Nginx where to proxy the traffic to
server {
listen 15.29.8.163:25;
protocol smtp;
server_name ak47.example.com;

smtp_auth none;
timeout 30000;
smtp_capabilities "SIZE 15728640";

# ssl default off. Leave off if starttls is on
#ssl on;
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
# TLS off unless client issues STARTTLS command
starttls on;
proxy on;
}
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>