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 15th January 2008, 17:55
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
Default

Thanks for the reply,
thats where I'm scratching my head


Code:
[root@host2 ~]# ls -la /var/spool/mail
total 108776
drwxrwxr-x  2 root          mail     4096 2008-01-15 22:14 .
drwxr-xr-x 15 root          root     4096 2004-01-03 00:17 ..
-rw-rw----  1 admispconfig  mail        0 2007-11-16 14:29 admispconfig
-rw-rw----  1 apache        mail        0 2004-01-02 00:49 apache
-rw-rw----  1 avahi         mail        0 2004-01-02 00:49 avahi
-rw-rw----  1 backuppc      mail        0 2004-01-02 00:52 backuppc
-rw-rw----  1 dbus          mail        0 2004-01-02 00:49 dbus
-rw-rw----  1 distcache     mail        0 2004-01-02 00:48 distcache
-rw-rw----  1 dovecot       mail        0 2004-01-02 00:50 dovecot
-rw-rw----  1 haldaemon     mail        0 2004-01-02 00:52 haldaemon
-rw-rw----  1 mailnull      mail        0 2004-01-02 00:50 mailnull
-rw-rw----  1 mysql         mail        0 2004-01-02 00:50 mysql
-rw-rw----  1 named         mail        0 2004-01-02 00:50 named
-rw-rw----  1 nfsnobody     mail        0 2004-01-02 00:50 nfsnobody
-rw-rw----  1 nscd          mail        0 2004-01-02 00:48 nscd
-rw-rw----  1 ntp           mail        0 2004-01-02 00:50 ntp
-rw-rw----  1 openvpn       mail        0 2004-01-02 00:49 openvpn
-rw-rw----  1 polkituser    mail        0 2004-01-02 00:49 polkituser
-rw-rw----  1 postfix       mail        0 2004-01-03 00:17 postfix
-rw-rw----  1 root          root  7166323 2008-01-15 22:14 root
-rw-rw----  1 rpc           mail        0 2004-01-02 00:48 rpc
-rw-rw----  1 rpcuser       mail        0 2004-01-02 00:50 rpcuser
-rw-rw----  1 rpm           mail        0 2004-01-02 00:49 rpm
-rw-rw----  1 smmsp         mail        0 2004-01-02 00:50 smmsp
-rw-rw----  1 squid         mail        0 2004-01-02 00:50 squid
-rw-rw----  1 sshd          mail        0 2004-01-02 00:50 sshd
-rw-rw----  1 tcpdump       mail        0 2004-01-02 00:48 tcpdump
-rw-rw----  1 torrent       mail        0 2004-01-02 00:52 torrent
-rw-rw----  1 vcsa          mail        0 2004-01-02 00:47 vcsa
-rw-rw----  1 web10_root    mail        0 2007-11-21 14:37 web10_root
-rw-rw----  1 web12_root    mail        0 2007-11-19 17:51 web12_root
-rw-rw----  1 web13_root    mail        0 2007-11-29 11:01 web13_root
-rw-rw----  1 web14_ps      mail        0 2007-11-29 11:08 web14_ps
-rw-rw----  1 web15_root    mail        0 2007-12-01 03:47 web15_root
-rw-rw----  1 web16_root    mail        0 2007-11-19 17:51 web16_root
-rw-rw----  1 web17_root    mail        0 2007-12-01 17:16 web17_root
-rw-rw----  1 web18_contact mail        0 2007-11-19 17:52 web18_contact
-rw-rw----  1 web19_root    mail        0 2007-12-31 03:06 web19_root
-rw-rw----  1 web1_anonftp  mail        0 2007-11-19 18:03 web1_anonftp
-rw-rw----  1 web1_root     mail        0 2007-11-29 10:34 web1_root
-rw-rw----  1 web1_roya     mail        0 2007-11-29 10:34 web1_roya
-rw-rw----  1 web2_anonftp  mail        0 2007-11-29 10:33 web2_anonftp
-rw-rw----  1 web2_root     mail        0 2007-11-20 12:35 web2_root
-rw-rw----  1         12006 mail        0 2007-11-19 17:52 web6_anonftp
-rw-rw----  1         10007 mail        0 2007-11-19 17:51 web6_irsr
-rw-rw----  1 web6_mohd     mail        0 2007-11-28 18:15 web6_mohd
-rw-rw----  1         10048 mail        0 2007-11-19 17:51 web6_root
-rw-rw----  1         10011 mail        0 2007-11-19 17:51 web6_sitemanager
-rw-rw----  1         10010 mail        0 2007-11-19 17:51 web6_webmaster
-rw-rw----  1 web7_behzadi  mail  3358299 2008-01-15 16:15 web7_behzadi
-rw-rw----  1 web7_diba     mail   230002 2008-01-14 19:23 web7_diba
-rw-rw----  1 web7_javan    mail  9670685 2008-01-15 22:19 web7_javan
-rw-rw----  1 web7_mohd     mail     1543 2008-01-12 22:51 web7_mohd
-rw-rw----  1 web7_rahman   mail  8450497 2008-01-15 23:40 web7_rahman
-rw-------  1 web7_root     mail  4340521 2008-01-16 00:43 web7_root
-rw-rw----  1 web7_shahram  mail     8406 2007-12-18 14:49 web7_shahram
-rw-rw----  1 web7_vernon   mail 23285881 2008-01-16 00:44 web7_vernon
-rw-rw----  1 web8_angelene mail     9103 2007-12-21 16:52 web8_angelene
-rw-rw----  1 web8_billing  mail  2681613 2008-01-15 07:37 web8_billing
-rw-rw----  1 web8_contact  mail        0 2007-11-21 13:11 web8_contact
-rw-rw----  1 web8_fauzil   mail        0 2007-11-29 00:10 web8_fauzil
-rw-rw----  1 web8_mohd     mail   673622 2008-01-15 00:22 web8_mohd
-rw-rw----  1 webalizer     mail        0 2004-01-02 00:50 webalizer
-rw-rw----  1 web7_root     mail 51199793 2008-01-14 03:40 web_root_old
You have new mail in /var/spool/mail/root
[root@host2 ~]#
Reply With Quote
Sponsored Links
  #12  
