Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st October 2008, 21:31
MiniMe MiniMe is offline
Senior Member
 
Join Date: Oct 2008
Posts: 104
Thanks: 4
Thanked 5 Times in 4 Posts
Unhappy Problems with postfix vs IMAP / POP3

Hi All,

ihave found the following howto page : http://www.howtoforge.net/perfect-server-opensuse11

I have followed this howto for installing my own mailserver system.

However, i cannot login via POP3 to my mailbox.

I use the defailt mailbox delivery method ( so /var/mail/user ).

My question to you is: How do i now add a mailuser ?

In my mail client i get the following errors :

Account: 'mail.evil-hannie.eu', Server: 'mail.evil-hannie.eu', Protocol: POP3, Response from server: '-ERR chdir Maildir failed', Port: 995, Secured(SSL): Yes, Servererror: 0x800CCC90, Errornumber: 0x800CCC92

The server has closed the connection unexpectedly. Possible causes could be problems with the server, network issues or long inactivity. Account: 'mail.evil-hannie.eu', Server: 'mail.evil-hannie.eu', Protocol: POP3, Port: 995, Secured(SSL): Yes, Errornumber: 0x800CCC0F

If you can, please point me in the right direction, i would appreciate it a lot !
Reply With Quote
Sponsored Links
  #2  
Old 22nd October 2008, 13:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

You must configure Postfix to deliver mails to Maildir because your POP3/IMAP daemon is using Maildir:

Code:
postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command ='
/etc/init.d/postfix restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd October 2008, 13:21
MiniMe MiniMe is offline
Senior Member
 
Join Date: Oct 2008
Posts: 104
Thanks: 4
Thanked 5 Times in 4 Posts
Exclamation

Hey, thanks for your help.

I will try this right now.

But if i change it like that, does a shell user have to have a Mail dir or what directory should a shell user have, in order to be able to sent / receive emails ?
Reply With Quote
  #4  
Old 22nd October 2008, 17:32
MiniMe MiniMe is offline
Senior Member
 
Join Date: Oct 2008
Posts: 104
Thanks: 4
Thanked 5 Times in 4 Posts
Default

PS a small bit out of the mail logs :

Code:
Oct 16 18:08:20 openSUSE-110-64-minimal postfix/bounce[10556]: 74DECAEC660: sender non-delivery notification: 88D1FAEC661
Oct 16 18:08:20 openSUSE-110-64-minimal postfix/qmgr[7740]: 74DECAEC660: removed
Oct 16 18:08:20 openSUSE-110-64-minimal postfix/smtp[10550]: 88D1FAEC661: to=<root@evil-hannie.eu>, relay=none, delay=0.03, delays=0.03/0/0/0, dsn=5.4.6, status=bounced (mail f$
Oct 16 18:08:20 openSUSE-110-64-minimal postfix/qmgr[7740]: 88D1FAEC661: removed
Oct 16 18:09:35 openSUSE-110-64-minimal imapd: Connection, ip=[::ffff:213.133.113.83]
Oct 16 18:09:35 openSUSE-110-64-minimal pop3d: Connection, ip=[::ffff:213.133.113.83]
Oct 16 18:09:35 openSUSE-110-64-minimal imapd: Connection, ip=[::ffff:213.133.113.83]
Oct 16 18:09:35 openSUSE-110-64-minimal pop3d: Connection, ip=[::ffff:213.133.113.83]
Oct 16 18:09:35 openSUSE-110-64-minimal postfix/smtpd[10571]: connect from worker1.sysmon.hetzner.de[213.133.113.83]
Oct 16 18:09:36 openSUSE-110-64-minimal pop3d: chdir Maildir: No such file or directory
Oct 16 18:09:36 openSUSE-110-64-minimal imapd: chdir Maildir: No such file or directory
Oct 16 18:09:36 openSUSE-110-64-minimal pop3d: chdir Maildir: No such file or directory
Oct 16 18:09:36 openSUSE-110-64-minimal imapd: chdir Maildir: No such file or directory
Update : I can send emails from within the shell ( as root for instance ) to any external mailaddress, but i cannot send mail back ...

Last edited by MiniMe; 23rd October 2008 at 00:10.
Reply With Quote
  #5  
Old 23rd October 2008, 16:17
marpada marpada is offline
Senior Member
 
Join Date: Sep 2008
Posts: 139
Thanks: 2
Thanked 14 Times in 14 Posts
Default

You are not using virtual users (that is, users created in a MySQL table) but system users, so you have to create them using useradd.

Home directory shoud be /home/$USER. Profile settings set variable MAIL to /var/mail/$USER (check /etc/profile)
________
Bondage Porn
________
BMW F800S HISTORY

Last edited by marpada; 13th May 2011 at 01:50.
Reply With Quote
  #6  
Old 23rd October 2008, 16:20
MiniMe MiniMe is offline
Senior Member
 
Join Date: Oct 2008
Posts: 104
Thanks: 4
Thanked 5 Times in 4 Posts
Post

Quote:
Originally Posted by marpada View Post
You are not using virtual users (that is, users created in a MySQL table) but system users, so you have to create them using useradd.

Home directory shoud be /home/$USER. Profile settings set variable MAIL to /var/mail/$USER (check /etc/profile)

thanks for your help !

How do i use virtual users then ? it would indeed be easier then using system users :P
Reply With Quote
  #7  
Old 23rd October 2008, 16:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Oct 16 18:08:20 openSUSE-110-64-minimal postfix/smtp[10550]: 88D1FAEC661: to=<root@evil-hannie.eu>, relay=none, delay=0.03, delays=0.03/0/0/0, dsn=5.4.6, status=bounced (mail f$
Can you post the full line? Are there any other errors in your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 23rd October 2008, 16:26
MiniMe MiniMe is offline
Senior Member
 
Join Date: Oct 2008
Posts: 104
Thanks: 4
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by falko View Post
Can you post the full line? Are there any other errors in your mail log?
Falko, i bet there are other errors yes, i will post them shortly, give me 2 minutes ! ( i'll update this post in 2 minutes )

Update, last 50 lines of /var/log/mail can be found here : http://www1.evil-hannie.eu/mail.log

Last edited by MiniMe; 23rd October 2008 at 16:29.
Reply With Quote
  #9  
Old 23rd October 2008, 16:35
marpada marpada is offline
Senior Member
 
Join Date: Sep 2008
Posts: 139
Thanks: 2
Thanked 14 Times in 14 Posts
Default

Quote:
Originally Posted by MiniMe View Post
How do i use virtual users then ? it would indeed be easier then using system users
Check other guides in this site (in fact I though all falko's guides were using virtual users )

Keep in mind virtual users are only for mail, those users won't work for ftp or other services.
________
Body Science
________
Kitchen Measures

Last edited by marpada; 13th May 2011 at 01:51.
Reply With Quote
  #10  
Old 23rd October 2008, 16:39
MiniMe MiniMe is offline
Senior Member
 
Join Date: Oct 2008
Posts: 104
Thanks: 4
Thanked 5 Times in 4 Posts
 
Thumbs up

Quote:
Originally Posted by marpada View Post
Check other guides in this site (in fact I though all falko's guides were using virtual users )

Keep in mind virtual users are only for mail, those users won't work for ftp or other services.
Thanks, thats no prob, buut is that guide also available in the Suse 11 section ? I dont remember it was in the actual server setup guide

I'll look for it though, thx !
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 12:31.


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