On 19.12.22 11:00, Yanko Hernández Álvarez wrote:
Well, from reading the subject I feel I made an obvious mistake and I
lost something when I read the documentation. I asked many people and
tried ServerFault to no avail and I'm tired of banging my head against
the wall.

I'm trying to set up a very low traffic postfix mail server using:

- A Simple content filter
(http://www.postfix.org/FILTER_README.html#simple_filter). It's way
simpler than the advanced one and the traffic is low.
- dovecot as a delivery agent. (Because of maildir quotas and sieve filters)
- `always_bcc` to keep copies of every mail sent. (Bussiness rules)

   #!/bin/sh

   /usr/bin/cat | /var/spool/filter/scripts/mailfilter |
/usr/sbin/sendmail -G -i "$@"

   exit $?

this means that the always_bcc is executed again.
usually the content_filter is supposed to inject mail on alternative port where option:
receive_override_options = no_address_mappings

is used: see http://www.postfix.org/FILTER_README.html

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average.

Reply via email to