Sendmail query
Hi All,
At my work place i used samba for file sharing & scheduled daily backup in crontab. Once backup is completed it sends mail stating that backup completed for the day. sendmail service is also running on the server. but from last 2-3 days I can see procmail is also running. Please advice me about this. Here is the list of processes running on my system. [root@example ~]# ps -aef UID PID PPID C STIME TTY TIME CMD root 2784 1 0 Jan18 ? 00:00:04 [kjournald] root 3431 1 0 Jan18 ? 00:00:01 syslogd -m 0 root 3435 1 0 Jan18 ? 00:00:00 klogd -x root 3446 1 0 Jan18 ? 00:00:00 irqbalance rpc 3458 1 0 Jan18 ? 00:00:00 portmap root 3478 1 0 Jan18 ? 00:00:00 rpc.statd root 3509 1 0 Jan18 ? 00:00:00 rpc.idmapd root 3594 1 0 Jan18 ? 00:00:00 /usr/sbin/acpid root 3604 1 0 Jan18 ? 00:00:00 /usr/sbin/sshd root 3619 1 0 Jan18 ? 00:00:00 xinetd -stayalive -pidfile /var/run/xinetd.pid ntp 3632 1 0 Jan18 ? 00:00:02 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g root 3651 1 0 Jan18 ? 00:00:01 sendmail: rejecting connections on daemon MTA: load average: 25 smmsp 3659 1 0 Jan18 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue root 3736 1 0 Jan18 ? 00:00:00 gpm -m /dev/input/mice -t imps2 root 3746 1 0 Jan18 ? 00:00:00 crond xfs 3831 1 0 Jan18 ? 00:00:00 xfs -droppriv -daemon root 3841 1 0 Jan18 ? 00:00:00 winbindd root 3843 3841 0 Jan18 ? 00:00:00 winbindd root 3861 1 0 Jan18 ? 00:00:00 /usr/sbin/atd root 3871 1 0 Jan18 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow root 3882 3871 0 Jan18 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow root 3883 3871 0 Jan18 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow root 3884 3871 0 Jan18 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow root 3885 3871 0 Jan18 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow dbus 3894 1 0 Jan18 ? 00:00:00 dbus-daemon-1 --system root 3907 1 0 Jan18 ? 00:00:18 hald oot 4016 1 0 Jan18 ? 00:00:00 /usr/bin/gdm-binary -nodaemon root 4606 4016 0 Jan18 ? 00:00:00 /usr/bin/gdm-binary -nodaemon root 4626 4606 0 Jan18 ? 00:00:06 /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7 gdm 4992 4606 0 Jan18 ? 00:00:03 /usr/bin/gdmgreeter root 5089 1 0 Jan18 ? 00:00:05 [rpciod] root 5090 1 0 Jan18 ? 00:00:00 [lockd] root 6109 3651 1 Jan18 ? 00:13:15 sendmail: ./o0E5AA2d031999 from queue root 6294 3651 0 Jan18 ? 00:11:00 sendmail: ./o0E6AA2d032343 from queue root 6445 3651 0 Jan18 ? 00:10:22 sendmail: ./o0EMAAe9003729 from queue root 7198 1 0 Jan18 ? 00:00:00 smbd -D root 7202 7198 0 Jan18 ? 00:00:00 smbd -D root 7203 1 0 Jan18 ? 00:00:26 nmbd -D root 7210 7198 0 Jan18 ? 00:00:00 smbd -D root 7211 7198 0 Jan18 ? 00:00:03 smbd -D root 7274 1 0 Jan18 tty2 00:00:00 /sbin/mingetty tty2 root 7441 7198 0 Jan18 ? 00:00:00 smbd -D root 7454 7198 0 Jan18 ? 00:00:00 smbd -D root 7534 3651 0 Jan18 ? 00:07:03 sendmail: ./o0EFAAuC002635 from queue root 7645 3651 0 Jan18 ? 00:07:18 sendmail: ./o0DKA9ux027771 from queue root 7869 7198 0 Jan18 ? 00:00:01 smbd -D root 7911 3651 0 Jan18 ? 00:07:45 sendmail: ./o0DHA9ux027368 from queue root 8087 7198 0 Jan18 ? 00:00:00 smbd -D root 8149 3651 0 Jan18 ? 00:05:15 sendmail: ./o0H1ADLU021841 from queue root 8249 3651 0 Jan18 ? 00:05:59 sendmail: ./o0FBABsU006771 from queue root 8354 3651 0 00:43 ? 00:02:46 sendmail: ./o0GLADaf012616 from queue root 8456 3651 0 01:43 ? 00:03:41 sendmail: ./o0I5D0A9003653 from queue root 8491 7198 0 02:01 ? 00:00:00 smbd -D root 8565 3651 0 02:43 ? 00:02:30 sendmail: ./o0I5D0A6003653 from queue root 8678 3651 0 03:43 ? 00:01:43 sendmail: ./o0GDACGg011375 from queue root 9245 3651 0 04:43 ? 00:01:13 sendmail: ./o0FLABH3008356 from queue 612 9278 7198 0 05:05 ? 00:00:02 smbd -D root 9344 3651 0 05:43 ? 00:02:33 sendmail: ./o0GNADLU021555 from queue root 9453 3651 0 06:43 ? 00:01:07 sendmail: ./o0GMADaf012747 from queue root 9542 3651 0 07:43 ? 00:01:21 sendmail: ./o0F4ABkA005102 from queue root 9572 7198 0 07:56 ? 00:00:45 smbd -D root 9614 7534 0 08:22 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 9647 3651 0 08:43 ? 00:00:27 sendmail: ./o0GBACGg011069 from queue sanika 9664 7198 0 08:54 ? 00:00:07 smbd -D root 9677 8354 0 08:59 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 9689 7198 0 09:05 ? 00:00:00 smbd -D root 9693 6445 0 09:09 ? 00:00:02 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 9746 7198 0 09:42 ? 00:00:02 smbd -D root 9747 3651 0 09:43 ? 00:00:27 sendmail: ./o0I6D0Z1005549 from queue root 9755 7198 0 09:44 ? 00:00:01 smbd -D root 9768 7198 0 09:50 ? 00:00:00 smbd -D root 9769 7198 0 09:50 ? 00:00:04 smbd -D root 9782 7198 0 09:53 ? 00:00:00 smbd -D root 9788 9245 0 09:54 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 9805 7198 0 09:59 ? 00:00:00 smbd -D root 9807 7198 0 10:00 ? 00:00:00 smbd -D manoj 9808 7198 0 10:00 ? 00:00:01 smbd -D root 9819 7198 0 10:01 ? 00:00:00 smbd -D root 9823 7198 0 10:02 ? 00:00:00 smbd -D root 9826 7198 0 10:04 ? 00:00:00 smbd -D root 9830 7198 0 10:05 ? 00:00:00 smbd -D root 9843 7198 0 10:10 ? 00:00:00 smbd -D root 9852 7198 0 10:13 ? 00:00:00 smbd -D root 9859 7645 0 10:14 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 9860 7198 0 10:15 ? 00:00:00 smbd -D root 9868 7198 0 10:18 ? 00:00:00 smbd -D root 9878 6109 0 10:20 ? 00:00:01 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 9880 9344 0 10:20 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 9886 7198 0 10:21 ? 00:00:00 smbd -D root 9893 3604 0 10:24 ? 00:00:00 sshd: mkha [priv] mkha 9897 9893 0 10:25 ? 00:00:00 sshd: mkha@pts/1 root 9901 8456 0 10:25 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root mkha 9902 9897 0 10:25 pts/1 00:00:00 -bash jolly 9931 7198 0 10:26 ? 00:00:02 smbd -D priya 9935 7198 0 10:27 ? 00:00:00 smbd -D root 9936 7198 0 10:27 ? 00:00:00 smbd -D root 9937 7198 0 10:28 ? 00:00:00 smbd -D root 9940 9747 0 10:29 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root 703 9944 7198 0 10:29 ? 00:00:01 smbd -D root 9959 1 0 10:31 ? 00:00:00 sendmail: ./o0J51Aji009958 from queue root 9960 9959 0 10:31 ? 00:00:00 procmail -f root@example.com -t -Y -a -d root root 9965 7198 0 10:33 ? 00:00:00 smbd -D deepika 9973 7198 0 10:36 ? 00:00:00 smbd -D root 9983 7198 0 10:39 ? 00:00:00 smbd -D root 9984 7 0 10:39 ? 00:00:00 [pdflush] root 9988 7198 0 10:39 ? 00:00:00 smbd -D ambarish 9990 7198 0 10:40 ? 00:00:00 smbd -D root 9991 7911 0 10:40 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 9992 8249 0 10:40 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 9996 9902 0 10:41 pts/1 00:00:00 su - root 9997 7198 0 10:41 ? 00:00:00 smbd -D root 9998 9996 0 10:41 pts/1 00:00:00 -bash root 10030 7198 0 10:41 ? 00:00:00 smbd -D root 10031 7198 0 10:41 ? 00:00:00 smbd -D root 10032 7198 0 10:41 ? 00:00:00 smbd -D root 10033 8149 0 10:42 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 10037 3651 0 10:43 ? 00:00:03 sendmail: ./o0H8ADjR022840 from queue root 10039 10037 0 10:43 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 10041 7198 0 10:44 ? 00:00:00 smbd -D root 10042 7198 0 10:44 ? 00:00:00 smbd -D root 10043 7198 0 10:45 ? 00:00:00 smbd -D root 10044 7198 0 10:45 ? 00:00:00 smbd -D root 10046 9453 0 10:45 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 10050 7198 0 10:46 ? 00:00:00 smbd -D root 10052 8565 0 10:47 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 10055 7198 0 10:48 ? 00:00:00 smbd -D root 10056 8678 0 10:48 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 10057 7198 0 10:48 ? 00:00:00 smbd -D saket 10060 7198 0 10:50 ? 00:00:00 smbd -D root 10065 7198 0 10:50 ? 00:00:00 smbd -D root 10066 7 0 10:51 ? 00:00:00 [pdflush] root 10067 6294 0 10:51 ? 00:00:01 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 10068 9542 0 10:51 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root yunus 10072 7198 0 10:51 ? 00:00:00 smbd -D root 10074 9647 0 10:52 ? 00:00:00 procmail -f MAILER-DAEMON@example.com -t -Y -a -d root root 10076 7198 0 10:52 ? 00:00:00 smbd -D root 10077 7198 0 10:53 ? 00:00:00 smbd -D baijuraj 10078 7198 0 10:53 ? 00:00:00 smbd -D anushika 10079 7198 0 10:54 ? 00:00:00 smbd -D root 10080 7198 0 10:54 ? 00:00:00 smbd -D root 10081 7 0 10:54 ? 00:00:00 [pdflush] root 10082 9998 0 10:55 pts/1 00:00:00 ps -a Regards, Manish |
Quote:
procmail is merely processing the mail. in your case it looks like bounces, so i would examine the mailq/mailbox and contents of the bounced email |
Thanks Centosboy
but how would I clean up these mailq Regards, Manish |
Quote:
Is it just trash you wish to throw out?? If none of it is needed you can just cd /var/spool/mqueue; echo rm -rf * do that first to see what the command will remove. if you are satisfied with what it removes, remove the echo from the command. same for clientmqueue |
All times are GMT -5. The time now is 12:45 AM. |