Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th December 2008, 23:24
miguelpinheiro miguelpinheiro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Question Suddenly can't receive email - please help

Hi there!

I'm running ISPConfig 2.2.28 on Ubuntu 8.04 32 bit.

A few days ago I stoped from receiving any email from the domain I have with Ispconfig.
However I'm able to send email from any account.

This is the var/log/mail.log (last lines):

Code:
Dec 11 23:05:35 ks32171 postfix/anvil[30132]: statistics: max connection rate 1/60s for (smtp:206.190.38.62) at Dec 11 23:02:14
Dec 11 23:05:35 ks32171 postfix/anvil[30132]: statistics: max connection count 1 for (smtp:206.190.38.62) at Dec 11 23:02:14
Dec 11 23:05:35 ks32171 postfix/anvil[30132]: statistics: max cache size 1 at Dec 11 23:02:14
Dec 11 23:05:37 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:05:37 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[37383], protocol=IMAP
Dec 11 23:05:37 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=74, sent=684, time=0
Dec 11 23:05:54 ks32171 postfix/smtpd[31503]: connect from web50307.mail.re2.yahoo.com[206.190.38.61]
Dec 11 23:05:54 ks32171 postfix/smtpd[31503]: 7E92068C09F: client=web50307.mail.re2.yahoo.com[206.190.38.61]
Dec 11 23:05:54 ks32171 postfix/cleanup[31507]: 7E92068C09F: message-id=<386215.25565.qm@web50307.mail.re2.yahoo.com>
Dec 11 23:05:54 ks32171 postfix/qmgr[27918]: 7E92068C09F: from=<miguelpinheiro2000@yahoo.com>, size=1295, nrcpt=1 (queue active)
Dec 11 23:05:54 ks32171 postfix/local[31508]: 7E92068C09F: to=<web1_miguel@ks32171.kimsufi.com>, orig_to=<miguel@saludterapia.com>, relay=local, delay=0.5, delays=0.42/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Dec 11 23:05:54 ks32171 postfix/qmgr[27918]: 7E92068C09F: removed
Dec 11 23:05:54 ks32171 postfix/smtpd[31503]: disconnect from web50307.mail.re2.yahoo.com[206.190.38.61]
Dec 11 23:06:37 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:06:37 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42959], protocol=IMAP
Dec 11 23:06:37 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=46, sent=432, time=0
Dec 11 23:06:47 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:06:47 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42960], protocol=IMAP
Dec 11 23:06:47 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=71, sent=465, time=0
Dec 11 23:06:47 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:06:47 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42961], protocol=IMAP
Dec 11 23:06:47 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=71, sent=465, time=0
Dec 11 23:06:48 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:06:48 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42962], protocol=IMAP
Dec 11 23:06:48 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=46, sent=432, time=0
Dec 11 23:07:37 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:07:37 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42963], protocol=IMAP
Dec 11 23:07:37 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=46, sent=432, time=0
Dec 11 23:08:37 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:08:37 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42964], protocol=IMAP
Dec 11 23:08:37 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=46, sent=432, time=0
Dec 11 23:09:14 ks32171 postfix/anvil[31505]: statistics: max connection rate 1/60s for (smtp:206.190.38.61) at Dec 11 23:05:54
Dec 11 23:09:14 ks32171 postfix/anvil[31505]: statistics: max connection count 1 for (smtp:206.190.38.61) at Dec 11 23:05:54
Dec 11 23:09:14 ks32171 postfix/anvil[31505]: statistics: max cache size 1 at Dec 11 23:05:54
Dec 11 23:09:37 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:09:37 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42965], protocol=IMAP
Dec 11 23:09:37 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=46, sent=432, time=0
Dec 11 23:10:25 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:10:25 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42967], protocol=IMAP
Dec 11 23:10:25 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=71, sent=465, time=0
Dec 11 23:10:28 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:10:28 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42968], protocol=IMAP
Dec 11 23:10:28 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=76, sent=465, time=0
Dec 11 23:10:31 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:10:31 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42969], protocol=IMAP
Dec 11 23:10:31 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=71, sent=465, time=0
Dec 11 23:10:37 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 11 23:10:37 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[42970], protocol=IMAP
Dec 11 23:10:37 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=72, sent=684, time=0
Dec 11 23:10:56 ks32171 pop3d: Connection, ip=[::ffff:209.85.128.190]
Dec 11 23:10:56 ks32171 pop3d: Disconnected, ip=[::ffff:209.85.128.190]
Dec 11 23:10:56 ks32171 pop3d: Connection, ip=[::ffff:209.85.128.190]
Dec 11 23:10:56 ks32171 pop3d: LOGIN, user=web1_miguel, ip=[::ffff:209.85.128.190], port=[15906]
Dec 11 23:10:56 ks32171 pop3d: LOGOUT, user=web1_miguel, ip=[::ffff:209.85.128.190], port=[15906], top=0, retr=0, rcvd=18, sent=96, time=0
Can anyone please help me on solving this issue?

