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.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th March 2006, 09:29
sbecker sbecker is offline
Junior Member
 
Join Date: Mar 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation UebiMiau locks out after server receives email

Like another user on here, I cannot receive email. I think it maybe a seperate issue though, because the mail is being delivered into the file, but UebiMiau locks up and wont let me in!

I have setup a VPS server using the Perfect Debian 3.1 setup. Then installed ISPConfig. I have DNS configured for one domain at Everydns.net to point to my server. I created a site and a user, and from that user, sent an email to my standard gmail email address, which I received. I responded from there to test receiving email.

Now when I try to login to UebiMiau it locks up for like a minute and I eventually get an error: "Login error - You cannot login with the username and password entered. Please check your username and password and try again."

I am using the same username and password which worked the first time! I tried it with two seperate accounts and confirmed UebiMiau locks a user out up as soon as an email is received for a user.

Mail is being put into /var/mail/web1_sbecker. The email is making it to the server, because I can see it in the file! But it seems that as soon as something is in the inbox, I can no longer login to UebiMiau.

Here are the last few lines of my /var/log/mail.log

Code:
Mar 23 23:34:47 server1 ipop3d[10059]: Mailbox vulnerable - directory /var/mail must have 1777 protection
Mar 23 23:34:47 server1 ipop3d[10059]: Login user=web1_sbecker host=vps [127.0.0.1] nmsgs=2/2
Mar 23 23:34:47 server1 ipop3d[10059]: Command stream end of file while reading line user=web1_sbecker host=vps [127.0.0.1]
Mar 23 23:39:49 server1 ipop3d[10059]: Mailbox vulnerable - directory /var/mail must have 1777 protection
Mar 23 23:49:06 server1 ipop3d[10420]: pop3 service init from 127.0.0.1
Mar 23 23:54:08 server1 ipop3d[10420]: Mailbox vulnerable - directory /var/mail must have 1777 protection
Mar 23 23:54:08 server1 ipop3d[10420]: Login user=web1_sbecker host=vps [127.0.0.1] nmsgs=2/2
Mar 23 23:54:08 server1 ipop3d[10420]: Command stream end of file while reading line user=web1_sbecker host=vps [127.0.0.1]
Mar 23 23:59:10 server1 ipop3d[10420]: Mailbox vulnerable - directory /var/mail must have 1777 protection
netstat -tap output:

Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:imaps                 *:*                     LISTEN     6524/inetd
tcp        0      0 *:pop3s                 *:*                     LISTEN     6524/inetd
tcp        0      0 vps:mysql               *:*                     LISTEN     12800/mysqld
tcp        0      0 *:pop3                  *:*                     LISTEN     6524/inetd
tcp        0      0 *:imap2                 *:*                     LISTEN     6524/inetd
tcp        0      0 *:www                   *:*                     LISTEN     8137/apache2
tcp        0      0 *:81                    *:*                     LISTEN     8103/ispconfig_http
tcp        0      0 *:ftp                   *:*                     LISTEN     8904/proftpd: (acce
tcp        0      0 server1.electroi:domain *:*                     LISTEN     8267/named
tcp        0      0 vps:domain              *:*                     LISTEN     8267/named
tcp        0      0 *:ssh                   *:*                     LISTEN     4088/sshd
tcp        0      0 *:smtp                  *:*                     LISTEN     11051/master
tcp        0      0 vps:953                 *:*                     LISTEN     8267/named
tcp        0      0 *:https                 *:*                     LISTEN     8137/apache2
tcp        0     52 server1.electrointe:ssh 148-103.35-65.tamp:3511 ESTABLISHED10305/0
my /etc/postfix/main.cf (domain changed to xyz.net)

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname = server1.xyz.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = server1.xyz.net, localhost.xyz.net, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
Here are my ISPConfig email settings:

MTA Type: Postfix
Virtuser File: /etc/postfix/virtusertable
Sendmail CW: /etc/postfix/local-host-names
Mail Log: /var/log/mail.log
Save Log: No
Maildir: No
Antivirus-Admin: admispconfig@localhost
Spamfilter: Yes

Also, I did not install Courier-IMAP/Courier-POP3, should I have done this?

I would appreciate your help please!
Reply With Quote
Sponsored Links
  #2  
Old 24th March 2006, 20:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Please run
Code:
chmod 1777 /var/mail
and try again.
__________________
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 25th March 2006, 00:00
sbecker sbecker is offline
Junior Member
 
Join Date: Mar 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It works! I could smack myself, that seems so obvious. I'd just never seen chmod 1777 before. Thanks!

Scott
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
Can't receive email mzo Installation/Configuration 17 3rd November 2011 15:59
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30
Can the squirrelmail webserver different then email server? ejkeebler Server Operation 2 4th November 2005 19:28


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


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