Well I have kind of solved everything like
if I sent mail to outside recipient using thunder-bird or MS outlook the mail is not going through,
however if I am sending mail using roundcube, which also connects on port 25, the mail is going through even to outside recipient.(can't make out the logic for this)
in my master.cf my setting are like
Code:
smtp inet n - - - - smtpd
#smtp inet n - - - 1 postscreen
#smtpd pass - - - - - smtpd
#dnsblog unix - - - - 0 dnsblog
#tlsproxy unix - - - - 0 tlsproxy
submission inet n - - - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
and setting for my main.cf are like:
Code:
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
Do I need any further changes, to work it so that on port 25 the mails cannot sent outside of my network.
Also enforce a authentication for local delivery as well.
Recent comments
3 hours 43 min ago
8 hours 35 min ago
17 hours 27 min ago
18 hours 27 min ago
22 hours 14 min ago
23 hours 28 min ago
1 day 3 hours ago
1 day 10 hours ago
1 day 19 hours ago
1 day 20 hours ago