Thanks in advance guys.
Regards.

Miguel


Note: I also noticed that the .procmailrc permissions were 0644 wich caused procmail to complain (suspicious message in mail.log). I set it to 0640 and now that message is not showing anymore. Anyway I still can't receive any email.
I also notice that if I make any change regarding procmail config (in IspConfig control panel) the .procmailrc is set to 0644 again.
Is there any way to maintain the file permissions?
Reply With Quote
Sponsored Links
  #2  
Old 12th December 2008, 07:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

The file permissions that ISPConfig sets are ok, they can not be changed without programming and it is not nescessary to change them.

The mail delivery works fine according to the mail log. Please check that you enabled maildir under management > server > settings on the mail tab.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th December 2008, 09:06
miguelpinheiro miguelpinheiro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for answering till.

The maildir is checked. However, I will uncheck it, wait a couple of minutes and check it back again just in case.

I will update this thread with the results.

Apart from mail.log, is there any other way to get info on receiving emails?

Cheers.
Reply With Quote
  #4  
Old 13th December 2008, 00:59
miguelpinheiro miguelpinheiro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Till,
I rechecked - uncheck, wait a couple of minutes and check it again -Maildir option as you told me and still can't receive emails.

Here is another mail.log extract after the changes:

Code:
Dec 13 00:50:58 ks32171 imapd: LOGOUT, user=web1_miguel, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=46, sent=432, time=0
Dec 13 00:51:52 ks32171 postfix/smtpd[7323]: connect from web50309.mail.re2.yahoo.com[206.190.38.242]
Dec 13 00:51:52 ks32171 postfix/smtpd[7323]: E879868C0CB: client=web50309.mail.re2.yahoo.com[206.190.38.242]
Dec 13 00:51:53 ks32171 postfix/cleanup[7326]: E879868C0CB: message-id=<463498.38413.qm@web50309.mail.re2.yahoo.com>
Dec 13 00:51:53 ks32171 postfix/qmgr[2797]: E879868C0CB: from=<miguelpinheiro2000@yahoo.com>, size=1301, nrcpt=1 (queue active)
Dec 13 00:51:53 ks32171 procmail[7440]: Suspicious rcfile "/var/www/web1/.procmailrc"
Dec 13 00:51:53 ks32171 postfix/local[7327]: E879868C0CB: to=<web1_miguel@ks32171.kimsufi.com>, orig_to=<miguel@salud.com>, relay=local, delay=0.43, delays=0.41/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Dec 13 00:51:53 ks32171 postfix/qmgr[2797]: E879868C0CB: removed
Dec 13 00:51:53 ks32171 postfix/smtpd[7323]: disconnect from web50309.mail.re2.yahoo.com[206.190.38.242]
Dec 13 00:51:58 ks32171 imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 13 00:51:58 ks32171 imapd: LOGIN, user=web1_miguel, ip=[::ffff:127.0.0.1], port=[50131], protocol=IMAP
Dec 13 00:51:58 ks32171 imapd: LOGOUT, user=we
Any other hint?
Thanks in advance for the support.

