Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs
I have a question. If i don't want to use quota in postfix (becuse only i use my server and i don't need no quota), can i simply skip the point that describes how to apply quota patch to postfix and quota exceedance notifications?
I think so. You might also have to modify the Postfix configuration files.
On the other hand, it doesn't really hurt if your Postfix supports quota. ;)
Well, I set up everything that is described in Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV) howto.
And everything works great, except one thing:
I can't connect to my mailserver with for example mozilla thunderbird mail client from any another computer. It says that password is wrong, and even courierpop3login says:
Jan 6 22:10:07 lintvern courierpop3login: LOGIN FAILED, ip=[::ffff:220.127.116.11]
But I have the right password, I am pretty sure about that.
Is there anything else I should enable?
Even if I start:
# telnet localhost 110
Connected to localhost.com.
Escape character is '^]'.
+OK Hello there.
+OK Password required.
It says Login Failed
But I can check mail with mutt and there is no problem.
What if I install Qpopper?
Will everything work all-right then?
I have done the check of authmysqlrc, and everything is ok (no spaces or brackets). I've restarted all /etc/init.d/courier* and postfix, but still pop3 login doesn't work.
Is it ok, that MYSQL_SERVER in localhost, or should it be sth. else? What about ownership of authmysqlrc and authdaemonrc? I have them set to daemon:daemon. Is this ok?
Is there anything else to check or replace?
Hope to hearing from you soon,
Is there anything else than
Are you sure you're using the correct username (must be an email address) and password?
Did you follow the tutorial to the letter? Maybe you made a typo somewhere?
Sorry...I've completely forgot to use login username as firstname.lastname@example.org :)
But now my syslog says:
Jan 7 11:54:57 lintvern courierpop3login: Connection, ip=[::ffff:18.104.22.168]
Jan 7 11:54:57 lintvern courierpop3login: chdir "home/vmail": No such file or directory
Anyway, I have another question. What if someone sends e-mail to root or some other users from /etc/aliases. Should I put all users from /etc/aliases to forwardings table?
If someone sends mails to users from /etc/aliases, these mails will get delivered as described in /etc/aliases. Postfix can distinguish between system users and virtual users.
I've even tried to send e-mail from telnet:
telnet localhost 25
250-AUTH LOGIN PLAIN
354 End data with <CR><LF>.<CR><LF>
250 Ok: queued as 5BC8A2EB7D
And /var/log/mail.log says:
Jan 7 12:37:32 lintvern postfix/smtpd: connect from localhost.localdomain[127.0.0.1]
Jan 7 12:38:41 lintvern postfix/smtpd: BA2582EB71: client=localhost.localdomain[127.0.0.1]
Jan 7 12:39:01 lintvern postfix/cleanup: BA2582EB71: message-id=<20060107114457.5BC8A2EB7D@lintvern.net>
Jan 7 12:39:01 lintvern postfix/qmgr: BA2582EB71: from=<email@example.com>, size=367, nrcpt=1 (queue active)
Jan 7 12:39:02 lintvern amavis: (02552-03) lookup_sql: 2006, MySQL server has gone away
Jan 7 12:39:02 lintvern amavis: (02552-03) NOTICE: Disconnected from SQL server
Jan 7 12:39:02 lintvern amavis: (02552-03) TROUBLE in check_mail: creating_partsdir FAILED: DBD::mysql::st execute failed: MySQL server has gone away at (eval 38) line 238, <GEN17> line 8481.
Jan 7 12:39:02 lintvern amavis: (02552-03) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20060106T215628-02552
Jan 7 12:39:02 lintvern postfix/smtp: BA2582EB71: to=<firstname.lastname@example.org>, relay=127.0.0.1[127.0.0.1], delay=51,
status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=02552-03, creating_partsdir FAILED: DBD::mysql::st execute failed: MySQL server has gone away at (eval 38) line 238, <GEN17> line 8481. (in reply to end of DATA command))
Jan 7 12:39:06 lintvern postfix/smtpd: disconnect from localhost.localdomain[127.0.0.1]
Hope this will help in any kind of way.
|All times are GMT +2. The time now is 16:55.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.