View Single Post
  #5  
Old 5th May 2009, 17:01
redeprotegida redeprotegida is offline
Junior Member
 
Join Date: Apr 2009
Posts: 23
Thanks: 9
Thanked 1 Time in 1 Post
Default

i fixed it changing the .autoresponder file

`test -f /var/vmail/mailfilters/$HOST/$USER/.vacation.msg && exit 1 || exit 0`
if ($RETURNCODE==1)
{
{
if (!/^List-Unsubscribe:.*/:h )
{
if (!/^X-Spam-Flag: YES/:h )
{
RESPOND="/var/vmail/mailfilters/$HOST/$USER/.vacation.msg"
RESPONDDB="/var/vmail/mailfilters/$HOST/$USER/.vacation.lst"

# The following must be one contiguous line
cc "| mailbot -t $RESPOND -d $RESPONDDB -D 1 \
-A 'From: diego@redeprotegida.com.br' -s 'Auto Response: from $RECIPIENT' \
/usr/sbin/sendmail -t -f ''"
}
}
}
}


i found a bug...
the From: was $RECIPIENT, so this variable is imput...

please tellme wich php file generate this .autoresponder then ill edit it to generate a line like this:

-A 'From: vacation@redeprotegida.com.br' -s 'Auto Response: from Redeprotegida.com.br' \

cause i need smt automatic, i cant go there and edit the file for all clients that want to enable autoresponder..

thanks
Reply With Quote