Harald Weidner
22 years ago
Hello,
The Subject already asks my question.
I use the header_checks feature together with a regexp table to pass
some mails to a FILTER target, depending on the sender address.
So far, the rule is of the type /^From:.*something/. But there are
cases where the header "From:" address differs from the envelope
"From " address, which really should be the key for filtering.
I tried a rule like /^From :*something/, but the mail seems not to be
in Unix MBOX format at this stage of processing. Also, a rule like
/^Return-Path:.*something/ did not match any e-mail in the
header_checks table.
Is there a way to match the envelope sender address in the header_checks
regexp table?
I use a Postfix-2.0.16 Debian package from http://www.backports.org/.
Regards,
Harald
The Subject already asks my question.
I use the header_checks feature together with a regexp table to pass
some mails to a FILTER target, depending on the sender address.
So far, the rule is of the type /^From:.*something/. But there are
cases where the header "From:" address differs from the envelope
"From " address, which really should be the key for filtering.
I tried a rule like /^From :*something/, but the mail seems not to be
in Unix MBOX format at this stage of processing. Also, a rule like
/^Return-Path:.*something/ did not match any e-mail in the
header_checks table.
Is there a way to match the envelope sender address in the header_checks
regexp table?
I use a Postfix-2.0.16 Debian package from http://www.backports.org/.
Regards,
Harald
--
Harald Weidner ***@gmx.net
Harald Weidner ***@gmx.net