Priyadarsan Roy
2013-06-07 16:05:27 UTC
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
***@vlsmail:/etc/courier# echo "test" | /usr/bin/maildrop -V 9 -d
***@ysc.co.in
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: logname=***@ysc.co.in, 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 sender=***@ysc.co.in
maildrop: Attempting .mailfilter
Tokenized eof
maildrop: Delivery complete.
But when running as virtual user it does not pick up the sender
correctly.
***@vlsmail:~$ echo "test" | /usr/bin/maildrop -V 9 -d ***@ysc.co.in
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: logname=***@ysc.co.in, 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
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
***@vlsmail:/etc/courier# echo "test" | /usr/bin/maildrop -V 9 -d
***@ysc.co.in
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: logname=***@ysc.co.in, 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 sender=***@ysc.co.in
maildrop: Attempting .mailfilter
Tokenized eof
maildrop: Delivery complete.
But when running as virtual user it does not pick up the sender
correctly.
***@vlsmail:~$ echo "test" | /usr/bin/maildrop -V 9 -d ***@ysc.co.in
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: logname=***@ysc.co.in, 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