Is it possible to use procmail?

The title pretty much sums it up.

I have mail-in-a-box properly set up and everything, and I currently use procmail on another mail server for filtering.

Do you guys think mail-in-a-box can support this out of the box ? I have tried a few things (which do not work) but my knowledge of mail servers is very limited.

Basically :

  • Installed procmail
  • added “mailbox_command=/usr/bin/procmail” in postfix main.cf
  • pasted my .procmailrc in /home/user-data/ and changing the MAILDIR to /home/user-data/mail/mailboxes/…

Any ideas what I am doing wrong / missing ?

Thanks in advance.

Do you guys think mail-in-a-box can support this out of the box ? I have tried a few things (which do not work) but my knowledge of mail servers is very limited.

Basically :

  • Installed procmail
  • added “mailbox_command=/usr/bin/procmail” in postfix main.cf
  • pasted my .procmailrc in /home/user-data/ and changing the MAILDIR to /home/user-data/mail/mailboxes/…

You’re already changing portions of the Mail-in-a-Box architecture and it isn’t working. While MIAB is designed to let people see how it works and change it as they wish, this is definitely unsupported and not an out of box capability. It’s worth noting that MIAB will overwrite/modify many of the configuration files for software it installs, when you update it. If you proceed with trying to get this to work and meet your goal, you’ll need to recreate the modifications with each upgrade cycle, and there is no guarantee they’ll continue work.

I’m not trying to be discouraging, only stark and direct. Mail servers are very important components of the daily lives of many people and companies, so modifying full stack options like MIAB can have consequences if these modifications are critical in any way, especially since they are unsupported.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.