Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th November 2007, 11:42
backeyes backeyes is offline
Junior Member
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix authentification and virtusertable

Hello,

It's been a long time i'm using ISPConfig and i'm now pretty familiar with it. But i never found the answer of this problem :

When i create a user for a given domain, i can log in with postfix and i can retrieve emails with this username (for example) :
username : web4_user
password : user password

But i never figured out how to log in with "user@domain.com" instead of "web4_user". I'd like to log in with these one :
username : user@domain.com
password : user password

I found that my main.cf contains this line at the end :
Quote:
virtual_maps = hash:/etc/postfix/virtusertable
And my virtusertable contains at least a line where :
Quote:
user@domain.com web4_user

So why can't i log in with "user@domain.com" ?
When i try, postfix logs is saying :
Quote:
localhost courierpop3login: LOGIN FAILED, ip=[::ffff:xx.xx.xx.xxx]

Thank you
Reply With Quote
Sponsored Links
  #2  
Old 6th November 2007, 11:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

The postfix authentication is done trough sasl, the virtusertable file is not involved in the process. SASL authenticates against /etc/passwd and all users in /etc/passwd are in the format web4_user.

To authenticate with the email address, have a look in the tipps & tricks forum, you will find there descriptions for achievibg this with courier and dovecot and postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th November 2007, 10:22
backeyes backeyes is offline
Junior Member
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thank you till !

I'll have a look at tipps & tricks forum
Reply With Quote
Reply

Bookmarks

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

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

Forum Jump


All times are GMT +2. The time now is 03:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.