Old 16th January 2008, 11:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Please run
Code:
chmod 660 /var/spool/mail/web7_root
__________________
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
  #13  
Old 16th January 2008, 11:52
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
Default

Hi,

I've than before but it didn't help and I noticed after a while the permission is changed to 600 but I don't know what is changing the permission, I guess is quota that is doing that to limit the writing to the file but the qouta is showing nothing.
Reply With Quote
  #14  
Old 17th January 2008, 16:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Quote:
Originally Posted by Hellbound
I noticed after a while the permission is changed to 600
Does this happen regularly? If so, does it happen at the same time each day? Maybe a cron job?
Maybe you should also check your server with chkrootkit and rkhunter.
__________________
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
  #15  
Old 8th September 2008, 11:31
dron dron is offline
Junior Member
 
Join Date: Feb 2008
Location: Opava, Czech republic
Posts: 10
Thanks: 6
Thanked 1 Time in 1 Post
Default I have a similar problem

hello

I think it correspond with this thread... all my mailboxes whose size is bigger than 50MB has this problem.

Code:
can't
    create user output file. Command output: procmail: Extraneous locallockfile
    ignored procmail: Error while writing to "/var/mail/web4_admin"
output of ls -la /var/mail/web4*

Code:
-rw------- 1 web4_admin      mail 51074831 Sep  8 11:07 /var/mail/web4_admin
-rw------- 1 web4_dron       mail    67702 Aug 22 15:27 /var/mail/web4_user
space limit for this web is 2MB, for this mail account is -1. Other mail account is not affected with this issue.

quota is not exceeded.

output of repquota -avug

