Maildrop not running properly as virtual user

Priyadarsan Roy <[email protected]>
Newsgroups gmane.mail.maildrop
Organization Netzary InfoDynamics
Message-ID <1370621127.4004.18.camel@pdlaptop>
Hi,

My maildrop does not seem to take the values for $HOME properly when
running as virutal user. Find below the resuls when 

When running as root user it picks up the sender correctly as below

root@vlsmail:/etc/courier# echo "test" | /usr/bin/maildrop -V 9 -d
[email protected]

maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: [email protected], home=/var/spool/mail/virtual,
mail=/var/spool/mail/virtual/pd__2/
maildrop: Changing to /var/spool/mail/virtual
Message start at 0 bytes, envelope [email protected]
maildrop: Attempting .mailfilter
Tokenized eof
maildrop: Delivery complete.


But when running as virtual user it does not pick up the sender
correctly.


virtual@vlsmail:~$ echo "test" | /usr/bin/maildrop -V 9 -d [email protected]
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: [email protected], home=/var/spool/mail/virtual,
mail=/var/spool/mail/virtual/pd__2/
maildrop: Changing to /home/virtual
Message start at 0 bytes, envelope sender=virtual
maildrop: Attempting .mailfilter
maildrop: Delivering to ./Maildir
maildrop: Flock()ing ./Maildir.
maildrop: Appending to ./Maildir.
maildrop: Delivery complete.

It is delivering the mail to /home/virtual

Would appreciate much help in resolving this issue.

Regards,
Roy




------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
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.