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
  #11  
Old 17th July 2007, 19:26
Jammer4774 Jammer4774 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did the commands as requested falko.
emails are still going into the mboxes, evidently:
before test email
Code:
djccc-server-lin:/var/spool/mail # ls -l
total 63496
-rw------- 1 admispconfig mail        0 2007-04-19 15:03 admispconfig
-rw------- 1 web2_admin   mail    60437 2007-06-28 23:51 web2_admin
-rw------- 1 web2_christy mail        0 2007-07-16 17:19 web2_christy
-rw------- 1 web2_duck    mail  1260728 2007-07-17 11:29 web2_duck
-rw------- 1 web2_jammer  mail 63248005 2007-07-17 12:05 web2_jammer
-rw------- 1 web2_sales   web2    90632 2007-07-17 11:29 web2_sales
-rw------- 1 web3_jamie   web3        0 2007-05-03 18:22 web3_jamie
-rw------- 1 web5_gerry   mail        0 2007-07-16 17:19 web5_gerry
-rw------- 1 web5_jamie   web5   262574 2007-07-17 11:28 web5_jamie
-rw------- 1 web5_jim     mail        0 2007-07-16 17:19 web5_jim
after test email
Code:
djccc-server-lin:/var/spool/mail # ls -l
total 63496
-rw------- 1 admispconfig mail        0 2007-04-19 15:03 admispconfig
-rw------- 1 web2_admin   mail    60437 2007-06-28 23:51 web2_admin
-rw------- 1 web2_christy mail        0 2007-07-16 17:19 web2_christy
-rw------- 1 web2_duck    mail  1261566 2007-07-17 12:23 web2_duck
-rw------- 1 web2_jammer  mail 63248847 2007-07-17 12:23 web2_jammer
-rw------- 1 web2_sales   web2    90632 2007-07-17 11:29 web2_sales
-rw------- 1 web3_jamie   web3        0 2007-05-03 18:22 web3_jamie
-rw------- 1 web5_gerry   mail        0 2007-07-16 17:19 web5_gerry
-rw------- 1 web5_jamie   web5   262574 2007-07-17 11:28 web5_jamie
-rw------- 1 web5_jim     mail        0 2007-07-16 17:19 web5_jim
do I need to restart the server? I would have thought that restarting postfix would be enough

*EDIT* I restarted server, and still am not recieving any email that I can get to

Last edited by Jammer4774; 17th July 2007 at 21:37.
Reply With Quote
Sponsored Links
  #12  
Old 18th July 2007, 08:43
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,424
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Please disable the maildir checkbox in ISPConfig under management > server settings, then wait a few minutes and enable it again, so ISPConfig rewrites the config files.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 18th July 2007, 22:44
Jammer4774 Jammer4774 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default still nothing

unchecked maildir, waited 10 minutes, and checked it again. 15 minutes later, still no emails
Reply With Quote
  #14  
Old 18th July 2007, 22:50
Jammer4774 Jammer4774 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

at this point, would it be easier to switch evrything over to the mbox style? I need the ability to grab emails with thunderbird, but as i understand them, don't need folder ability.
Reply With Quote
  #15  
Old 19th July 2007, 09:55
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,424
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Please post an excerpt of the ISPConfig logfile: /home/admispconfig/ispconfig/ispconfig.log

Do you get any errors in this logfile?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #16  
Old 19th July 2007, 23:32
Jammer4774 Jammer4774 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default log

