Re: maildrop doesn't read /etc/maildroprc

Fernando Gozalo <[email protected]>
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
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 [email protected] < 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 [email protected]
Tokenized cc
Tokenized string: "[email protected]"
Tokenized ;
Tokenized eof
maildrop: Delivering to [email protected]
maildrop: Flock()ing [email protected].
maildrop: Appending to [email protected].
maildrop: Delivery complete.
maildrop: Attempting .mailfilter
maildrop: Delivery complete.

So /etc/maildroprc is read, but no message delivered to 
"[email protected]".

I need to change the filter

# cat /etc/maildroprc
cc "[email protected]"

to see the behaviour expected:

# maildrop -V20 -d pru00108 -f [email protected] < 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 [email protected]
Tokenized cc
Tokenized string: "[email protected]"
Tokenized ;
Tokenized eof
maildrop: Delivering to |/usr/sbin/sendmail -oi -f '' [email protected]
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
---------------------------------------------------------------


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.