Filter e-mails received by SMTP by address
Hi,
currently all e-mail that are sent to piler via SMTP are archived.
I’m using BCC for all messages on my mail server to send mails via my-super-secret-mail-address@archive.example.com to Piler. I think it would be nice to have a filter option in Piler to only accept mails arriving on this address.
Comments (7)
-
repo owner -
reporter Hi, on my mailserver (mailcow) I’m using BCC maps:
BCC maps are used to silently forward copies of all messages to another address. […]
The local destination will not be informed about a failed delivery.Therefore a BCC mail is sent to my-super-secret-mail-address@archive.example.com for incoming/outgoing mails. For increased security Piler should/could be configured to only accept e-mails that are sent to this address.
-
repo owner I still don’t understand the issue. Is your archive wide open to the world on port 25, and spammers sending emails to various addresses, but your super secret address?
-
reporter Yes, piler is listening on port 25 to the world. Only security is an IP based access control (simple iptables rule to allow connections from the mailserver’s IP only), but actually I think that is not enough.
-
repo owner OK, I see it now. I’ll add such feature, and let you know.
-
repo owner Apply this commit (https://bitbucket.org/jsuto/piler/commits/5d479b732adf7b975069d352eb912bbd2601b6f6) or get the master branch, set archive_address=my-super-secret-mail-address@archive.example.com in piler.conf, and you should be fine.
-
repo owner - changed status to resolved
- Log in to comment
Hello, I’m confused. Do you send all of your archived emails to my-super….@ address only or other addresses as well?