Discussion:
[maildropl] Maildrop not running properly as virtual user
Priyadarsan Roy
2013-06-07 16:05:27 UTC
Permalink
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
Neil Romig
2013-06-07 17:28:40 UTC
Permalink
This sounds very like the issue I had and which was caused by not using the Courier maildrop package. Ensure you have the correct maildrop!
Post by Priyadarsan Roy
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
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
mail=/var/spool/mail/virtual/pd__2/
maildrop: Changing to /var/spool/mail/virtual
maildrop: Attempting .mailfilter
Tokenized eof
maildrop: Delivery complete.
But when running as virtual user it does not pick up the sender
correctly.
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
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
------------------------------------------------------------------------------
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
_______________________________________________
Courier-maildrop mailing list
https://lists.sourceforge.ne
Priyadarsan Roy
2013-06-07 17:59:14 UTC
Permalink
Hi,

Yes it is the courier-maildrop package.

Regards,
Priyadarsan
Post by Neil Romig
This sounds very like the issue I had and which was caused by not using the Courier maildrop package. Ensure you have the correct maildrop!
Post by Priyadarsan Roy
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
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
mail=/var/spool/mail/virtual/pd__2/
maildrop: Changing to /var/spool/mail/virtual
maildrop: Attempting .mailfilter
Tokenized eof
maildrop: Delivery complete.
But when running as virtual user it does not pick up the sender
correctly.
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
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
------------------------------------------------------------------------------
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
_______________________________________________
Courier-maildrop mailing list
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
------------------------------------------------------------------------------
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
_______________________________________________
Courier-maildrop mailing list
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
--
Netzary InfoDynamics
"Making IT to Work for You"

website : http://www.netzary.com
hand Phone : +91 8088503811
telephone : +91 80 41738665
fax : +91 80 22075212
Sam Varshavchik
2013-06-07 23:14:50 UTC
Permalink
Post by Priyadarsan Roy
Hi,
Yes it is the courier-maildrop package.
The courier-maildrop package is the maildrop subpackage of the Courier mail
server. This version of maildrop can only be used as a part of the full
Courier install, and it is not to be installed, or invoked, separately.
Priyadarsan Roy
2013-06-08 04:51:17 UTC
Permalink
Post by Sam Varshavchik
Post by Priyadarsan Roy
Hi,
Yes it is the courier-maildrop package.
The courier-maildrop package is the maildrop subpackage of the Courier mail
server. This version of maildrop can only be used as a part of the full
Courier install, and it is not to be installed, or invoked, separately.
------------------------------------------------------------------------------
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
Hi,

How do I get maildrop which has mysql support ?

Regards,
Roy
--
Sam Varshavchik
2013-06-08 20:19:18 UTC
Permalink
Post by Priyadarsan Roy
Post by Sam Varshavchik
Post by Priyadarsan Roy
Hi,
Yes it is the courier-maildrop package.
The courier-maildrop package is the maildrop subpackage of the Courier mail
server. This version of maildrop can only be used as a part of the full
Courier install, and it is not to be installed, or invoked, separately.
Hi,
How do I get maildrop which has mysql support ?
You need to first compile and install courier-authlib:

http://www.courier-mta.org/authlib/

Follow the instructions in its INSTALL to configure your MySQL schema, and
to test the authentication library. Do not proceed until you've succesfully
used the authtest tool to verify that your MySQL configuration is working.

After authtest works, you can proceed and install maildrop:

http://www.courier-mta.org/maildrop/

Follow the instructions in maildrop's INSTALL file that's specific to the
courier-authlib package.

It's likely that your platform might already have pre-built courier-authlib
and maildrop packages that can be used. If so, see their documentation for
installing and configuring those packages.
Priyadarsan Roy
2013-06-10 04:57:07 UTC
Permalink
Post by Sam Varshavchik
Post by Priyadarsan Roy
Post by Sam Varshavchik
Post by Priyadarsan Roy
Hi,
Yes it is the courier-maildrop package.
The courier-maildrop package is the maildrop subpackage of the Courier mail
server. This version of maildrop can only be used as a part of the full
Courier install, and it is not to be installed, or invoked, separately.
Hi,
How do I get maildrop which has mysql support ?
http://www.courier-mta.org/authlib/
Follow the instructions in its INSTALL to configure your MySQL schema, and
to test the authentication library. Do not proceed until you've succesfully
used the authtest tool to verify that your MySQL configuration is working.
http://www.courier-mta.org/maildrop/
Follow the instructions in maildrop's INSTALL file that's specific to the
courier-authlib package.
It's likely that your platform might already have pre-built courier-authlib
and maildrop packages that can be used. If so, see their documentation for
installing and configuring those packages.
------------------------------------------------------------------------------
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
Hi,

Thanks for the inputs. In ubuntu 12.04 I saw a separate package called
maildrop. This works perfectly fine.

Regards,
Roy

Loading...