Re: problem with content filter and forwarded address
- nik600 wrote:
> On Thu, Jun 26, 2008 at 8:13 PM, mouss <mouss@...> wrote:The first step is to validate your observation:
>>> The script /var/programmi/script/filtra_spamc_1.2.debug is not
>>> executed when a mail is sent to a mailbox that is both a mailbox and
>>> an alias.
>>> Is that correct?
> thanks for your reply.
> Can you suggest me how to debug this problem?
- send a mail via smtp (not with sendmail)
- check postfix logs and see if it is not delivered to your script
if you think it does not, then show these logs (all log lines for the
test mail, from the moment postfix gets it until it gets rid of).
note that if you use -o content_filter under smtpd services, then this
won't apply to mail submitted with the sendmail command (which uses the
pickup service, not smtpd).
Also, if you have a FILTER action in one of your smtpd restrictions or
in your header/body checks, then that will override your content_filter.