View Single Post
  #19  
Old 23rd March 2009, 23:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Quote:
root@virt3:/var/log# su vmail
sh-3.2$ /usr/bin/maildrop -d vmail webmaster@mydomain.com
ERR: authdaemon: s_connect() failed: Permission denied
^Cmaildrop: signal 0x02
The correct line in master.cf is:

Code:
maildrop  unix  -       n       n       -       -       pipe
  flags=R user=vmail argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}
If you want to run this manually you have to provide all options and not just one option as you did. The full command is:

/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}

and you will have to replace every variable with the correct content that is used by postfix.

If you want to know more about the delivery process, better use debugging instead of trying to execute things manually:

http://www.courier-mta.org/maildrop.html

http://www.courier-mta.org/maildropfilter.html#log

You can not execute the maildrop script like this, it has to be exc
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote