RSS
 

Warning: mail_queue_enter: create file maildrop Permission denied

08 Sep

Beberapa minggu ini, salah satu DNS server sering hang. Service server yang berjalan menunjukkan, terdapat layanan email yang berjalan looping dan tidak wajar.

Pada /var/log/mail.log terdapat report seperti:

Sep 8 11:10:07 ns1 postfix/sendmail[1936]: fatal: www-data(33): unable to execute /usr/sbin/postdrop -r: Permission Denied

Sep 8 11:10:07 ns1 postfix/sendmail[1942]: fatal: www-data(33): unable to execute /usr/sbin/postdrop -r: Permission Denied

Sep 8 11:10:07 ns1 postfix/sendmail[1971]: fatal: www-data(33): unable to execute /usr/sbin/postdrop -r: Permission Denied

Sep 8 11:25:51 ns1 postfix/sendmail[2000]: fatal: www-data(33): unable to execute /usr/sbin/postdrop -r: Permission Denied

Sep 8 11:25:51 ns1 postfix/sendmail[1994]: fatal: www-data(33): unable to execute /usr/sbin/postdrop -r: Permission Denied

Sep 8 11:25:51 ns1 postfix/sendmail[1985]: fatal: www-data(33): unable to execute /usr/sbin/postdrop -r: Permission Denied

Sep 8 11:37:46 ns1 postfix/sendmail[2010]: fatal: www-data(33): unable to execute /usr/sbin/postdrop -r: Permission Denied

Sep 8 11:37:46 ns1 postfix/sendmail[2016]: fatal: www-data(33): unable to execute /usr/sbin/postdrop -r: Permission Denied

Untuk membuang pesan ini, dapat dilakukan dengan cara:

root@ns1:/var/spool/postfix# postfix check

postfix/postfix-script: warning: not owned by group postdrop: /var/spool/postfix/public

postfix/postfix-script: warning: not owned by group postdrop: /var/spool/postfix/maildrop

Dan.. solusi agar tidak hang lagi, kita dapat melakukan:

root@ns1:/var/spool/postfix# /etc/init.d/postfix stop
root@ns1:/var/spool/postfix# killall -9 postdrop
root@ns1:/var/spool/postfix# chgrp -R postdrop /var/spool/postfix/public
root@ns1:/var/spool/postfix# chgrp -R postdrop /var/spool/postfix/maildrop/
root@ns1:/var/spool/postfix# postfix check
root@ns1:/var/spool/postfix# postfix reload
 
4 Comments

Posted in Linux

 

Leave a Reply

 

 
  1. Dhanank Perdhana

    October 3, 2010 at 7:59 pm

    Lho? Apa hubungannya matinya service DNS dengan berubahnya group owner direktori /var/spool/postfix..?? :-/

     
  2. bodi

    February 8, 2012 at 1:09 am

    kalau DNS server lebih baik menggunakan distro apa ???

     
    • Avatar of slamet

      slamet

      April 3, 2012 at 5:56 pm

      distro apa saja boleh, yg penting bisa memanfaatkan secara maksimal

       
  3. Holley

    April 1, 2013 at 10:00 pm

    My brother suggested I might like this blog.

    He was entirely right. This post actually
    made my day. You cann’t imagine simply how much time I had spent for this info! Thanks!