Title: Autoreply not working

Hello,

I'm not able of setting up autoreply messages and I need your help.

I have:
DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"

I'm sending mail to <[EMAIL PROTECTED]> and the log says:

Feb 19 09:56:49 m3lnxsva01 courierd: started,id=00110048.3E5346CF.00001BD2,from=
<[EMAIL PROTECTED]>,module=local,[EMAIL PROTECTED]!!501!501!/mnt/buzone
s/p/pruebahosting.com/test!/mnt/buzones/p/pruebahosting.com/test!,addr=<test@pru
ebahosting.com>
Feb 19 09:56:49 m3lnxsva01 courierd: Waiting.  shutdown time=none, wakeup time=W
ed Feb 19 10:00:36 2003, queuedelivering=42, inprogress=1
Feb 19 09:56:49 m3lnxsva01 courierlocal: id=00110048.3E5346CF.00001BD2,from=<rlg
[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=175,success: Message delivered
.

I have in /mnt/buzones/p/pruebahosting.com/test the following:
[correo@m3lnxsva02 test]$ ls -la
total 352
drwx------   11 correo   correo       4096 feb 19 09:53 .
drwx------  205 correo   correo       8192 ene  9 16:39 ..
-rw-r--r--    1 correo   correo         93 feb 17 15:17 courierimapsubscribed
-rw-r--r--    1 correo   correo       1368 feb 19 09:53 courierimapuiddb
drwx------    2 correo   correo     155648 feb 19 09:53 cur
drwx------    5 correo   correo       4096 ene 20 18:12 .listas
-rw-------    1 correo   correo        188 feb 19 09:49 .mailfilter
drwx------    2 correo   correo     139264 feb 19 09:53 new
drwx------    2 correo   correo       4096 feb 19 09:53 tmp
drwx------    5 correo   correo       4096 ene 20 17:36 .Trash
-rw-rw-r--    1 correo   correo         14 feb 18 19:13 vaca
-rw-rw-r--    1 correo   correo         14 feb 19 09:40 vacation.msg

And the contents of .mailfilter are (adapted from maildropex):
[correo@m3lnxsva02 test]$ cat .mailfilter
cc $DEFAULT
xfilter "reformail -r -t"
/^To:.*/
getaddr($MATCH) =~ /^.*/;

MATCH=tolower($MATCH)

#for testing
`echo "$MATCH" >>vacation.lst ;`

to "| ( cat - ; echo ''; cat vacation.msg) | $SENDMAIL"
########################################################


I have no message as reply, and the echo doesn't create vacation.lst file. I think that .mailfilter is not beeing read.

What am I doing wrong?

Thanks for your help.

Regards.
Ra�l.


_____________________________________________________________
Uni2 Telecomunicaciones, S.A.U.
Aviso legal:

Este mensaje electr�nico est� dirigido �nicamente a la(s) direcci�n(es) indicadas anteriormente; el car�cter confidencial, personal e intransferible del mismo est� protegido legalmente. Cualquier revelaci�n, uso o reenv�o no autorizado, completo o en parte, est� prohibido.

Si ha recibido este mensaje por equivocaci�n, notif�quelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente.

Gracias

Reply via email to