This is a discussion on SMTP authentication postfix within the mailing.postfix.users forums, part of the Mail Servers and Related category; hi, I had configured smtp authentication in postfix mailserver. the postfix version which am using is postfix 2.2 and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
hi,
I had configured smtp authentication in postfix mailserver. the postfix version which am using is postfix 2.2 and for smtp authentication i use cyrus-sasl 2.1 version And i had configured my client in MS outlook. There was a option in MS Outlook that my outgoing(SMTP) server requires authentication. If i select this option in my outlook,and when i try to send mail from any user it is prompting for password.By giving the password i can able to send mail. But when i de-select the option in Outlook ie. my outgoing(SMTP) server requires authentication. its not asking for password so that any user can send mail to my mailserver. Could anyone plz say how to restrict the unknown sender to send mail, or if any unknown sender tries to send mail it must prompt for password. This is my configuration paramters [root@experts ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 fallback_relay = $mydomain html_directory = no inet_interfaces = all mail_owner = postfix mailbox_command = /usr/bin/procmail mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = 151.2.119.150 mydomain = linux.com myhostname = experts.linux.com mynetworks = 151.2.0.0/16, 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES relay_domains = $mydestination sample_directory = /usr/share/doc/postfix-2.2.10/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname smtpd_sasl_security_options = noanonymous unknown_local_recipient_reject_code = 550 |
|
|||
|
Andhu, check this:
http://www.postfix.org/SASL_README.html#server_sasl Seems to me that you're allowing your LAN to send email without authentication. Check if you have something like this: smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination Remove permit_mynetworks |
|
|||
|
ya thanks, i resolved that issue,thanks for our reply
Noel Vargas wrote: > Andhu, check this: > http://www.postfix.org/SASL_README.html#server_sasl > > Seems to me that you're allowing your LAN to send email without > authentication. Check if you have something like this: > > smtpd_recipient_restrictions = > permit_mynetworks > permit_sasl_authenticated > reject_unauth_destination > > Remove permit_mynetworks |
![]() |
| Thread Tools | |
| Display Modes | |
|
|