Thanks for the help solar,

Now it runs as daemon. Now, I get an issue authenticating users. I have a user 
foo,

When I do

telnet localhost:110
+OK
USER foo
+OK
PASS something
-ERR
Connection closed by foreign host

Maildir exists and the password is right. What is happening?

On 21 October 2023 4:31:29 am IST, Solar Designer <so...@openwall.com> wrote:
>Hi,
>
>On Fri, Oct 20, 2023 at 10:43:27PM +0530, Sagar Acharya wrote:
>> I want to run it as pop3 server in alpine as daemon.
>> 
>> When I execute
>> 
>> popa3d -D at start, it does not start in background. A +OK is thrown at 
>> stdout and the program runs in foreground.
>
>That's because this functionality is not compiled in by default.  You
>need to edit the POP_STANDALONE line in params.h changing the value from
>0 to 1, and recompile:
>
>/*
> * Are we going to be a standalone server or start via an inetd clone?
> */
>#define POP_STANDALONE                 0
>
>> Also, I have applied Maildir patch, will it automatically be able to access 
>> mails under respective user ~/Maildir directories?
>
>I think so.
>
>Alexander

Reply via email to