Re: block empty subjects in postfix
On 04/29/09 09:41, Мусинов Артем wrote:
You wrote to forum:
I added a header_check to reject empty subjects.
Please help! How you have done this?
I adding to header_checks next:
/^Subject:.*<>/ REJECT not valid mail
But it doesn't works, it rejecting only mails with subject: "<>"
And if I writing:
/^Subject:.*$/ REJECT not valid mail
then rejecting absolutely all mails!
Could you give me advice, what I have to write for rejecting only EMPTY SUBJECT.?
With hope and thanks, Artem.
/^Subject: *$/ REJECT Empty subject