Here is mine..
#!/bin/bash
# "Reading" variables.
if [ "$1" == "-d" ]; then
USER=`echo $2 | sed 's/@/ /g' | awk '{print $1}'`
DOMAIN=`echo $2 | sed 's/@/ /g' | awk '{print $2}'`
EXT=$USER HOST=$DOMAIN /home/vpopmail/bin/vdelivermail '' $2
else
USER=`echo $1 | sed 's/@/ /g' | awk '{print $1}'`
DOMAIN=`echo $1 | sed 's/@/ /g' | awk '{print $2}'`
EXT=$USER HOST=$DOMAIN /home/vpopmail/bin/vdelivermail '' $1
fi
~
I use vpopmail it's a sh script you need to replace this line in the
dspam.conf to make it work..
TrustedDeliveryAgent "/home/vpopmail/bin/dspamdel.sh" # Linux
Ciao
Remo
On 11/20/09 10:25 AM, "Hugo Monteiro" <[email protected]> wrote:
> Gary M wrote:
>> Hi Paul,
>>
>> The Dspam version is: *DSPAM Anti-Spam Suite 3.8.0 (agent/library)*
>>
>> OS/Architecture : *CentOS 5.4/x86_64*
>>
>> Web Server: *Apache/2.2.8*
>> MTA: *Qmail*
>>
>> /Dspam config:/ *http://pastebin.com/m63a16df6*
>>
>>
>> Regards,
>> Gary.
>>
>
>
>
> Hello Gary,
>
>
> Although you can deliver the messages directly with an LDA, i've been
> using, with great success, the re-injection of the quarantined messages
> into qmail again. This is a more general setup which will both work for
> gateways or endpoint storage servers.
>
> That's the excerpt from my web-ui configuration file.
>
>
> $CONFIG{'DSPAM_ARGS'} = "--deliver=innocent --class=innocent
> --feature=whitelist,noise,chained " .
> "--source=error --user %CURRENT_USER% --stdout " .
> "| /var/qmail/bin/qmail-inject %CURRENT_USER%";
>
>
> Regards,
>
> Hugo Monteiro.
>
>> ------------------------------------------------------------------------
>>
>>
----------------------------------------------------------------------------->>
-
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Dspam-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspam-user
>>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user