Hi I have installed a VPS with virtualmin gpl for administer my domains, i have 5 domains but only 2 manage mail services… everythin is ok but for monitoring I recently installed a script to get the resume of mail activity of day, my question is about random errors reported…
this this the output…
the first part of the mail for idea of the daily traffic
Grand Totals------------
messages
292 received
1099 delivered
313 forwarded
3 deferred (3 deferrals)
43 bounced
7 rejected (0%)
0 reject warnings
0 held
0 discarded (0%)
and the detail of boucend and fails system
message deferral detail-----------------------
local (total: 1)
1 local: fatal: execl /bin/sh: Too many open files in system
qmgr (total: 1)
1 unknown mail transport error
smtp (total: 1)
1 //postgrey.schweikert.ch/help/quirsa.com.html (in reply to RCP…
message bounce detail (by relay)
local (total: 42)
30 “/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME”
3 mail forwarding loop for dcoxaj.sysvirtuales@admin.sysvirtuales…
2 libtermcap.so.2: cannot open shared object file: Error 23
2 mail forwarding loop for info.sysvirtuales@admin.sysvirtuales.com
1 libc.so.6: cannot open shared object file: Error 23
1 procmail: Unknown user “ricardo.int-rosenberg”
1 procmail: Unknown user “ventas.int-rosenberg”
1 Program failure (127) of "/etc/webmin/virtual-server/lookup-dom…
1 Program failure (-11) of "/etc/webmin/virtual-server/lookup-dom…none (total: 1)
1 User unknown in virtual alias table
I am beggining in postfix deployment, if you give me some help with these error I will appreciate…
Well, it’s not unusual to see some email errors… a lot of what you’re seeing there may simply be due to spammers guessing at incorrect usernames.
A few of those you may want to check out… what you’d want to do is look in the mail logs, and determine the context of when they’re occurring.
For example, “Too many open files in system qmgr” and “ibtermcap.so.2: cannot open shared object file” are a little unusual. My suggestion there would be to open /var/log/mail.log or /var/log/maillog, locate where those errors are, and determine what exactly was happening at that time that could have contributed to those errors.
May 20 17:07:03 admin dovecot: execv(/usr/libexec/dovecot/pop3-login) failed: Too many open files in system
May 20 17:08:04 admin dovecot: execv(/usr/libexec/dovecot/pop3-login) failed: Too many open files in system
I think that the problem is some configuration on smtp server or somethin… the server are a VPS wiht 2 GB of ram and the number or email for each day are aprox 900 to 1000 mails… other problem is that I have aprox 30 forward rules for user in server (incoming rules and outgoing rules) some days I habe more tha 100 errors that this…
May 19 15:55:04 admin postfix/local[11544]: D606010068020: to=ricardo.int-rosenberg@admin.sysvirtuales.com, orig_to=analucia@int-rosenberg.net, relay=local, delay=0.98, delays=0.94/0/0/0.05, dsn=5.3.0, status=bounced (Command died with status 127: “/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME”)
May 19 15:55:04 admin postfix/local[4022]: D7FFE10068022: to=ventas.int-rosenberg@admin.sysvirtuales.com, orig_to=aracely@int-rosenberg.net, relay=local, delay=0.98, delays=0.93/0/0/0.05, dsn=5.3.0, status=bounced (Command died with status 245: “/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME”)
this problem are each day with randoms account sometimes do and sometimes not…
I will try this improvement, and I will see the perfomance tomorrow … how I can see the real traffic to my server?? there are some tool to monitor this?
Well, it wouldn’t likely be a high amount of bandwidth. However, you can see how many Dovecot processes are running at any given time with this command:
Well, I’m not entirely certain what might cause those errors – but after a little Googling, one idea would be to try commenting out the “message_size_limit” line in your /etc/postfix/main.cf, then restart Postfix.
I’m curious if those emails go through after that, or whether you continue to receive the queue file size limit errors.
Hmm, that doesn’t look like an error message… it’s normal to see “/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME” – that’s the command that delivers all of your email.
Are you seeing any associated error messages with that when the email is being delivered?
the error was in a mail report that I receive every day…
there are bounce mails…
message bounce detail (by relay)--------------------------------
local (total: 146)
99 “/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME”
13 libdl.so.2: cannot open shared object file: Error 23
12 libtermcap.so.2: cannot open shared object file: Error 23
10 libc.so.6: cannot open shared object file: Error 23
5 sh: /usr/bin/procmail-wrapper: Too many open files in system
4 Program failure (-11) of "/etc/webmin/virtual-server/lookup-dom…
1 libnsl.so.
1: cannot open shared object file: Error 23
1 procmail: Unknown user “ricardo.int-rosenberg”
1 unknown user: "ventas.int-rosenberg"none (total: 1)
1 mail for gmail.sysvirtuales.com loops back to myself
Well, I’m unfortunately not sure what the issue there is… I see that you posted a note in the Jobs forum for Scott to take a look, was he able to poke around on your server? Did he offer any thoughts/advice?
yes he told me about policyd implemetation… but the problem I think that not only the smtp request per hour in my system… I think that the problem are the dovecot conf… or http conf but I don’t be sure…
when I run > lsof | awk ‘{print $NF}’ | sort | wc -l
the number of files are betwen 4500 and 5800 when the number is high the problem is begin… I see in maximun open files in system… cat /proc/sys/fs/file-max the number 262144
why the number of files open not to be more than 6000 on my system if the settings are 262144 …