HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   E-Mail _without_ courier and activating maildir (http://www.howtoforge.com/forums/showthread.php?t=2893)

jokuleo 5th March 2006 17:11

E-Mail _without_ courier and activating maildir
 
Hi, first I would like to thank you for this great control panel. I really would like to contribute something but this has to wait, until I got some things done.

Now the problem:
Quote:

Mar 5 12:06:57 mobi postfix/postfix-script: starting the Postfix mail system
Mar 5 12:06:58 mobi postfix/master[1404]: daemon started -- version 2.1.5
Mar 5 15:40:10 mobi ipop3d[4130]: pop3 service init from 127.0.0.1
Mar 5 15:40:10 mobi ipop3d[4130]: Command stream end of file while reading line user=??? host=localhost [127.0.0.1]
Thatīs not really new in this forum, I found several postings regarding mail failures, but it seems that as a conclusion for most mail problems you propose the installation of courier and the activation of maildir. But I really would like to keep the possibility for setting the mailquotas. With courier and maildir it works without any problems, but using ipopd and imapd is not possible. Uebimiau and a "real" mailclient (I only tested Outlook) give both the "command stream end of..." message in /var/log/mail.log. I installed using the perfect debian sarge setup five times on different computers and got the same error over and over again. First I thought it was caused by using debootstrap for installation to have a minimal system but even with using the installer cd and following the setup instructions extremely careful, nothing but "You cannot login with the username and password entered." from Uebimiau and a failure message from Outlook (Iīm going to post it later).

Hereīs my netstat -tap, I think youīll see that ;)

Quote:

tcp 0 0 *:imaps *:* LISTEN 1019/inetd
tcp 0 0 *:pop3s *:* LISTEN 1019/inetd
tcp 0 0 localhost:mysql *:* LISTEN 1072/mysqld
tcp 0 0 *:pop3 *:* LISTEN 1019/inetd
tcp 0 0 *:imap2 *:* LISTEN 1019/inetd
tcp 0 0 *:www *:* LISTEN 1295/apache2
tcp 0 0 *:81 *:* LISTEN 1262/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 1441/proftpd: (acce
tcp 0 0 mobi.home:domain *:* LISTEN 1426/named
tcp 0 0 localhost:domain *:* LISTEN 1426/named
tcp 0 0 *:ssh *:* LISTEN 1227/sshd
tcp 0 0 localhost:953 *:* LISTEN 1426/named
tcp 0 0 *:smtp *:* LISTEN 1404/master
tcp 0 0 *:https *:* LISTEN 1295/apache2

till 5th March 2006 19:52

ISPConfig works fine with nbox format and i have some installations with this combination.

Have you send a test email to the account before you tried to fetch it with pop3?

After yo send the test email, did you get any errors in your mail log?
Did the mail end in a mbox file in /var/spol/mail with the name of the email user?

jokuleo 5th March 2006 20:32

OK, I set up another server, because some of my problems were caused by misconfigured and mixed up local Domains like home.lan and home without .lan (Iīm trying a lot at the moment with different computers)... The things are working much better and yes, the test mail ends up in the /var/spool/mail/user file. I used Thunderbird and Outlook to fetch the mail and now they want to connect, but there is kind of an authentication failure. Here the /var/log/mail.log:

Quote:

Mar 5 19:17:57 server ipop3d[2923]: pop3s SSL service init from 84.176.43.89
Mar 5 19:18:15 server ipop3d[2923]: AUTHENTICATE PLAIN failure host=p54B02B59.dip0.t-ipconnect.de [84.176.43.89]
Mar 5 19:18:18 server ipop3d[2923]: AUTHENTICATE LOGIN failure host=p54B02B59.dip0.t-ipconnect.de [84.176.43.89]
Mar 5 19:18:26 server ipop3d[2923]: Command stream end of file while reading line user=user@domain.tld host=p54B02B59.dip0.t-ipconnect.de [84.176.43.89]
Thunderbrid tells me: "Sending of password did not succeed. Mail server domain.tld responded: Bad login".
Uebimiau same as before: "You cannot login with the username and password entered. Please check your username and password and try again."

It is NOT my CAPSLOCK or a similar problem :-). The password I enter is the same that I used in ISPConfig. I tried several times...

till 5th March 2006 20:36

Please try to connect with pop3, not pop3s to verify the basic configuration first.

Please check /etc/password and /etc/shadow if the mailuser has been correctly created.
Make sure you use the correct username (webX_user) and not the email address to login.

Which linux distribution do you use?

falko 5th March 2006 20:38

I recommend to use Courier instead of ipop3d. Maildir is the better format comapared to mbox.
However, if you want to stick with ipop3d: did you reboot your server? Maybe that helps.

jokuleo 5th March 2006 21:06

The user is in both files. I created another one -> shows up in both files -> same problem...

Using POP3 and not POP3s I get from Thunderbird: "Sending of password did not succeed. Mail server domain.tld responded: Unknown AUTHORIZATION state command"

/var/log/mail.log is

Quote:

Mar 5 19:56:17 server ipop3d[4464]: pop3 service init from 84.176.43.89
Mar 5 19:56:18 server ipop3d[4464]: AUTHENTICATE LOGIN failure host=p54B02B59.dip0.t-ipconnect.de [84.176.43.89]
Mar 5 19:56:22 server ipop3d[4464]: Command stream end of file while reading line user=??? host=p54B02B59.dip0.t-ipconnect.de [84.176.43.89]
Same message postfix logs when trying with Uebimiau.

The daemons and stuff is running...

Iīm using Debian Sarge and followed the "perfect debian setup".

Another question: What about getting maildir working with mail quotas? ;)

jokuleo 5th March 2006 23:28

@falko

I really would like to use maildirs (as I described, an installation with courier was no problem at all, everything worked wonderful), but if I got the forums right, the quota-function of the mailbox will then disappear (and yes, it really happens :(). Thatīs not THAT bad, but I really would like to have mail and webspace NOT get checked together.

till 5th March 2006 23:41

Which username have you used in thunderbird?

The error you posted occurs if you use the email address as useranme instead of the correct username in the format "web1_username".

jokuleo 6th March 2006 12:48

So, I have to use the mail address when using Uebimiau and the username when connecting with a local mail client? Good to know! Nevertheless thatīs not the problem here. I tried every combination of name, username, mail address and even some bad words ;). The system keeps telling me the same message.

Iīm now going through all the config files again, but (donīt get me wrong) is it possible that I have to change something of the perfect setup when NOT using courier ? As I said above: Just installing courier causes everything to work as expected! I changed nothing more than the maildir option...

By the way thanks for your help :) - thatīs real support!

falko 6th March 2006 12:53

Quote:

Originally Posted by jokuleo
Iīm now going through all the config files again, but (donīt get me wrong) is it possible that I have to change something of the perfect setup when NOT using courier ? As I said above: Just installing courier causes everything to work as expected! I changed nothing more than the maildir option...

I've had this problem with ipop3d myself, but not on all installations. And I know that lots of other people have this ipop3d problem, too. Sometimes it's working, sometimes not. Unfortunately I don't know why it's doing this. But I'm using Courier and am quite happy with it. :)


All times are GMT +2. The time now is 08:55.

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