Re: [Dspam-user] Problems with DSPAM integration into postfix (too)
Brought to you by:
paulcockings,
sbajic
From: Imposit.com - W. <web...@im...> - 2009-09-26 10:57:57
|
Hello, Try the following for mailbox command: Main.cf mailbox_command = /usr/local/dspam380/bin/dspam --deliver=innocent --user $USER -- -d %u Dspam conf Trust mail Trust postfix For delivery I use the trustedeliveryagent "pathtoagent" Or for untrusted delivery agent you have to "pathtoagent -d %u" Try this. If its still doenst work go into your logs somwhere you have to find which dam user he try to use and fail -----Ursprüngliche Nachricht----- Von: kateznik [mailto:kat...@fr...] Gesendet: Samstag, 26. September 2009 12:26 An: dsp...@li... Betreff: Re: [Dspam-user] Problems with DSPAM integration into postfix (too) Hi, Well, still searching for a working setting of dspam on my new server, I am still confused : 1/ I tried several options in ServerParameter, not to avail. 2/ I modified my settings to use mailbox_command in postfix's main.cf : 8<---------- mailbox_command = /usr/bin/dspam --deliver=innocent --user ${user} -- -d %u 8<--------- This effectively sends mail to dspam, and they are well sorted by dspam (ie a mail to test@myserver goes in the same user as a mail to test). But I still get rights error when delivering to cyrus : 8<--- Sep 26 12:09:55 dspam[31008]: Connection to socket /var/run/cyrus/socket/lmtp failed: Permission denied Sep 26 12:09:55 dspam[31008]: Unable to connect to server 8<--- I verified the rights on the socket AND the directory leading to it : /var : 755 root:root (drwxr-xr-x) /var/run : 755 root:root /var/run/cyrus : 755 cyrus:mail /var/run/cyrus/socket : 750 cyrus:mail (drwxr-x---) /var/run/cyrus/socket/lmtp : 777 srwxrwxrwx root:root (srwxrwxrwx) Both users dspam and test are in the mail group, and I still get rights error !!! What confuse me the most is that when I use lmtp in postfix (mailbox_transport = lmtp:unix:/var/run/dspam/dspam.sock), I have no right error but as soon as I use the transport in master.cf (dspam unix - n n - 10 pipe flags=Ru user=dspam argv=/usr/bin/dspam --client --deliver=innocent --user $user -i -f $sender -- $recipient) or the mailbox_command above I have a right error. Any clues ? -- K@ Teznik <kat...@fr...> You need only reflect that one of the best ways to get yourself a reputation as a dangerous citizen these days is to go about repeating the very phrases which our founding fathers used in the struggle for independance. - Anonymous |