On Tue, 2 Aug 2011 13:49:14 -0600
Remo Mattei <[email protected]> wrote:

Hello Remo,


> hello guys I have this script but does when I try to release a msg it never 
> makes it to my inbox. any suggestions?
> 
> 
> #!/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
> 
> 
> in dspam.conf I have this line
> 
> TrustedDeliveryAgent "/usr/local/bin/dspamdel.sh"
> 
> 
> ls -l /usr/local/bin/dspamdel.sh 
> -rwxr-x--- 1 vpopmail apache 414 Aug 26  2010 /usr/local/bin/dspamdel.sh
> 
unfortunately I can not help here since I don't use Qmail. The only thing I can 
offer is trying another method of delivering. Maybe something like this? (I 
don't know vpopmail at all. Have only quickly used Google to see options it 
supports):
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#!/bin/bash
[ "${1}" = "-d" ] && shift;
[ -z "${1}" ] && exit 69;
[ ! -x "/home/vpopmail/bin/vuserinfo" ] && exit 69;
[ ! -x "/home/vpopmail/bin/vdelivermail" ] && exit 69;
VHOME="$(/home/vpopmail/bin/vuserinfo -d ${1})" /home/vpopmail/bin/vdelivermail 
'' bounce-no-mailbox;
exit ${?};
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Or something like this:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#!/bin/bash
[ "${1}" = "-d" ] && shift;
[ -z "${1}" ] && exit 69;
[ ! -x "/home/vpopmail/bin/vdelivermail" ] && exit 69;
EXT="${1/@*}" HOST="${1/*@}" /home/vpopmail/bin/vdelivermail '' 
bounce-no-mailbox;
exit ${?};
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Maybe Hugo is better in responding those Qmail related issues since he is using 
(I think) Qmail.


> 
> Remo Mattei
> [email protected]
> 
-- 
Kind Regards from Switzerland,

Stevan Bajić

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to