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.
Thread Tools Display Modes
Old 6th November 2007, 12: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


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 :
virtual_maps = hash:/etc/postfix/virtusertable
And my virtusertable contains at least a line where :
user@domain.com web4_user

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

Thank you
Reply With Quote
Sponsored Links
Old 6th November 2007, 12:45
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,655 Times in 4,464 Posts

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
Old 7th November 2007, 11:22
backeyes backeyes is offline
Junior Member
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Thank you till !

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


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 00:10.

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