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
1
vote
1 answer

Can postfix queue message till milter comes back?

I am using postfix and a before queue milter (written in java, running as a seperate process). When milter crashes or not available for a brief period, can postfix be configured to queue till milter comes back online? The email client should get a…
1
vote
1 answer

Postfix not triggering OpenDKIM milter

I've been trying for a long time to start signing mail sent via postfix with opendkim. Looking at the logs, it looks like zero attempt is made to communicate with postfix: Aug 4 20:59:59 localhost postfix/pickup[49716]: 6430A13EA1C: uid=0…
1
vote
1 answer

openDKIM breaks email forwarding

After moving our server over to Postfix, I have decided to implement DKIM using OpenDKIM. I have been successfully able to install and run this, but while it is enabled as a milter, all mail forwarding on the server becomes broken. For example, if I…
Joe
  • 13
  • 4
1
vote
1 answer

Configuration of ClamAV on Fedora Core 21 with Postfix

I was unable to find any help anywhere on installing Clamav on a modern Fedora system. All the advice out there is old and doesn't apply - so far as I found anyway. And, it's not enough straight-forward that I know what to do! The most important…
Richard T
  • 1,130
  • 11
  • 26
1
vote
1 answer

opendkim public key not available

I'm having problems with my mail server sending or reciving mails from/to hotmail can anyone explain for newbies what all this errors on postfix log/gmail header/website dkim validator are telling me and give me a clue what should i do next? Centos…
MikZuit
  • 391
  • 2
  • 7
  • 16
1
vote
1 answer

Postfix does not trigger my before-queue milter script

I can't get the milter triggered when a new email is accepted by Postfix before-queue. Obviously, I don't do something properly but I can't figure out what. I have the following setup: Ubuntu Server, Postfix 2.11. The Postfix service is working and…
user151851
  • 1,833
  • 2
  • 12
  • 10
1
vote
0 answers

Make Postfix add "Authentication-Results" header to locally originated mail destined to local domain?

If I write via sendmail or SubmissionS client a mail to my virtual account (my domain is example.org), the mail I receive looks like this: Return-Path: Delivered-To: user@example.org Received: from example.org by hostname with…
Polizi8
  • 15
  • 6
1
vote
1 answer

Postfix refuses to connect to rspamd on CentOS

I have my mailserver setup configured based on this guideline (German), with the possibly important detail that I use CentOS 8 as a base OS instead of Debian. Everything works fine, except that I cannot manage to integrate rspamd into my setup. If I…
dlkmp
  • 11
  • 1
0
votes
1 answer

Opendkim fails to start on CentOS 7 (connect to Milter service inet:localhost:8891: Connection refused)

I've got issues with OpenDKIM not starting on my CentOS 7 (with Postfix) server since an update for OpenDKIM crashed a while ago. I've tried the following: service opendkim start Then it says: Job for opendkim.service failed because the control…
Liv
  • 101
  • 1
  • 3
0
votes
1 answer

Postfix rejecting mail when milter is down - is it possible to let the emails throu anyway?

I am running a emailserver with two milters: OpenDMARC and OpenARC - both has worked very well and has been stable. I have defined both milters like this: smtpd_milters = inet:localhost:8893,inet:localhost:8991 non_smtpd_milters =…
Orphans
  • 1,404
  • 17
  • 26
0
votes
1 answer

Postfix milter - Is there a transport security?

Currently I am running a before-queue-milter script (written in java) and I see the postfix is communicating to milter in plain text via a socket connection. Is there a way to protect this by some transport security?
0
votes
1 answer

Capture queue ID and 250 OK via milter

We have a web app that sends email. Right now, if we send an email, and it is bounced (for whatever reason), no one knows since it comes from a no-reply address, which is never checked for bounces. Some of these emails are very important, and we'd…
DrDamnit
  • 348
  • 4
  • 16
0
votes
1 answer

postfix connection to python-libmilter test-milter

From the python-libmilter I am trying to run the test milter. The milter is listening (I can connect via telnet to localhost 5000) I enabled the milter in the postfix config: milter_protocol = 6 milter_default_action = accept smtpd_milters =…
Alexander
  • 267
  • 2
  • 8
0
votes
3 answers

Postfix + Python MIlter

I want to write own miter, but I have problem. I have installed postfix, libmilter and python module Milter. I try to run sample.py milter which I found in pymilter-0.9.7.tar.gz (from http://bmsi.com/python/milter.html ) but I don't now how to add…
infernox
  • 29
  • 1
  • 4
0
votes
1 answer

Configuring Postfix to use milter (archiveSMTP)

How does one config Postfix to use the milter "archiveSMTP" ? The milter config instructions (http://www.dancingfortune.com/projects/archivesmtp/download.php) mention only one socket for communication between the milter and the MTA ... yet any…
Doug
  • 1
  • 1
  • 1