
17th March 2010, 09:35
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Does Not Work: Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMai
I've followed the instructions completely.. I'm not able to get any of my users to now login.
I get the following in my /var/log/mail.log:
Mar 13 19:05:38 kaylee imapd: Connection, ip=[::ffff:127.0.0.1]
Mar 13 19:05:38 kaylee imapd: LOGIN FAILED, user=achernow@kaylee.commanddotcom.com, ip=[::ffff:127.0.0.1]
Mar 13 19:05:43 kaylee imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=72, sent=332
The user exists in the database and has the correct password.
Help!
|

18th March 2010, 14:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Which distribution do you use?
What are the outputs of
Code:
grep achernow /etc/passwd
and
Code:
grep achernow /etc/aliases
?
|

18th March 2010, 17:27
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
Which distribution do you use?
|
Debian Lenny I believe is what's on the box.
Quote:
What are the outputs of
Code:
grep achernow /etc/passwd
and
Code:
grep achernow /etc/aliases
?
|
Do those matter if I've theoretically got the email server set up to use virtual users? The account 'achernow' already exists as a system user anyway, since that's what I'm using to log into the box.
Code:
achernow@kaylee:~$ sudo grep achernow /etc/aliases
[sudo] password for achernow:
achernow@kaylee:~$ sudo grep achernow /etc/passwd
achernow:x:1000:1000:achernow,,,:/home/achernow:/bin/bash
achernow@kaylee:~$
The username exists, as I said, in the mail database as well:
This is getting really annoying... I can get EVERYTHING else to work except for e-mail. It's like you need to be a rocket scientist or something to configure it.
|

18th March 2010, 17:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Quote:
|
This is getting really annoying... I can get EVERYTHING else to work except for e-mail. It's like you need to be a rocket scientist or something to configure it.
|
But why do you go the hard route then by configuring everything manually? It is much easier if you use a controlpanel like ispconfig where you just have to enter the email domain and address and which configures postfix for you?
http://www.howtoforge.com/perfect-se...nny-ispconfig3
|

19th March 2010, 16:30
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Quote:
Originally Posted by aic71
The account 'achernow' already exists as a system user anyway, since that's what I'm using to log into the box.
|
That is exactly the problem. When you send an email to achernow@kaylee.commanddotcom.com, it gets delivered to the system user achernow instead of the virtual user achernow@kaylee.commanddotcom.com, which means the Maildir of achernow@kaylee.commanddotcom.com isn't created, and that's why you can't log in.
|

19th March 2010, 17:18
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
|
[strike]So if I create the maildir it should be ok?[/strike]
Never mind. I re-read the part of the tutorial where you said to add the user and mail it. It seems to work from an IMAP client now...but Squirrelmail goes to a white screen after it logs in...no inbox. Not sure why.
Quote:
|
But why do you go the hard route then by configuring everything manually? It is much easier if you use a controlpanel like ispconfig where you just have to enter the email domain and address and which configures postfix for you?
|
I've had bad experiences with control panels. I'm on a sever that a friend configured right now that Error 500's every time I try to do ANYTHING in the control panel. Also it's made it hard to tweak Apache config files and php.ini files since it'll overwrite them with no notice.
Last edited by aic71; 19th March 2010 at 17:24.
|

21st March 2010, 03:53
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Quote:
Originally Posted by aic71
but Squirrelmail goes to a white screen after it logs in...no inbox. Not sure why.
|
Please make sure you introduced no PHP syntax error when you edited the config.php file of the change_sqlpass plugin.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 20:12.
|
|
Recent comments
18 hours 50 min ago
23 hours 55 min ago
1 day 4 hours ago
1 day 6 hours ago
1 day 20 hours ago
1 day 20 hours ago
2 days 1 hour ago
2 days 8 hours ago
2 days 8 hours ago
2 days 10 hours ago