No errors - lots on INFO and a couple WARN:
Code:
18.07.2007 - 15:28:03 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u web2_admin 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:03 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u web2_admin 604800 604800 -a &> /dev/null
18.07.2007 - 15:28:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.$
18.07.2007 - 15:28:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 113: symlink /srv/www/web2/Maildir
18.07.2007 - 15:28:05 => INFO - USER:
web2_jammer:x:10002:10002:James Clanton:/srv/www/web2/user/web2_jammer:/bin/bash
18.07.2007 - 15:28:05 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u web2_jammer 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:05 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u web2_jammer 604800 604800 -a &> /dev/null
18.07.2007 - 15:28:05 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.$
18.07.2007 - 15:28:06 => INFO - USER:
web2_duck:x:10003:10002:Daniel Fitzgerald:/srv/www/web2/user/web2_duck:/bin/bash
18.07.2007 - 15:28:06 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u web2_duck 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:06 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u web2_duck 604800 604800 -a &> /dev/null
18.07.2007 - 15:28:06 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.$
18.07.2007 - 15:28:07 => INFO - USER:
web2_sales:x:10004:10002:sales account:/srv/www/web2/user/web2_sales:/bin/false
18.07.2007 - 15:28:07 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u web2_sales 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:07 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u web2_sales 604800 604800 -a &> /dev/null
18.07.2007 - 15:28:07 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.$
18.07.2007 - 15:28:08 => INFO - USER:
web3_jamie:x:10009:10003:James Clanton:/srv/www/web3:/bin/bash
18.07.2007 - 15:28:09 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u web3_jamie 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:09 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u web3_jamie 604800 604800 -a &> /dev/null
18.07.2007 - 15:28:09 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.$
18.07.2007 - 15:28:09 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 113: symlink /srv/www/web3/Maildir
18.07.2007 - 15:28:10 => INFO - USER:
web5_jamie:x:10010:10005:James Eugene Clanton:/srv/www/web5:/bin/bash
18.07.2007 - 15:28:10 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u web5_jamie 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:10 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u web5_jamie 604800 604800 -a &> /dev/null
18.07.2007 - 15:28:10 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.$
18.07.2007 - 15:28:10 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 113: symlink /srv/www/web5/Maildir
18.07.2007 - 15:28:11 => INFO - USER:
web5_jim:x:10011:10005:James Ervin Clanton:/srv/www/web5/user/web5_jim:/bin/false
18.07.2007 - 15:28:11 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u web5_jim 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:11 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u web5_jim 604800 604800 -a &> /dev/null
18.07.2007 - 15:28:11 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.$
18.07.2007 - 15:28:12 => INFO - USER:
web5_gerry:x:10012:10005:Geraldine Clanton:/srv/www/web5/user/web5_gerry:/bin/false
18.07.2007 - 15:28:12 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u web5_gerry 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:12 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u web5_gerry 604800 604800 -a &> /dev/null
18.07.2007 - 15:28:12 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.$
18.07.2007 - 15:28:13 => INFO - USER:
web2_christy:x:10013:10002:Christy:/srv/www/web2/user/web2_christy:/bin/false
18.07.2007 - 15:28:13 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u web2_christy 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:13 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.$
18.07.2007 - 15:28:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-host-names /e$
18.07.2007 - 15:28:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtusertable /etc/$
18.07.2007 - 15:28:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
18.07.2007 - 15:28:15 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1230: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apa$
18.07.2007 - 15:28:16 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1891: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig$
18.07.2007 - 15:28:16 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1926: WARNING: could not groupadd -g 12002 web2_anonftp &> /dev$
18.07.2007 - 15:28:16 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1927: WARNING: could not useradd -d /srv/www/web2/ftp -g web2_a$
18.07.2007 - 15:28:16 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1937: setquota -u web2_anonftp 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:16 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1938: setquota -T -u web2_anonftp 604800 604800 -a &> /dev/null
18.07.2007 - 15:28:16 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1939: setquota -g web2_anonftp 0 0 0 0 -a &> /dev/null
18.07.2007 - 15:28:16 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1940: setquota -T -g web2_anonftp 604800 604800 -a &> /dev/null
18.07.2007 - 23:59:02 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 706: /etc/init.d/postfix stop &> /dev/null
18.07.2007 - 23:59:02 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 53: cp -f /var/log/mail /var/log/mail.18-07-07_23-59-02
18.07.2007 - 23:59:02 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 55: touch /var/log/mail.ispconfigsave
18.07.2007 - 23:59:02 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 56: cat /var/log/mail >> /var/log/mail.ispconfigsave
18.07.2007 - 23:59:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 706: /etc/init.d/proftpd stop &> /dev/null
18.07.2007 - 23:59:03 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 58: cp -f /var/log/xferlog /var/log/xferlog.18-07-07_23-59-02
18.07.2007 - 23:59:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 706: /etc/init.d/proftpd start &> /dev/null
18.07.2007 - 23:59:04 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 96: cat /dev/null > /var/log/xferlog.www.duckjammer.com
18.07.2007 - 23:59:04 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 121: rm -f /var/log/xferlog.www.duckjammer.com
18.07.2007 - 23:59:04 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 96: cat /dev/null > /var/log/xferlog.www.clanton.ath.cx
18.07.2007 - 23:59:04 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 121: rm -f /var/log/xferlog.www.clanton.ath.cx
18.07.2007 - 23:59:04 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 96: cat /dev/null > /var/log/xferlog.www.clantons.us
18.07.2007 - 23:59:05 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 121: rm -f /var/log/xferlog.www.clantons.us
18.07.2007 - 23:59:05 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 124: rm -f /var/log/xferlog.18-07-07_23-59-02
18.07.2007 - 23:59:05 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 706: /etc/init.d/postfix start &> /dev/null
18.07.2007 - 23:59:05 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 136: rm -f /var/log/mail.www.duckjammer.com
18.07.2007 - 23:59:05 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 136: rm -f /var/log/mail.www.clanton.ath.cx
18.07.2007 - 23:59:06 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 136: rm -f /var/log/mail.www.clantons.us
18.07.2007 - 23:59:06 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 138: rm -f /var/log/mail.18-07-07_23-59-02
Reply With Quote
  #17  
