Questions tagged [postfix]

Free and open source mail transfer agent (MTA) that routes and delivers email. When asking about postfix problem, please include the relevant maillog lines and output of the following command: `postconf -n` (non-default content of main.cf) and `postconf -M` (content of master.cf)

Postfix is a mail transfer agent (MTA) that supports IPv6, DNSBL, SMTP AUTH (SASL), TLS and various database backend.

Postfix was written by Wietse Venema in 1997 and first released in December 1998 as IBM Secure Mailer.

It was designed to be highly secure and configurable, and is a drop-in replacement for , with much simpler configuration syntax.

The software was also formerly known as VMailer.

6398 questions
2
votes
1 answer

postfix error looking up passwd info (catch-all)

In postfix I'm trying to setup a catch-all address for unknown local accounts. Any mail that can be delivered to a local user should be delivered to their local mailbox (and respect any aliases in /etc/aliases, both for local aliases as well as…
SunMar
  • 71
  • 1
  • 6
2
votes
2 answers

Postfix - Dovecot - Can Send Emails But Wont Receive - NOQUEUE - Relay Access Denied

I have set up a mail server on ubuntu. Ive checked ports are open and I've double checked all config files, checking with every google search result I could find. Most of the similar posts have more complex logs and outline steps I have already…
2
votes
0 answers

mail command no longer reads from /var/spool/mail/root

Until half an hour ago mail command worked as expected. Now it says no mail for root. But I can still see and read my mail in /var/spool/mail/root. I don't believe I've changed any settings. I'm using postfix 2.10 if that is relevant. Update…
Anton
  • 192
  • 1
  • 1
  • 7
2
votes
1 answer

Postfix DSN code explanation

Since few days ago I was unable to receive automatic emals sent from my PHP application. When I use Terminal to send an email to my @gmail address, everything works. When I try to send it to my corporate mail box, nothing happens. I looked over…
Jovan Perovic
  • 143
  • 2
  • 3
  • 14
2
votes
1 answer

postfix discard or change Message-ID header based on another header line

I want to change the Message-ID header or better yet, discard it. I know everyone is going to ask "Why would you want to do that?" because I know it sounds weird to even write it. Well I am developing a system that saves an incoming e-mail in EML…
2
votes
2 answers

postfix relay based on origin

I have 4 servers. prod1.example.com, prod2.example.com, dev1.example.com, and dev2.example.com. They all send their mails to smtp.example.com. This server does the relay. Now I want that dev1 and dev2 send all their e-mails to devbox@example.com…
Marco
  • 172
  • 10
2
votes
1 answer

What is X-DKIM header for?

There are some emails with an X-DKIM header (next to DKIM-Signature) like this: X-DKIM: Sendmail DKIM Filter v2.8.2 DOMAIN SOMEVALUE However I am unable to find decent documentation for it. What is it for? Is it necessary?
Jasper
  • 131
  • 4
2
votes
1 answer

forward an exact copy of all mail to second archive mail server

I am setting up an mail server with postfix at the moment, and I am almost done with it. But I need to archive all incoming mails. My first setup was to set the sender_bcc_maps parameter and the recipient_bcc_maps parameter to an external email…
Ulli
  • 97
  • 2
  • 9
2
votes
1 answer

Prevent postfix appending search domain

I have postfix running on OpenBSD, and I'm having trouble with it appending a search domain when none is configured in either postfix or the local DNS server (dnsmasq). My domain has a wildcard CNAME entry (*.example.com) pointing at…
Synchro
  • 3,148
  • 6
  • 27
  • 38
2
votes
4 answers

How Do I Debug An IMAP Problem?

I am setting up an email server with Postfix and Dovecot. Remote email clients can read email, but cannot reply to it or send new messages. (Email clients local to the server receive and send email just fine.) For example, Alpine tries until told…
chernevik
  • 725
  • 3
  • 10
  • 19
2
votes
1 answer

Why does NIS map error prevent postfix from resolving local alias?

Postfix quit sending me mail from an Ubuntu 10.04LTS server. I spent an hour to two checking /etc/aliases, running and re-running sudo newaliases and sudo postfix reload, web searches for my issue etc. Sample log entry: Dec 9 11:35:32 localhost…
nortally
  • 381
  • 2
  • 11
2
votes
1 answer

Mailman and Apache Virtual Hosts problems

I am creating a set up of Mailman, Apache2.4 and Postfix. My problem is as follows. When I access the mailing list with the domain name, I get the correct result in my browser. Here the picture However if I try to access directly using my server's…
real
  • 123
  • 1
  • 5
2
votes
1 answer

Postfix - restrict communication inside domain

I'm setting up a postfix cloud server and I'd like to restrict communication inside the domain. That is, users can only communicate with other users who own an address in the email domain - no incoming or outgoing messages to other domains (like…
sa125
  • 325
  • 1
  • 7
  • 14
2
votes
1 answer

Postfix and smtpd_client_rate_limit to detect compromissed accounts

Some of our clients are administrators who need to send corporative messages to no more than 300 clients, specifying all of these clients together in the "To:" fields, instead of individual messages for each one. After that, postfix will "adjust"…
ABu
  • 499
  • 1
  • 6
  • 19
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