SMTP authentication postfix

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 ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-04-2008
Andhu
 
Posts: n/a
Default SMTP authentication postfix

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
Reply With Quote
  #2 (permalink)  
Old 04-07-2008
Noel Vargas
 
Posts: n/a
Default Re: SMTP authentication postfix

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
Reply With Quote
  #3 (permalink)  
Old 4 Weeks Ago
Andhu
 
Posts: n/a
Default Re: SMTP authentication postfix

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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:17 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0