Code:
Group           used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
web4      --  112536 2048000 2049024           3092     0     0
I find this issue on about 5 accounts. When I delete some mails I can accept mails but allways only up to 50MB limit of mailbox size.

Now I use ISPConfig 2.2.24

Has anyone same problem? Can you help me? Thanx!
Reply With Quote
  #16  
Old 9th September 2008, 17:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

What's the output of
Code:
repquota -avug | grep web4
?
What's in /etc/postfix/main.cf?
__________________
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
  #17  
Old 10th September 2008, 00:16
dron dron is offline
Junior Member
 
Join Date: Feb 2008
Location: Opava, Czech republic
Posts: 10
Thanks: 6
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko View Post
What's the output of
Code:
repquota -avug | grep web4
?
here is... (but I deleted a lots of mails from admin account, so it took only 3845260bytes now])
Code:
web4_admin --  116748       0       0           3104     0     0
web4_user  --     264       0       0             34     0     0
web4_admin --   42580       0       0            952     0     0
web4_user  --     204       0       0             34     0     0
web4       --       0 2048000 2049024              0     0     0
web4       --  112648 2048000 2049024           3092     0     0
web4       --       0 2048000 2049024              0     0     0
web4       --   42608 2048000 2049024            986     0     0

Quote:
Originally Posted by falko View Post
What's in /etc/postfix/main.cf?
I made some changes here (I tried set-up greylisting but it didn't work as I expected so I comment out these changes and decided read more about it... one time...).

Code:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
mydestination = /etc/postfix/local-host-names
inet_interfaces = all

unknown_local_recipient_reject_code = 550

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

local_destination_concurrency_limit = 5
default_destination_concurrency_limit = 20

debug_peer_level = 2

debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes

smtpd_recipient_restrictions =
    permit_mynetworks,
    permit_auth_destination,
#    reject_unauth_destination,
#    check_policy_service  inet:127.0.0.1:10023,
    permit_sasl_authenticated,
    reject_unauth_destination,
    reject_invalid_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    reject_unauth_pipelining,
    reject


mynetworks = 127.0.0.0/8
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
myhostname = hostname.myserver.net
home_mailbox = Maildir/
mailbox_command =

virtual_maps = hash:/etc/postfix/virtusertable
btw. I use centos 5.2.

thanx for your help and time, falko.
Reply With Quote
  #18  
Old 10th September 2008, 17:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

What's the output of
Code:
postconf -d | grep mailbox_size_limit
?

You can try to set an unlimited mailbox size with
Code:
postconf -e 'mailbox_size_limit = 0'
Restart Postfix afterwards.
__________________
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
The Following 2 Users Say Thank You to falko For This Useful Post:
dron (10th September 2008), pattyjay (30th November 2008)
  #19  
Old 10th September 2008, 18:01
dron dron is offline
Junior Member
 
Join Date: Feb 2008
Location: Opava, Czech republic
Posts: 10
Thanks: 6
Thanked 1 Time in 1 Post
Thumbs up

aaargh

Code:
mailbox_size_limit = 51200000
thanx a lot falko!
Reply With Quote
  #20  
Old 10th September 2008, 18:31
dron dron is offline
Junior Member
 
Join Date: Feb 2008
Location: Opava, Czech republic
Posts: 10
Thanks: 6
Thanked 1 Time in 1 Post
 
Default

wow, it is funny. I can't change my mailbox_size_limit. no change is made when I set it to 0 or 51200001 or 51100000. After postfix restart there is allways output of
Code:
postconf -d
Code:
mailbox_size_limit = 51200000
.

Am I stupid or what?

I use postfix-2.3.3-2.1.el5_2
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
Mea by someone will know ISPconfig Horde, Ingo, procmail kristaps General 1 5th July 2007 13:33
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 16:05
ISPConfig 2.2.10 released till General 70 7th March 2007 18:25
plenty of procmail/trashscan processes ZyanKLee Installation/Configuration 10 27th December 2005 20:09
procmail <defunct> ZyanKLee Installation/Configuration 1 19th December 2005 00:58


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


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