Postfix+rmilter - non_smtpd_milters only for DKIM

147 views
Skip to first unread message

Ramzes

unread,
May 24, 2016, 7:57:33 AM5/24/16
to rspamd
I use rmilter in smtpd_milters to check for spam and DKIM
And would like to use rmilter in non_smtpd_milters only for DKIM (for emails sent by php scripts)

Is it possible somehow when non_smtpd_milters to skip all the stages rmilter, leaving only DKIM?

Vsevolod Stakhov

unread,
May 24, 2016, 8:45:09 AM5/24/16
to Ramzes, rspamd
On 24/05/2016 12:57, Ramzes wrote:
> I usermilterinsmtpd_miltersto checkfor spam andDKIM
> Andwould like to usermilterinnon_smtpd_milters*onlyforDKIM*(foremails
> sent byphpscripts)
>
> Is it possiblesomehowwhennon_smtpd_miltersto skip allthe stagesrmilter,
> leaving onlyDKIM?
>

According to postfix documentation, there is not much difference between
smtp and non-smtp milters. Do you occur any issues with it?

--
Vsevolod Stakhov

Ramzes

unread,
May 24, 2016, 9:12:58 AM5/24/16
to rspamd, pim...@gmail.com
> According to postfix documentation, there is not much difference between
> smtp and non-smtp milters. Do you occur any issues with it?

Emails filtered through non_smtpd_milter, that are sent from the same server, using the command line sendmail (so send emails from php scripts)
These letters do not need to check for spam, because they come not from outside but from inside the server

For example, authorized users have the option
strict_auth = no

I want roughly the same thing, but for emails sent from the command line
Reply all
Reply to author
Forward
0 new messages