Hello all, I am currently setting up a new mail server with Qmail, OpenLDAP and Dovecot in CentOS-4.4. Qmail version is 1.03, OpenLDAP is 2.3 and Dovecot version is dovecot-1.0-3_50.rc27(RPM). I have successfully installed and tested it. But I have two issues with the current setup: #1. I am using dovecot LDA and configured the OpenLDAP such that the mail be delivered to the virtual users through a script. This script is saved in /var/qmail/bin/deliver.sh and the contents is as follows: /usr/bin/dspam --stdout --mode=tum --deliver=innocent,spam --feature=chained,noise --user global |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $RECIPIENT || exit 77 This script name is mentioned in each user's deliveryProgramPath in the LDAP. I am not sure whether this is the best approach of using dovecot as MDA. I tried to include the following contents in /var/qmail/control/defaultdelivery : |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $RECIPIENT But it seems that this is not working as desired. Please comment, if I have gone wrong anywhere. #2: I wish to use dspam to filter out the spam messages, but I am unsure whether the dspam plugin mentioned in http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration is already in the dspam version I am using. If it's available please give details to configure it. Kindly share ideas. regards Manilal. -- Better to light one candle than to curse the darkness. Blog: http://librewings.blogspot.com Blog: http://flossvalley.blogspot.com
On Mon, 2007-04-02 at 12:58 +0530, Manilal K M wrote:> #1.[...] No idea. Maybe the dspam and/or qmail manual helps?> #2: > I wish to use dspam to filter out the spam messages, but I am unsure > whether the dspam plugin mentioned in > http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration > is already in the dspam version I am using. If it's available please > give details to configure it.dspam will never include the plugin, and nor will dovecot since it's just a bridge between the two. You need to read and understand that page and then compile the plugin yourself. johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070402/bbc23e45/attachment.bin>
On 03/04/07, Johannes Berg <johannes at sipsolutions.net> wrote:> On Mon, 2007-04-02 at 12:58 +0530, Manilal K M wrote: > > > #1. > [...] > > No idea. Maybe the dspam and/or qmail manual helps? > > > #2: > > I wish to use dspam to filter out the spam messages, but I am unsure > > whether the dspam plugin mentioned in > > http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration > > is already in the dspam version I am using. If it's available please > > give details to configure it. > > dspam will never include the plugin, and nor will dovecot since it's > just a bridge between the two. You need to read and understand that page > and then compile the plugin yourself. > > johannes > >Thanks Jonannes for your comments. I am also trying to explore other possibilities. regards Manilal -- Better to light one candle than to curse the darkness. Blog: http://librewings.blogspot.com Blog: http://flossvalley.blogspot.com