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

Re: How to get started with qpsmtpd?

Thread Previous | Thread Next
From:
John Peacock
Date:
January 24, 2007 06:34
Subject:
Re: How to get started with qpsmtpd?
Message ID:
45B76E5B.1020706@rowman.com
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 
> Qpsmtpd.pm?

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).

John

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About