Hi,
>> ¿Any hint?
>
> Run a test mail through it manually, call it test.eml (full email,
> with headers, but not with a leading Delivered-To header) :
>
> maildrop -d $localuser -f $remoteuser< test.eml
This was a good hint. I tried with verbose mode and...
# maildrop -V20 -d pru00108 -f fgozalo@... < test.eml
maildrop: authlib: groupid=512
maildrop: authlib: userid=512
maildrop: authlib: logname=pru00108,
home=/home/buzones//interno/p/r/pru00108,
mail=/home/buzones//interno/p/r/pru00108/Maildir
maildrop: Changing to /home/buzones//interno/p/r/pru00108
Message start at 0 bytes, envelope sender=fgozalo@...
Tokenized cc
Tokenized string: "fgozalo@..."
Tokenized ;
Tokenized eof
maildrop: Delivering to fgozalo@...
maildrop: Flock()ing fgozalo@....
maildrop: Appending to fgozalo@....
maildrop: Delivery complete.
maildrop: Attempting .mailfilter
maildrop: Delivery complete.
So /etc/maildroprc is read, but no message delivered to
"fgozalo@...".
I need to change the filter
# cat /etc/maildroprc
cc "!fgozalo@..."
to see the behaviour expected:
# maildrop -V20 -d pru00108 -f fgozalo@... < test.eml
maildrop: authlib: groupid=512
maildrop: authlib: userid=512
maildrop: authlib: logname=pru00108,
home=/home/buzones//interno/p/r/pru00108,
mail=/home/buzones//interno/p/r/pru00108/Maildir
maildrop: Changing to /home/buzones//interno/p/r/pru00108
Message start at 0 bytes, envelope sender=fgozalo@...
Tokenized cc
Tokenized string: "!fgozalo@..."
Tokenized ;
Tokenized eof
maildrop: Delivering to |/usr/sbin/sendmail -oi -f '' fgozalo@...
maildrop: Delivery complete.
maildrop: Attempting .mailfilter
maildrop: Delivery complete.
Thanks,
Fernando.
--
---------------------------------------------------------------
Fernando Gozalo Rodrigo - Analista de Sistemas
Centro de Sistemas Informáticos
Universidad Nacional de Educación a Distancia
---------------------------------------------------------------
Por favor, no envíe adjuntos de WORD, EXCEL o POWERPOINT
Vea http://www.gnu.org/philosophy/no-word-attachments.es.html
---------------------------------------------------------------
|