lmco / laikaboss

Laika BOSS: Object Scanning System
Apache License 2.0
732 stars 155 forks source link

PF spawns laikamilter #87

Open howtotalktogirlsatparties opened 1 year ago

howtotalktogirlsatparties commented 1 year ago

I set PF to talk to Laika but I have fixed that and updated this comment, look at psaux | gerp laikamilter ,this was trying to spawn laikamilter.py from master.cf and that was a failure.

smtpd_milters = inet:<my hosts IP>:7226

I seen similar thread, any ideas?

Montana commented 1 year ago

Hi @howtotalktogirlsatparties,

You have to remember that in header/body content, Postfix may rewrite or reject header/body content before it stores that content in the queue file; Postfix stores the same header/body content as when no Milters are configured. If Postfix does not reject the header/body content, Postfix passes it to the first configured Milter which may modify or reject that content or may modify the stored envelope. If the first Milter does not reject the header/body content, Postfix passes it to the second configured Milter, and so on.

In Lockheed Martin's case, Postfix talks to laikamilter via the milter protocol (you configured this above), which keeps allowing call backs all the way until the end of the message.

Try setting up this line:

smtpd_milters = inet:<my hosts IP>:(hostname)

Cheers, Montana Mendy

howtotalktogirlsatparties commented 1 year ago

this makes more sense

Montana commented 1 year ago

Is this solved so I can close this, @howtotalktogirlsatparties?