LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   smtp authentication problem (https://www.linuxquestions.org/questions/linux-software-2/smtp-authentication-problem-808500/)

achilies 05-18-2010 12:26 AM

smtp authentication problem
 
Hi all,

I'm using postfix server on fc8.I implemented smtp authentiction on postfix server.I googled and i followed these steps.

Edit /etc/postfix/main.cf, find the keys below and change its values as follows or add it at the bottom of the file.

mynetworks = 192.168.0.10, 192.168.0.13, 192.168.0.18, 192.168.0.22 127.0.0.0/8
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
broken_sasl_auth_clients = yes

After this i restarted postfix server.

Then I logged from other network with my ip from out look express with out user account and password, i've sent a mail to my mail id. I was able to receive the mail. For the first time its asking for username and password there i've entered my user name and password, then i logged out. After half an hour i again tried its not asking for username and password, its directly sending the mail. How can restrict this & how can i enable the authentication process.

Can any one suggest me.

Thanks in advance...

datopdog 05-19-2010 03:22 AM

It is possible that you are sending from a host in one of these network ranges 192.168.0.10, 192.168.0.13, 192.168.0.18, 192.168.0.22 127.0.0.0/8.

Those hosts are allowed to relay mail without authentication.

achilies 05-19-2010 04:08 AM

Hi,

I'm not sending mail from the 192.168.0.10,192.168.0.13,192.168.0.18,192.168.0.22,127.0.0.0/8 these networks, i've sent the message from the other network its not in the above range, its totally different.

datopdog 05-19-2010 04:15 AM

Oh just seen something from your post, if you send mail to yourself from anywhere you will be able to receive it.

achilies 05-19-2010 05:08 AM

Hi datopdog,

when i was trying to send a mail from other network,i was able to send mail with out login any user account. Even my mail server also receiving mail without asking authentication. How can resolve this.

datopdog 05-19-2010 05:12 AM

are you able to send mail to email addresses that are not hosted by the server (in other words relaying) without authentication ? Can you send to a gmail address for example without authentication ?


All times are GMT -5. The time now is 10:19 AM.