Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231021142953.GA10799@openwall.com>
Date: Sat, 21 Oct 2023 16:29:53 +0200
From: Solar Designer <solar@...nwall.com>
To: popa3d-users@...ts.openwall.com
Subject: Re: Running as daemon in Alpine

On Sat, Oct 21, 2023 at 02:42:57PM +0530, Sagar Acharya wrote:
> Logs show,
> 
> authentication passed
> Failed or refused to load /var/mail/foo
> 
> But there is no foo in /var/mail
> I was expecting it to load mails from /home/foo/Maildir

Looking at the code (popa3d-1.0.3 and popa3d-0.5.9-maildir-2.diff), I
see that the "Failed or refused to load" message with the mailbox path
can also appear when the actual load attempt was of a Maildir and not
mailbox.  However, I also see that with that patch's default settings
it'd be trying to load the Maildir from under /var/mail.

I think you need to change two settings in params.h:

1. Undefine MAIL_SPOOL_PATH, such as by replacing this line:

#define MAIL_SPOOL_PATH			"/var/mail"

with:

#undef MAIL_SPOOL_PATH

2. Change the mailbox file/directory name by editing this line:

#define HOME_MAILBOX_NAME		"Mailbox"

to be:

#define HOME_MAILBOX_NAME		"Maildir"

Does this help?

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.