ColumPaget / Mimeguard

allows policies to be set for filetypes in emails
GNU General Public License v3.0
0 stars 0 forks source link

Postfix integration #1

Open buzzzo opened 7 years ago

buzzzo commented 7 years ago

Is it possible to integrate mimeguard at smtp level?

ColumPaget commented 7 years ago

What's needed to acheive this? I use it with an smtp server, but it's my own one so It's written to make this easy.

buzzzo commented 7 years ago

The use case is when you have a mail relay in front of your real mail server. So you don't need to have a path with mail files , but rather the mail is scanned in real time by a content filter installed on the smtp gateway server

ColumPaget commented 7 years ago

hmm, so we'd read the main in on stdin? Or is there some other means of doing that? I'll look into 'content filters'.

buzzzo commented 7 years ago

You could implement it as content filter (smtp proxy) or as milter .

ColumPaget commented 6 years ago

Hi,

in the end I went for smtp proxy, as that's the easiest solution to code, and also I think the one that's compatible with the greatest number of server types. Release v3.0 has this feature. Tested it with my own systems, but not with postfix yet.