LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2010, 12:26 AM   #1
achilies
LQ Newbie
 
Registered: Nov 2009
Location: Hyderabad, India
Posts: 10

Rep: Reputation: 0
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...
 
Old 05-19-2010, 03:22 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
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.
 
Old 05-19-2010, 04:08 AM   #3
achilies
LQ Newbie
 
Registered: Nov 2009
Location: Hyderabad, India
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 05-19-2010, 04:15 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Oh just seen something from your post, if you send mail to yourself from anywhere you will be able to receive it.
 
Old 05-19-2010, 05:08 AM   #5
achilies
LQ Newbie
 
Registered: Nov 2009
Location: Hyderabad, India
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 05-19-2010, 05:12 AM   #6
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
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 ?
 
1 members found this post helpful.
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix smtp authentication problem ssilayaraja Linux - Server 0 08-07-2009 06:39 AM
Little help about SMTP authentication bukich Linux - Software 1 11-04-2006 11:11 AM
SMTP authentication problem Xman1177 Linux - Software 0 11-28-2005 04:39 PM
smtp authentication ashfaq Linux - Software 1 02-25-2004 01:59 AM
SMTP Authentication msmith7735 Linux - Software 1 11-26-2002 05:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration