On 17/3/25 18:13, Robert Schetterer via Postfix-users wrote:
Am 17.03.25 um 07:21 schrieb Paul Neuwirth via Postfix-users:
On Sun, 16 Mar 2025 17:29:00 +0100
Jaroslaw Rafa via Postfix-users <postfix-users@postfix.org> wrote:
Dnia 16.03.2025 o godz. 15:51:42 Paul Neuwirth via Postfix-users
pisze:
Yes that's the problem. It should work like that (and does now - see
further below): I manually identify false-spam and move the mail to
LearnAsHam folder. The cron should make spamassassin learn it as ham
and (after re-spam-checking to get rid of X-Spam-Flag) send it
again to me.
Why send the mail again to you instead of just moving it from
LearnAsHam folder to your main inbox folder? If you are using Maildir
format for mail storage (which is recommended and de facto standard
nowadays), then you can do that with a simple "mv" command.
I use imap/dovecot. if there's another way to fetch mail and then move
it would be nice.
Don't know enough about the storage mechanism. I have ~/mail
directories, but all mails of a folder seem to be in one file.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
i.e use getmail via
https://pyropus.ca./software/getmail/
[SNIP]
I second using getmail, it's far more robust than fetchmail, and for me
procmail deals with address and subject faffery.
There are a couple of drawbacks:
- It is Python 2, if you don't know how to maintain a functioning Python
2 environment you're stuffed. (There is/was an unofficial 'port to
Python 3, to my knowledge it has never worked properly.)
- The pyropus mailing-list server is problematic, getting support can be
difficult.
Cheers,
Gary B-)
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org