Old 20th July 2007, 16:41
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

What's in the .procmailrc file in web2_jammer's homedir?
__________________
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
  #18  
Old 20th July 2007, 21:22
Jammer4774 Jammer4774 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

.procmailrc
Code:
MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR
ORGMAIL=$MAILDIR

INCLUDERC=/srv/www/web2/user/web2_jammer/.mailsize.rc
## INCLUDERC=/srv/www/web2/user/web2_jammer/.quota.rc
INCLUDERC=/srv/www/web2/user/web2_jammer/.antivirus.rc
## INCLUDERC=/srv/www/web2/user/web2_jammer/.local-rules.rc
## INCLUDERC=/srv/www/web2/user/web2_jammer/.html-trap.rc
INCLUDERC=/srv/www/web2/user/web2_jammer/.spamassassin.rc
## INCLUDERC=/srv/www/web2/user/web2_jammer/.autoresponder.rc

.antivirus.rc
Code:
:0fw
| /home/admispconfig/ispconfig/tools/clamav/bin/clamassassin

:0:
* ^X-Virus-Status: Yes
/dev/null
.mailsize.rc
Code:
SHELL=/bin/sh

:0
{
  :0 c
  | wc -c | formail -A"X-Loop: ${LOGNAME}@localhost.localdomain" \
                    -I"Subject: Mailsize: ${LOGNAME}" | \
  $SENDMAIL -oi admispconfig@localhost.localdomain
}
.spamassassin.rc
Code:
# SpamAssassin sample procmailrc
#
# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
:0fw
* < 256000
| /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --prefs-file=/srv/www/web2/user/web2_jammer/.user_prefs

# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
#:0:
#* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
#/dev/null

# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "/dev/null".
#:0:
#* ^X-Spam-Status: Yes
#/dev/null

# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped.  This will re-add it.
:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "

  :0 fhw
  | sed -e '1s/^/F/'
}
Reply With Quote
  #19  
Old 20th July 2007, 21:29
kernel26 kernel26 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Same problem

I ran into the same problem while opening a lot of sites and mail accounts.
The funny thing is that just five user account went wrong, all opened one after the other. The user account opened before and after this series are all correctly writing to maildir (the five wrong were writing to mailbox in /var/mail)
The .procmailrc files were completely identical, only the rights on the "new", "tmp" and "cur" were different. Also the folder ".spamassassin" was missing.

After a while trying, I just copied the Mailboxes and recreated the accounts. Now everything is working fine.
(don't forget to copy the Mailboxes )

Now I just have to figure out how to transform the Mailboxes in maildir. (Will try mb2md)
Reply With Quote
  #20  
Old 20th July 2007, 22:06
kernel26 kernel26 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default faster than mb2md

Quote:
Originally Posted by kernel26
Now I just have to figure out how to transform the Mailboxes in maildir. (Will try mb2md)
There is something easier then mb2md:

I just copied the Mailbox files on my local Linux, then imported them with the import function of KMail (Files -> Import Messages , and chose Import mbox files (UNIX,...) ). KMail will create a "cur" folder. Just copy all files back to the server into the *new* folder and chown webxx_user:webxx * and chmod 600 * . Done !

Last edited by kernel26; 20th July 2007 at 22:11.
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
Not receiving any incoming mail. Jcorrea920 General 11 3rd April 2010 13:08
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
postfix-tls sasl2 mysql courier-authmysql gabrix Server Operation 4 12th January 2007 22:09
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


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


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