HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   mail delivered in mbox (http://www.howtoforge.com/forums/showthread.php?t=18097)

patfee 6th December 2007 11:09

mail delivered in mbox
 
eventhoug Maildir in ISPConfig is enabled, the emails are delivered in the Mbox dir. I have already disabled tje maildir checkbox in ISPConfig, waiten 30m and rechecked it. no change


postconf -n output:
PHP Code:

alias_database hash:/etc/aliases
alias_maps 
hash:/etc/aliases
broken_sasl_auth_clients 
yes
command_directory 
= /usr/sbin
config_directory 
= /etc/postfix
daemon_directory 
= /usr/libexec/postfix
debug_peer_level 
2
home_mailbox 
Maildir/
html_directory no
inet_interfaces 
all
mail_owner 
postfix
mailbox_command 
=
mailq_path = /usr/bin/mailq.postfix
manpage_directory 
= /usr/share/man
mydestination 
= /etc/postfix/local-host-names
mynetworks 
127.0.0.0/8
newaliases_path 
= /usr/bin/newaliases.postfix
queue_directory 
= /var/spool/postfix
readme_directory 
= /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory 
= /usr/share/doc/postfix-2.3.3/samples
sendmail_path 
= /usr/sbin/sendmail.postfix
setgid_group 
postdrop
smtp_tls_note_starttls_offer 
yes
smtp_use_tls 
yes
smtpd_recipient_restrictions 
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable 
yes
smtpd_sasl_local_domain 
=
smtpd_sasl_security_options noanonymous
smtpd_tls_CAfile 
= /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only 
no
smtpd_tls_cert_file 
= /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file 
= /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel 
1
smtpd_tls_received_header 
yes
smtpd_tls_session_cache_timeout 
3600s
smtpd_use_tls 
yes
tls_random_source 
dev:/dev/urandom
unknown_local_recipient_reject_code 
550 

repquota -avug output

PHP Code:

*** Report for user quotas on device /dev/hda3
Block grace time
7daysInode grace time7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      -- 2600956       0       0          94507     0     0
daemon    
--      20       0       0              3     0     0
lp        
--      16       0       0              2     0     0
nobody    
--       8       0       0              1     0     0
rpm       
--   31940       0       0            123     0     0
smmsp     
--       8       0       0              1     0     0
rpcuser   
--       8       0       0              1     0     0
avahi     
--      12       0       0              3     0     0
ntp       
--      12       0       0              2     0     0
apache    
--  308716       0       0           8760     0     0
mysql     
--   34284       0       0            494     0     0
webalizer 
--      32       0       0              4     0     0
squid     
--      16       0       0              2     0     0
named     
--      96       0       0             15     0     0
xfs       
--       0       0       0              1     0     0
dovecot   
--       8       0       0              1     0     0
postfix   
--     104       0       0             40     0     0
admispconfig 
--  274264       0       0           2450     0     0
web6_pf   
--      48       0       0              7     0     0
web7_ftp  
--   27136       0       0             37     0     0
web5_patrick 
--    7396       0       0             74     0     0
#500      --   11696       0       0           1074     0     0
#501      --    8184       0       0            543     0     0
#20       --       8       0       0              2     0     0
#1010     --   20464       0       0           1974     0     0

Statistics:
Total blocks10
Data blocks
2
Entries
25
Used average
12.500000

*** Report for group quotas on device /dev/hda3
Block grace time
7daysInode grace time7days
                        Block limits                File limits
Group           used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      -- 2592364       0       0          95489     0     0
daemon    
--      28       0       0              4     0     0
sys       
--      24       0       0              3     0     0
tty       
--      32       0       0              2     0     0
disk      
--       4       0       0              1     0     0
lp        
--     136       0       0             20     0     0
mail      
--     396       0       0              9     0     0
man       
--     256       0       0             32     0     0
games     
--    8192       0       0            545     0     0
lock      
--      32       0       0              2     0     0
nobody    
--      96       0       0              2     0     0
rpm       
--   31940       0       0            123     0     0
utmp      
--   15652       0       0              5     0     0
smmsp     
--     820       0       0              3     0     0
rpcuser   
--       8       0       0              1     0     0
utempter  
--       8       0       0              1     0     0
slocate   
--    2416       0       0              3     0     0
avahi     
--      12       0       0              3     0     0
ntp       
--      12       0       0              2     0     0
apache    
--  305816       0       0           8663     0     0
mysql     
--   34292       0       0            495     0     0
squid     
--     232       0       0              7     0     0
named     
--     192       0       0             29     0     0
xfs       
--       0       0       0              1     0     0
dovecot   
--      32       0       0              5     0     0
postdrop  
--     368       0       0              4     0     0
postfix   
--       0       0       0             27     0     0
admispconfig 
--  274252       0       0           2448     0     0
web5      
--    7244       0       0             75     0     0
web6      
--     376       0       0             47     0     0
web7      
--   27140       0       0             38     0     0
web8      
--    2532       0       0             41     0     0
web9      
--      64       0       0             17     0     0
#1010     --   20464       0       0           1974     0     0

Statistics:
Total blocks9
Data blocks
2
Entries
34
Used average
17.000000 


/home/admispconfig/ispconfig/ispconfig.log gives

PHP Code:

web5_patrick:x:10003:10005:Patrick:/var/www/web5:/bin/false
06.12.2007 
10:46:42 => INFO - /root/ispconfig/scripts/lib/config.lib.phpLine 905setquota -u web5_patrick 0 0 0 0 -&> $
06.12.2007 10:46:42 => INFO - /root/ispconfig/scripts/lib/config.lib.phpLine 906setquota --u web5_patrick 604800 6048$
06.12.2007 10:46:42 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.phpLine 57cp -/root/ispconfi$
06.12.2007 10:46:42 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.phpLine 113symlink /var/www/we$
06.12.2007 10:46:43 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.phpLine 137cp -fr /etc/postfix/$
06.12.2007 10:46:43 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.phpLine 284cp -fr /etc/postfix/$
06.12.2007 10:46:43 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.phpLine 289postmap hash:/etc/po$
06.12.2007 10:46:43 => INFO - /root/ispconfig/scripts/lib/config.lib.phpLine 1259cp -fr /etc/httpd/conf/vhosts/Vhosts_i$
06.12.2007 10:46:43 => INFO - /root/ispconfig/scripts/lib/config.lib.phpLine 1921cp -fr /etc/proftpd_ispconfig.conf /et$
06.12.2007 10:46:54 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.phpLine 137cp -fr /etc/postfix/$ 

/var/www/web5/.procmailrc output

PHP Code:

MAILDIR=$HOME/Maildir/
DEFAULT=
$MAILDIR
ORGMAIL
=$MAILDIR

INCLUDERC
=/var/www/web5/user/web5_patrick/.mailsize.rc
## INCLUDERC=/var/www/web5/user/web5_patrick/.quota.rc
## INCLUDERC=/var/www/web5/user/web5_patrick/.antivirus.rc
## INCLUDERC=/var/www/web5/user/web5_patrick/.local-rules.rc
## INCLUDERC=/var/www/web5/user/web5_patrick/.html-trap.rc
## INCLUDERC=/var/www/web5/user/web5_patrick/.spamassassin.rc
## INCLUDERC=/var/www/web5/user/web5_patrick/.autoresponder.rc 

thanks for some help!
rgds
Patrick

till 6th December 2007 18:32

Please make sure that the web quota limit for the website and the users is high enough.

patfee 6th December 2007 19:02

both the space MB and Trafic MB are "-1" in ispconfig

this should be unlimited trafic / space no?

thanks
Patrick

patfee 6th December 2007 19:05

as well for the WebSpace MB in ispc user settings by the way

rgd
Patrick

till 7th December 2007 11:10

Please post the output of:

netstat -tap

and the lines that appear in the mail log when you send a email to your server.
Which ISPConfig version do you use?

patfee 9th December 2007 17:21

PHP Code:


Proto Recv
-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 
*:mysql                 *:*                     LISTEN     8468/mysqld
tcp        0      0 
*:www                   *:*                     LISTEN     17562/apache2
tcp        0      0 
*:81                    *:*                     LISTEN     17527/ispconfig_htt
tcp        0      0 server
.xx.c:domain *:*                     LISTEN     19053/named
tcp        0      0 localhost
.locald:domain *:*                     LISTEN     19053/named
tcp        0      0 
*:smtp                  *:*                     LISTEN     19365/master
tcp        0      0 localhost
.localdoma:953 *:*                     LISTEN     19053/named
tcp        0      0 
*:https                 *:*                     LISTEN     17562/apache2
tcp6       0      0 
*:imaps                 *:*                     LISTEN     7206/couriertcpd
tcp6       0      0 
*:pop3s                 *:*                     LISTEN     7113/couriertcpd
tcp6       0      0 
*:pop3                  *:*                     LISTEN     7046/couriertcpd
tcp6       0      0 
*:imap2                 *:*                     LISTEN     7149/couriertcpd
tcp6       0      0 
*:ftp                   *:*                     LISTEN     18068/proftpd: (acc
tcp6       0      0 
*:ssh                   *:*                     LISTEN     3973/sshd
tcp6       0      0 
*:smtp                  *:*                     LISTEN     19365/master
tcp6       0      0 ip6
-localhost:953       *:*                     LISTEN     19053/named
tcp6       0      0 server
.xx.com:pop3 patcompu.lan:1589       TIME_WAIT  -
tcp6       0    888 server.xx.com:ssh  patcompu.lan:1347       ESTABLISHED3903/

and im using ISPConfig 2.2.18

PHP Code:

Dec  9 17:05:13 server courierpop3loginLOGINuser=web1_xxip=[::ffff:192.168.1.65]
Dec  9 17:05:13 server courierpop3loginLOGOUTuser=web1_xxip=[::ffff:192.168.1.65], top=0retr=0rcvd=12sent=39time=0
Dec  9 17
:05:38 server postfix/smtpd[19496]: connect from patcompu.lan[192.168.1.65]
Dec  9 17:05:38 server postfix/smtpd[19496]: D61BB13C1CCclient=patcompu.lan[192.168.1.65], sasl_method=LOGINsasl_username=web1_xx
Dec  9 17
:05:38 server postfix/cleanup[19503]: D61BB13C1CCmessage-id=<001c01c83a7d$54e2c590$4101a8c0@patcompu>
Dec  9 17:05:38 server postfix/qmgr[19368]: D61BB13C1CCfrom=<xx@yy.com>, size=1388nrcpt=(queue active)
Dec  9 17:05:38 server postfix/smtpd[19496]: disconnect from patcompu.lan[192.168.1.65]
Dec  9 17:05:40 server courierpop3loginConnectionip=[::ffff:192.168.1.65]
Dec  9 17:05:40 server courierpop3loginLOGINuser=web1_xxip=[::ffff:192.168.1.65]
Dec  9 17:05:40 server courierpop3loginLOGOUTuser=web1_xxip=[::ffff:192.168.1.65], top=0retr=0rcvd=12sent=39time=0
Dec  9 17
:05:43 server postfix/smtp[19504]: D61BB13C1CCto=<xx.yy@gmail.com>, relay=gmail-smtp-in.l.google.com[66.249.93.27]:25delay=4.6delays$
Dec  9 17:05:43 server postfix/cleanup[19503]: 8633E13C1D0message-id=<20071209160543.8633E13C1D0@server.yy.com>
Dec  9 17:05:43 server postfix/qmgr[19368]: 8633E13C1D0from=<>, size=3712nrcpt=(queue active)
Dec  9 17:05:43 server postfix/bounce[19508]: D61BB13C1CCsender non-delivery notification8633E13C1D0
Dec  9 17
:05:43 server postfix/qmgr[19368]: D61BB13C1CCremoved
Dec  9 17
:05:43 server postfix/pickup[19367]: B412F13C1D1uid=10001 from=<web1_xx>
Dec  9 17:05:43 server postfix/cleanup[19503]: B412F13C1D1message-id=<20071209160543.B412F13C1D1@server.yy.com>
Dec  9 17:05:43 server postfix/local[19509]: 8633E13C1D0to=<web1_xx@server.yy.com>, orig_to=<xx@yy.com>, relay=localdelay=0.19delay$
Dec  9 17:05:43 server postfix/qmgr[19368]: 8633E13C1D0removed
Dec  9 17
:05:43 server postfix/qmgr[19368]: B412F13C1D1from=<web1_xx@server.yy.com>, size=398nrcpt=(queue active)
Dec  9 17:05:43 server postfix/local[19509]: B412F13C1D1to=<admispconfig@localhost.localdomain>, relay=localdelay=0.08delays=0.04/0/0/0.04dsn=2.0.0, $
Dec  9 17:05:43 server postfix/qmgr[19368]: B412F13C1D1removed
Dec  9 17
:05:44 server courierpop3loginConnectionip=[::ffff:192.168.1.65]
Dec  9 17:05:44 server courierpop3loginLOGINuser=web1_xxip=[::ffff:192.168.1.65]
Dec  9 17:05:44 server courierpop3loginLOGOUTuser=web1_xxip=[::ffff:192.168.1.65], top=0retr=3707rcvd=34sent=3962time=0
Dec  9 17
:06:13 server courierpop3loginConnectionip=[::ffff:192.168.1.65]
Dec  9 17:06:13 server courierpop3loginLOGINuser=web1_xxip=[::ffff:192.168.1.65]
Dec  9 17:06:13 server courierpop3loginLOGOUTuser=web1_xxip=[::ffff:192.168.1.65], top=0retr=0rcvd=12sent=39time=0
Dec  9 17
:07:03 server postfix/smtpd[19496]: connect from localhost.localdomain[127.0.0.1]
Dec  9 17:07:03 server postfix/smtpd[19496]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Dec  9 17:07:03 server postfix/smtpd[19496]: disconnect from localhost.localdomain[127.0.0.1]
Dec  9 17:07:03 server courierpop3loginConnectionip=[::ffff:127.0.0.1]
Dec  9 17:07:03 server courierpop3loginDisconnectedip=[::ffff:127.0.0.1]
Dec  9 17:10:23 server postfix/anvil[19501]: statisticsmax connection rate 1/60s for (smtp:192.168.1.65at Dec  9 17:05:38
Dec  9 17
:10:23 server postfix/anvil[19501]: statisticsmax connection count 1 for (smtp:192.168.1.65at Dec  9 17:05:38
Dec  9 17
:10:23 server postfix/anvil[19501]: statisticsmax cache size 1 at Dec  9 17:05:38
Dec  9 17
:18:58 server courierpop3loginConnectionip=[::ffff:192.168.1.65]
Dec  9 17:18:58 server courierpop3loginLOGINuser=web1_xxip=[::ffff:192.168.1.65]
Dec  9 17:18:58 server courierpop3loginLOGOUTuser=web1_xxip=[::ffff:192.168.1.65], top=0retr=0rcvd=12sent=39time=


falko 10th December 2007 08:19

You can try this:
Code:

postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command ='
/etc/init.d/postfix restart


patfee 10th December 2007 10:31

no change after the three postfix commands

funny thing as well is the fact that when is send an email using pop3 to "my self" all works well

?

falko 11th December 2007 13:58

Please check if the MX records for your domains are correct:
Code:

dig mx yourdomain.com


All times are GMT +2. The time now is 07:10.

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