Last edited by miguelpinheiro; 22nd December 2008 at 10:29.
Reply With Quote
  #5  
Old 13th December 2008, 17:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by miguelpinheiro View Post
Code:
Dec 13 00:51:53 ks32171 procmail[7440]: Suspicious rcfile "/var/www/web1/.procmailrc"
It seems as if there's something wrong with the permissions. What's the output of
Code:
ls -la /var/www/web1/
?
__________________
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
  #6  
Old 13th December 2008, 19:05
miguelpinheiro miguelpinheiro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Falko,
here is the result:

Code:
root@ks32171:/home/admin# ls -la /var/www/web1/

total 172636
drwxrwxrwx  9 web1_miguel web1         4096 2008-12-13 00:50 .
drwxr-xr-x  7 root        root         4096 2008-11-19 22:54 ..
-rwxrwxrwx  1 web1_miguel web1         1178 2008-11-18 02:44 .bash_history
drwxrwxrwx  2 web1_miguel web1         4096 2008-11-16 21:05 cgi-bin
-rwxrwxrwx  1 web1_miguel web1         1569 2008-11-19 20:03 configuration.php
-rw-------  1 web1_miguel web1           24 2008-12-13 00:50 .forward
drwxrwxrwx  3 web1_miguel web1         4096 2008-11-16 21:05 ftp
-rw-rw-r--  1 web1_miguel web1          142 2008-12-13 04:00 .htpasswd
-rw-r--r--  1 www-data    www-data        0 2008-11-25 23:33 joomlapack.log
drwxrwxrwx  3 web1_miguel web1         4096 2008-12-02 00:30 log
lrwxrwxrwx  1 root        root           38 2008-12-13 00:50 Maildir -> /var/www/web1/user/web1_miguel/Maildir
-rwxrwxrwx  1 web1_miguel web1            7 2008-11-18 01:01 .nano_history
drwxrwxrwx  2 web1_miguel web1         4096 2008-11-18 23:59 phptmp
-rw-r--r--  1 root        root          461 2008-12-13 00:50 .procmailrc
-rw-r--r--  1 www-data    www-data 86325617 2008-11-25 23:32 site-www.web.com-20081125-233058.jpa
-rw-r--r--  1 www-data    www-data 90206107 2008-11-25 23:36 site-www.web.com-20081125-233359.zip
lrwxrwxrwx  1 root        root           45 2008-12-13 00:50 .spamassassin -> /var/www/web1/user/web1_miguel/.spamassassin/
drwxrwxrwx  2 web1_miguel web1         4096 2008-11-16 21:05 ssl
drwxrwxrwx  5 web1_miguel web1         4096 2008-11-19 20:57 user
lrwxrwxrwx  1 root        root           46 2008-12-13 00:50 .vacation.cache -> /var/www/web1/user/web1_miguel/.vacation.cache
drwxrwxrwx 22 web1_miguel web1         4096 2008-11-25 23:27 web
Trying to solve one of my others issues (install extension in joomla) I guess I've changed the ownership of some directories/files.
However I do not remember how they were set originally...

Last edited by miguelpinheiro; 22nd December 2008 at 10:28.
Reply With Quote
  #7  
Old 14th December 2008, 14:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please run
Code:
chmod 755 /var/www/web1/
__________________
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 14th December 2008, 18:33
miguelpinheiro miguelpinheiro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
Please run
Code:
chmod 755 /var/www/web1/
It is working now!!!

Thanks alot Falko.
Reply With Quote
Reply

Bookmarks

Tags
procmail email ubuntu

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
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 03:39
Postfix won't receive external email fred!head Server Operation 2 29th June 2008 19:30
Unable to receive mail on ISPConfig configured email addresses. ahoivik Installation/Configuration 7 21st April 2008 22:56
unable to receive email from postfix/ISPconfig with Microcrap Outlook 2007 fireman71 Installation/Configuration 6 9th December 2007 16:49
Can't receive email for aliases sbecker Installation/Configuration 10 4th April 2006 16:51


All times are GMT +2. The time now is 04:13.


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