LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-12-2010, 12:01 AM   #1
andy2008
Member
 
Registered: Nov 2010
Posts: 40

Rep: Reputation: 2
Postfix SASL authentication (UNIX accounts) problem


Hi all, I'm using postfix with unix accounts for a while now and I just realized today that SASL authentication, instead of working only with the USERNAME, it also works if the username is followed by ANYDOMAIN.COM

So, let's say I have the following UNIX users: tim, mike, john.
If I set the Outgoing Username: tim@whatever.com, mike@whatever.com, john@whatever.com (where whatever.com can be any name you can think of) IT WORKS, even though it shouldn't, it should only work with tim, mike and john without any domain name.

Does anyone know what might cause this and what's the workaround to this problem?
 
Old 11-12-2010, 12:20 AM   #2
abhandari
LQ Newbie
 
Registered: Dec 2008
Location: NP
Posts: 28

Rep: Reputation: 1
Thumbs up

Quote:
Originally Posted by andy2008 View Post
Hi all, I'm using postfix with unix accounts for a while now and I just realized today that SASL authentication, instead of working only with the USERNAME, it also works if the username is followed by ANYDOMAIN.COM

So, let's say I have the following UNIX users: tim, mike, john.
If I set the Outgoing Username: tim@whatever.com, mike@whatever.com, john@whatever.com (where whatever.com can be any name you can think of) IT WORKS, even though it shouldn't, it should only work with tim, mike and john without any domain name.

Does anyone know what might cause this and what's the workaround to this problem?
Boss,
Go for Sendmail Auth. It works better than postfix:
here is the link where u can get much more ideas.
http://www.ispexperts.com.np/?page_id=449
Enjoy.
 
Old 11-12-2010, 12:43 AM   #3
andy2008
Member
 
Registered: Nov 2010
Posts: 40

Original Poster
Rep: Reputation: 2
Thanks for the suggestion! But I prefer not to mess with a perfectly working and tested setup, especially since I have hundreds of users.

So, is there a solution for my postfix + saslauthd setup to ONLY allow the UNIX username to login ?
 
Old 11-12-2010, 01:00 AM   #4
andy2008
Member
 
Registered: Nov 2010
Posts: 40

Original Poster
Rep: Reputation: 2
Well, never mind ! I found the solution, in fact I knew it all along. I configured postfix to authenticate through dovecot and now it only allows the USERNAME without anything else.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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, Dovecot, SASL - problem with authentication in Thunderbird / Outlook dlugasx Linux - Server 2 11-19-2009 02:31 AM
[SOLVED] SASL and TLS authentication problem in Postfix Mogget Linux - Server 1 03-31-2009 08:12 AM
Postfix + SASL Authentication problem on Ubuntu Server 8.04 beusekom Linux - Server 3 11-14-2008 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:01 AM.

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