PT. Hawk Teknologi Solusi

Silahkan Cari Disini

Jumat, 02 Mei 2008

Mengatasi postfix/postdrop[xxxxx]: warning: unable to look up public/pickup: Permission denied

Hari ini ada masalah di smtp2 sbb:

root@proxy02-smg [/var/spool/postfix]# tail -f /var/log/maillog
May 2 21:52:31 proxy02-smg postfix/postdrop[30924]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:31 proxy02-smg postfix/postdrop[31054]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:33 proxy02-smg postfix/postdrop[31410]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:34 proxy02-smg postfix/postdrop[31091]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:34 proxy02-smg postfix/postdrop[31062]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:34 proxy02-smg postfix/postdrop[31245]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:34 proxy02-smg postfix/postdrop[31255]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:34 proxy02-smg postfix/postdrop[31391]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:34 proxy02-smg postfix/postdrop[31087]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:35 proxy02-smg postfix/postdrop[31094]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:37 proxy02-smg postfix/postdrop[31056]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:37 proxy02-smg postfix/postdrop[31408]: warning: unable to look up public/pickup: Permission denied
May 2 21:52:38 proxy02-smg postfix/postdrop[31257]: warning: unable to look up public/pickup: Permission denied

Dari googling petunjuk yang didapat adalah

root@proxy02-smg [~]# postfix check
root@proxy02-smg [~]# chgrp -R postdrop /var/spool/postfix/public/
root@proxy02-smg [~]# chgrp -R postdrop /var/spool/postfix/maildrop/
root@proxy02-smg [~]# postfix check

lalu restart service-servicenya

root@proxy02-smg [~]# /etc/init.d/postfix restart
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
root@proxy02-smg [~]# /etc/init.d/clamsmtpd restart
Stopping ClamSmtpd: [ OK ]
Starting ClamSmtpd: [ OK ]
root@proxy02-smg [~]# /etc/init.d/clamd restart
Stopping Clam AV daemon: [ OK ]
Starting Clam AV daemon: [ OK ]

Hasilnya smtp postfix telah berfungsi kembali :

root@proxy02-smg [/etc/postfix]# tail -f /var/log/maillog
May 2 22:57:23 proxy02-smg postfix/smtpd[6874]: connect from unknown[119.82.240.211]
May 2 22:57:34 proxy02-smg postfix/smtpd[6874]: E7C9C20E997: client=unknown[119.82.240.211]
May 2 22:57:35 proxy02-smg postfix/cleanup[6877]: E7C9C20E997: message-id=<481b39d3.20809@datautama.net.id>
May 2 22:57:35 proxy02-smg postfix/qmgr[6573]: E7C9C20E997: from=, size=814, nrcpt=1 (queue active)
May 2 22:57:35 proxy02-smg spamd[5755]: spamd: connection from localhost [127.0.0.1] at port 56882
May 2 22:57:35 proxy02-smg spamd[5755]: spamd: setuid to spamfilter succeeded
May 2 22:57:35 proxy02-smg spamd[5755]: spamd: processing message <481b39d3.20809@datautama.net.id> for spamfilter:503
May 2 22:57:36 proxy02-smg postfix/smtpd[6874]: disconnect from unknown[119.82.240.211]
May 2 22:57:40 proxy02-smg spamd[5755]: spamd: clean message (0.0/5.0) for spamfilter:503 in 4.5 seconds, 789 bytes.
May 2 22:57:40 proxy02-smg spamd[5755]: spamd: result: . 0 - scantime=4.5,size=789,user=spamfilter,uid=503,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=56882,mid=<481b39d3.20809@datautama.net.id>,autolearn=ham
May 2 22:57:40 proxy02-smg spamd[5692]: prefork: child states: II
May 2 22:57:40 proxy02-smg postfix/pickup[6572]: 490ED20E9E7: uid=503 from=
May 2 22:57:40 proxy02-smg postfix/cleanup[6877]: 490ED20E9E7: message-id=<481b39d3.20809@datautama.net.id>
May 2 22:57:40 proxy02-smg postfix/pipe[6878]: E7C9C20E997: to=, relay=spamfilter, delay=17, status=sent (smtp2.datautama.net.id)
May 2 22:57:40 proxy02-smg postfix/qmgr[6573]: E7C9C20E997: removed
May 2 22:57:40 proxy02-smg postfix/qmgr[6573]: 490ED20E9E7: from=, size=1125, nrcpt=1 (queue active)
May 2 22:57:40 proxy02-smg clamsmtpd: 100007: accepted connection from: 127.0.0.1
May 2 22:57:40 proxy02-smg postfix/smtpd[6884]: connect from localhost[127.0.0.1]
May 2 22:57:40 proxy02-smg postfix/smtpd[6884]: 5983820E997: client=localhost[127.0.0.1]
May 2 22:57:40 proxy02-smg postfix/cleanup[6877]: 5983820E997: message-id=<481b39d3.20809@datautama.net.id>
May 2 22:57:40 proxy02-smg postfix/qmgr[6573]: 5983820E997: from=, size=1370, nrcpt=1 (queue active)
May 2 22:57:40 proxy02-smg clamsmtpd: 100007: from=harijanto@datautama.net.id, to=harijantopribadi2001@yahoo.com, status=CLEAN
May 2 22:57:40 proxy02-smg postfix/smtp[6882]: 490ED20E9E7: to=, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 Ok: queued as 5983820E997)
May 2 22:57:40 proxy02-smg postfix/smtpd[6884]: disconnect from localhost[127.0.0.1]
May 2 22:57:40 proxy02-smg postfix/qmgr[6573]: 490ED20E9E7: removed
May 2 22:58:23 proxy02-smg postfix/smtp[6886]: 5983820E997: to=, relay=d.mx.mail.yahoo.com[66.196.82.7], delay=43, status=sent (250 ok dirdel)
May 2 22:58:23 proxy02-smg postfix/qmgr[6573]: 5983820E997: removed

Tidak ada komentar: