Re: Unknown euid and egid, wrong mail directory

2021-01-30 Thread Aki Tuomi
> On 30/01/2021 22:51 Michael Agbaglo wrote: > > > Hi! > > > Trying to set up dovecot for local accounts and virtual users, sending > test mail fails: dovecot sees a permission problem in /home but the mail > should go to /srv/mail/example.net/alice. > > "euid=1001() egid=1001()" 1001 does

Re: Processing incoming mail efficiently

2021-01-30 Thread Ron Garret
Just for the record, here is my approach to my spam filter design just in case anyone is interested. Design goals: 1. It should Just Work with an absolute minimum amount of user intervention and training required. That said, there are cases where user intervention will be necessary. In part

Unknown euid and egid, wrong mail directory

2021-01-30 Thread Michael Agbaglo
Hi! Trying to set up dovecot for local accounts and virtual users, sending test mail fails: dovecot sees a permission problem in /home but the mail should go to /srv/mail/example.net/alice. "euid=1001() egid=1001()" 1001 doesn't not exist in /etc/passwd - Where does it come from? M. root@bro

RE: Processing incoming mail efficiently

2021-01-30 Thread Marc Roos
> -Original Message- > From: dovecot On Behalf Of Ron Garret > Sent: 30 January 2021 17:49 > To: Dovecot > Subject: Processing incoming mail efficiently > > I’ve asked a related question on this list before but I now have a much > better handle on what I’m doing and I realize that I st

Re: Processing incoming mail efficiently

2021-01-30 Thread Ron Garret
On Jan 30, 2021, at 11:54 AM, Tom Hendrikx wrote: > IMHO you're still trying to re-invent the wheel :) I don’t deny that. The goal of this project is as much (maybe more) to be a learning experience as it is to produce something useful. FWIW, there are two reasons I don’t want to use a non-

Re: Processing incoming mail efficiently

2021-01-30 Thread Tom Hendrikx
On 30-01-2021 19:11, Ron Garret wrote: Sorry, I left out a few details. The filter actually has two parts, one of which is on the MTA side (a milter). That part does things like keep track of outgoing mail from authorized users so that it knows when an incoming message has a subject line t

Undefined SSL object

2021-01-30 Thread Frank Elsner
Hi community, when doing imapsync to my dovecot server (Host2) I get the following Host2 capability before authentication: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH DEBUG: .../IO/Socket/SSL.pm:1117: global error: Undefined SSL object Host2: Soc

Re: Processing incoming mail efficiently

2021-01-30 Thread Ron Garret
Sorry, I left out a few details. The filter actually has two parts, one of which is on the MTA side (a milter). That part does things like keep track of outgoing mail from authorized users so that it knows when an incoming message has a subject line that a user has sent out or is from a sender

Re: Processing incoming mail efficiently

2021-01-30 Thread Tom Hendrikx
On 30-01-2021 17:49, Ron Garret wrote: I’ve asked a related question on this list before but I now have a much better handle on what I’m doing and I realize that I still don’t know the answer, so I’m going to ask this again in a slightly different form. I’m writing a spam filter, so obvious

Processing incoming mail efficiently

2021-01-30 Thread Ron Garret
I’ve asked a related question on this list before but I now have a much better handle on what I’m doing and I realize that I still don’t know the answer, so I’m going to ask this again in a slightly different form. I’m writing a spam filter, so obviously I need to feed incoming mail to it someh

What is the right way to move messages between mailboxes?

2021-01-30 Thread Ron Garret
I’m working on a spam filter. Incoming messages are sent to an “incoming” folder (via a sieve script) where they are processed by the filter and moved either to INBOX or Junk. My question is: what is the right way to effect this move? Can I just mv the file? With Dovecot automatically notice