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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 views

In postfix can I mention sender access map in client restriction?

It's a question out of curiosity rather than necessity. What should happen say I place sender access map inside smtpd_client_restrictions and also place client access map in smtpd_sender_restrictions ...
SUNITA GUPTA's user avatar
1 vote
1 answer
56 views

What difference does it make to implement a feature as policy service vs as milter in Postfix?

I am trying to implement MTA using Postfix. I am struck at how to implement standard services like SPF, DKIM etc. as well as some custom services. They can either be implemented as policy delegation ...
SUNITA GUPTA's user avatar
0 votes
0 answers
14 views

How to bypass postfix milters for certain users?

I am trying to setup an incoming MTA server using postfix. I have specific requirements that emails for some of the users should not go through the milters. Is there any way this can be done in ...
SUNITA GUPTA's user avatar
1 vote
1 answer
83 views

Why does all email, including email that is rejected, get processed by the milter?

I've configured postfix to use a milter. Unfortunately, it seems that all email goes through the milter, even email that is rejected with "User unknown" messages or email rejected by the ...
Jamie McClelland's user avatar
0 votes
1 answer
53 views

Getting postfix to forward a certain warning to the milter

I'm running postfix 2.11.3 under Debian. I have installed a homegrown milter which runs in conjunction with CONNECTION, HELO, MAIL FROM, RCPT TO, HEADERS, and EOM, and it's been working well for years....
HippoMan's user avatar
  • 220
0 votes
2 answers
457 views

opendkim milter not launching on proper server socket

The following error impeded the restart of opendkim × opendkim.service - OpenDKIM Milter Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled) Active: failed ...
Jerome's user avatar
  • 217
1 vote
0 answers
122 views

What are my server-side options for scanning email attachments for words and phrases?

I currently run an email system with Postfix/Dovecot and I am looking for a way to scan the contents of attachments (mainly doc(x) and pdf) for certain words and bounce the email back to the user with ...
Mark's user avatar
  • 11
1 vote
1 answer
160 views

postfix: conditionally ignoring certain "User unknown in virtual mailbox table" errors when using a milter

Note: I originally posted this question in Unix/Linux StackExchange, but after a week, there have been no responses. I see more postfix-related discussion here, and so I've voted to close the ...
HippoMan's user avatar
  • 220
2 votes
1 answer
973 views

spamass-milter[1403]: Could not retrieve sendmail macro "i"!. Please add it to confMILTER_MACROS_ENVFROM for better spamassassin results

I am running an Ubuntu 20.04 based LEMP server on a Raspberry Pi. Installed on it is postfix/dovecot/amavis/spamassassin. When I look at my mail.err logs by running the following command: cat /var/log/...
DanRan's user avatar
  • 103
0 votes
2 answers
1k views

How to add a single header for any incoming mail with Postfix?

I have Postfix running with a number of smtpd processes configured in master.cf like this: # Internet facing one 1.2.3.4:25 inet n - y - - smtpd -o ... # ...
gertvdijk's user avatar
  • 3,534
2 votes
1 answer
295 views

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 ...
jcsanyi's user avatar
  • 123
1 vote
1 answer
921 views

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: <[email protected]> Delivered-To: user@...
Polizi8's user avatar
  • 25
2 votes
1 answer
233 views

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 ...
yair's user avatar
  • 121
1 vote
1 answer
843 views

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 ...
dlkmp's user avatar
  • 11
0 votes
1 answer
264 views

Postfix seems to ignore spam miltering for LMTP

I use SpamAssassin through a milter to check e-mail, but it seems postfix does not check local delivery (like contact forms). How can I force Postfix to treat all mail as 'foreign'?
Guido Goluke's user avatar
2 votes
0 answers
646 views

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 ...
wedi's user avatar
  • 398
-1 votes
1 answer
1k views

Postfix Package Openarc

I have a server running Ubuntu 16. I'm trying to get postfix configured to use OpenArc. I've installed the OpenArc package, but it's not automatically starting on reboot. If I run openarc -c /etc/...
Pablito Maugeri's user avatar
2 votes
0 answers
356 views

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 ([email protected] or ...
Iñigo InThe Cloud's user avatar
1 vote
1 answer
8k views

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 '[email protected]' no signature data opendkim.conf : # This is a basic configuration that can easily be ...
Matrix's user avatar
  • 145
1 vote
1 answer
528 views

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 ...
Fr33dan's user avatar
  • 133
2 votes
0 answers
367 views

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 ...
Subito's user avatar
  • 388
1 vote
1 answer
381 views

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 ...
Sathish Kumar's user avatar
0 votes
1 answer
6k views

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 ...
Liv's user avatar
  • 101
0 votes
1 answer
951 views

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:...
Orphans's user avatar
  • 1,406
0 votes
1 answer
121 views

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 ...
Sathish Kumar's user avatar
2 votes
1 answer
2k views

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 ...
thisguyheisaguy's user avatar
0 votes
1 answer
446 views

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. ...
DrDamnit's user avatar
  • 348
0 votes
1 answer
482 views

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 ...
Alexander's user avatar
  • 277
3 votes
2 answers
11k views

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 ...
Anonymouslemming's user avatar
3 votes
1 answer
967 views

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 ...
datn's user avatar
  • 158
4 votes
1 answer
2k views

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 ...
basbebe's user avatar
  • 313
1 vote
1 answer
1k views

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 ...
Joe's user avatar
  • 13
1 vote
1 answer
2k views

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-...
Richard T's user avatar
  • 1,242
1 vote
1 answer
9k views

opendkim public key not available [closed]

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 ...
MikZuit's user avatar
  • 391
1 vote
1 answer
940 views

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, ...
user151851's user avatar
  • 1,863
2 votes
1 answer
6k views

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 ...
Anom's user avatar
  • 111
2 votes
1 answer
765 views

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 ...
Thom's user avatar
  • 35
2 votes
1 answer
2k views

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 ...
Miloš Đakonović's user avatar
4 votes
1 answer
2k views

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 ...
Mike B's user avatar
  • 11.9k
0 votes
3 answers
3k views

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/...
infernox's user avatar
14 votes
2 answers
11k views

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. ...
Alien Life Form's user avatar
-4 votes
4 answers
8k views

Clamav. WARNING: No clamd server appears to be available

I have clamav.log full of these messages, what might be the problem and how to fix this? I have Debian clamav-0.97.6+dfsg-1~squeeze1 spamassassin-3.3.1-1 dovecot-pop3d-1.2.15-7 postfix-2.7.1-1+...
Jevgeni Smirnov's user avatar
0 votes
1 answer
6k views

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 ...
Doug's user avatar
  • 1
0 votes
1 answer
105 views

How can I collect the information sendmail sends to a milter and receives from that milter?

SendMail | CentOS For debugging/troubleshooting purposes, I'd like to examine the raw information that sendmail is sending to a local milter (and also the data being returned by a milter). Is that ...
Mike B's user avatar
  • 11.9k
0 votes
1 answer
477 views

Do I need libmilter somewhere to make postfix use dkim-filter?

I've been doing everything the instructions say http://www.postfix.org/MILTER_README.html and I was able to build, configure and run dkim-filter but postfix doesn't seem to call it. I've got this in ...
Stu's user avatar
  • 2,198
0 votes
1 answer
469 views

milter-regex / Ubuntu or Debian

I have been using milter-regex (http://www.benzedrine.cx/milter-regex.html) on Redhat for some time and am moving to Ubuntu. When compiling the source from their website, I get errors, even though I ...
NinjaCat's user avatar
  • 566