develooper Front page | perl.qpsmtpd | Postings from January 2007

Re: How to get started with qpsmtpd?

Thread Previous | Thread Next
John Peacock
January 24, 2007 06:34
Re: How to get started with qpsmtpd?
Message ID:
Hans Salvisberg wrote:
> This returns "/root/tmp/" when running as root, i.e. it uses the current 
> user, no matter which  -u user  is set. If I hard-wire
>    $Spool_dir = "/home/smtpd/tmp/";
> on the next line, then I can run  ./qpstmpd-forkserver  successfully.
> Without that hack, I can only run it with  -u root  -- is this a bug in 

No, that is merely the fallback behavior.  Create a "config/spool_dir" 
file with the path to where you want the temporary spool files to go and 
you should be good to go.  You should *not* need to run qpsmtpd as root 
(indeed that would be a bad idea).


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About