Questions tagged [milter]

Milter is set of API that provides an interface for third-party software to validate and modify messages as they pass through the mail transport system.

Milter was portmanteau for mail filter. Originally milter was written for . In 2006, 2.3.0 officially support milter, although there are little limitations of Postfix milter implementations.

A milter-capable MTA will notifies the milter application about each phase of the delivery of a message. At each phase of the SMTP session, the milter application is given data about the arriving message and then has an opportunity to terminate acceptance of the message early when appropriate.

A milter-capable MTA can connect to multiple filters in parallel that serve specific purposes such as anti-virus, anti-spam, message authentication, flow regulation, etc. The filters also can take special action on the message: add or remove recipients in the envelope; alter the body prior to delivery; add, change or remove header fields in the message, etc.

Website www.milter.org provides catalog of open-source and commercial milter. This website also provides the documentation about milter API for developer.

References:

38 questions
14
votes
2 answers

What's removing stuff from /var/run at reboots from a fedora machine?

I am running a FC18 machine on which I am testing a piece of software (smf-sav, a milter) keeping part of its working files under /var/run/smf-sav/. That directory keeps disappearing after reboots. Hence the question: what is removing it? Is there a…
Alien Life Form
  • 2,279
  • 2
  • 21
  • 31
4
votes
1 answer

correct order for Postfix milters

I use the following milters with Postfix: ClamAV, OpenDKIM, OpenDMARC, Rspamd This is also the order they are being called via smtpd_milters. What would be the best order for them regarding performance, resources and spam protection?
basbebe
  • 313
  • 2
  • 16
4
votes
1 answer

What can cause an intermittent broken pipe error with a SendMail milter?

CentOS 5 / SendMail 8.14.x I'm noticing intermittent errors with a milter on my SendMail server. Here's an excerpt from the maillog (I've edited hostname, QID, milter name, and recipient address to protect the innocent :-) ): Jul 3 4:11:10…
Mike B
  • 11,570
  • 42
  • 106
  • 165
3
votes
1 answer

How can I customize before-queue milter replies in Postfix?

Currently I use postfix with spamass-milter and clamav-milter as before-queue milters, which both work very well. I reject hundreds of messages a day on my small personal mail server on the basis of a robust set of Spamassassin rules and Bayesian…
datn
  • 158
  • 9
2
votes
0 answers

Postfix Conditional redirects

I have a tricky one here! I have a dinamic list of some... 3000 email addresses that I need to filter on Postfix. I need that if any of these addresses sends an email to (support@mydomain.com or priority@mydomain.com) the email gets redirected to…
2
votes
2 answers

How to get spamassassin working with postfix as a milter

I'm trying to get spamassassin working on Ubuntu 16.04 with postfix. When receiving mail, I get messages similar to the following in my logs: Jun 11 14:29:47 myhost postfix/smtpd[2387]: connect from mail-oi0-f54.google.com[209.85.218.54] Jun 11…
Anonymouslemming
  • 801
  • 2
  • 14
  • 25
2
votes
1 answer

Milter service needs transport:endpoint instead of "/var/run/opendkim/opendkim.sock"

I have set postfix with milter based on this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy But then posptfix reported that it can't connect to milter on that socket I…
Anom
  • 111
  • 2
  • 3
2
votes
1 answer

Need linux milter solution to log email body into database

We exchange emails with various clients and vendors. I am trying to implement a solution where all the email communications between our rep and the client or vendor is saved in our database so in our admin system we have a record of the…
Thom
  • 35
  • 6
2
votes
1 answer

How to setup Postfix with Opendkim to automatically sign PHP emails?

I've found that: submitted emails are signed properly (ie those sent with MUA's like Outlook and Thunderbird) command-line sent emails are signed properly emails sent with PHP, in particular case PHPMailer (non-smtp submitted, ordinary PHP…
Miloš Đakonović
  • 640
  • 3
  • 9
  • 28
2
votes
1 answer

Postfix client cert info not being passed to opendkim milter

I have a private postfix server that uses dovecot sasl to optionally authenticate submission clients, and I'm trying to set it up to also accept client certificates to allow it to act as a relay host for certain specific origin servers. I've got it…
jcsanyi
  • 123
  • 5
2
votes
1 answer

Office 365/exchange metadata prepended before the headers coming from Outbound connector

I have a postfix server getting emails from multiple office 365 tenants using Outbound connectors. A small percentage of the emails arriving to my server start with some strange data which isn't valid for headers. Only afterwards the expected…
yair
  • 121
  • 2
1
vote
0 answers

Why/When are some rejected mails not listed in rspamd history

I am seeing mails which are greylisted/rejected by rspamd according to the postfix log which are not shown in rspamd's GUI history. I have two questions: Which are the general cases when mails are not listed in the history? Do you have an idea why…
wedi
  • 318
  • 4
  • 11
1
vote
1 answer

opendkim no signing table match for no signature data

I got an error when I try to install and config opendkim : no signing table match for 'contact@domain.com' no signature data opendkim.conf : # This is a basic configuration that can easily be adapted to suit a standard # installation. For more…
Matrix
  • 145
  • 2
  • 10
1
vote
1 answer

Can't get Sendmail to connect to MIMEDefang

I would like to set a milter using MIMEDefang on Ubuntu 16.04. I have an existing server using Sendmail 8.15.2-3. I installed MIMEDefang 2.78-1ubuntu1.1 (default package from apt). I configured my filter as I wanted and the service seems to be…
Fr33dan
  • 133
  • 8
1
vote
0 answers

How is an SMTP-Client supposed to behave if he receives an Error from the Server?

Consider the following SMTP-Session: 220 mx.example.com ESMTP Postfix EHLO example.com 250-mx.example.com 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-DSN 250 SMTPUTF8 MAIL FROM:<> 250 2.1.0 Ok RCPT…
Subito
  • 378
  • 1
  • 3
  • 11
1
2 3