Header_Checks & empty Return-Path expression

2017-05-29 Thread rolelael
Hello I'm trying to accomplish the following : If the return-path is <> ( empty ) then do the following ; if domain is robbya.be or robbyb.be route via mailrobby.test.com ; if domain is robbyc.be then route via mailrobby2.test.com if /^Return-Path:\s**$/ /(^From:.*robbya\.be|^From:.*robbyb\.be

Re: Is there any documentation on the binary format of the mail files under /var/spool/postfix/ ?

2017-05-29 Thread Scott Lambert
On Mon, May 29, 2017 at 10:34:11AM +0200, Bastian Blank wrote: > On Sun, May 28, 2017 at 04:07:08PM -0700, Hubro wrote: > > I have already made similar scripts, but the issue is that it runs "postcat" > > and "postsuper" once for every queue ID, so it becomes absolutely unusable > > when needing to

Re: Spam Quarantine Folder

2017-05-29 Thread Henry
On Mon, May 29, 2017 at 8:43 PM, Patrick Ben Koetter wrote: > * Henry : >> Firstly I am unsure if this question is related to Postfix, >> Spamassasin, Amavasid.. > > amavis > >> I am using Kolab for email and almost everything is working well with >> spam being partially filtered. >> >> My problem

Re: Is there any documentation on the binary format of the mail files under /var/spool/postfix/ ?

2017-05-29 Thread Wietse Venema
Hubro: > My bad, I had no idea xargs and find could do that. That is extremely cool! I agree, ``find | xargs postcat...'' is practically as good as having postcat read queue file names from stdin. Combine with a filter that pipes queue IDs into ``postsuper -d -'', and the whole thing will be as f

Re: Spam Quarantine Folder

2017-05-29 Thread Patrick Ben Koetter
* Henry : > Firstly I am unsure if this question is related to Postfix, > Spamassasin, Amavasid.. amavis > I am using Kolab for email and almost everything is working well with > spam being partially filtered. > > My problem is when spam is moved to quarentine is it moved to > "/var/lib/amavis/v

Re: Is there any documentation on the binary format of the mail files under /var/spool/postfix/ ?

2017-05-29 Thread Hubro
My bad, I had no idea xargs and find could do that. That is extremely cool! -- View this message in context: http://postfix.1071664.n5.nabble.com/Is-there-any-documentation-on-the-binary-format-of-the-mail-files-under-var-spool-postfix-tp90656p90673.html Sent from the Postfix Users mailing list

Spam Quarantine Folder

2017-05-29 Thread Henry
Firstly I am unsure if this question is related to Postfix, Spamassasin, Amavasid.. I am using Kolab for email and almost everything is working well with spam being partially filtered. My problem is when spam is moved to quarentine is it moved to "/var/lib/amavis/virusmails" https://wiki.kolab.or

Re: Is there any documentation on the binary format of the mail files under /var/spool/postfix/ ?

2017-05-29 Thread Bastian Blank
On Sun, May 28, 2017 at 04:07:08PM -0700, Hubro wrote: > I have already made similar scripts, but the issue is that it runs "postcat" > and "postsuper" once for every queue ID, so it becomes absolutely unusable > when needing to delete tens- or hundreds of thousands of emails. Why do you have tens