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
15
votes
2 answers

Postfix/postfix-script warning symlink leaves directory: /etc/postfix/./makedefs.out

I trying to get an email server up and running on a raspberry pi running Raspbian Buster. In my postfix checks I am getting a strange notification about a symlink that I definitely did not create myself. The warning is postfix/postfix-script:…
DanRan
  • 73
  • 1
  • 3
  • 22
14
votes
3 answers

How to redirect all outgoing email from postfix to a single address for testing

I am setting up a testing server for a web based application that sends some email notifications. Sometimes testing is performed with real customer data, and for that reason I need to guarantee that the server is not able to send emails to our real…
0x6A75616E
  • 661
  • 3
  • 10
  • 24
14
votes
4 answers

postfix: connect to Milter service inet:127.0.0.1:8891: Connection refused

I noticed that there is a error with milter if I type service postfix status : Jul 01 17:39:01 mail postfix/cleanup[13921]: warning: connect to Milter service inet:127.0.0.1:8891: Connection refused but what does that mean and how do I fix that? It…
Sarius
  • 171
  • 1
  • 3
  • 10
14
votes
6 answers

How to remove Postfix queue messages sent to a specific domain

I have a server with multiple domains. How can I clear all Postfix queue messages for a specific domain?
Tarek
  • 267
  • 1
  • 2
  • 6
14
votes
2 answers

When does Postfix use IPv6 and when IPv4?

I've configured my mail server for IPv6 and IPv4 but in the most cases it uses IPv4 while IPv6 is available on the remote host. I use Postfix in version 2.9. So my thought was that postfix uses IPv6 if available and has a fallback to IPv4 or am I…
nazco
  • 387
  • 2
  • 5
  • 11
14
votes
4 answers

Block outgoing mail to specific address using Postfix

How could I block outgoing mail to a specific address using Postfix? I've partially managed to block outgoing e-mail using header_checks. However, header_checks doesn’t cover BCC. I also tested this solution:…
Maikel
  • 313
  • 1
  • 2
  • 11
14
votes
2 answers

How to fix postfix: Sender address rejected: need fully-qualified address (in reply to RCPT TO command))?

I've installed dovecot, postfix and roundcube on an ubuntu 12.04 box. The system is basically working - i.e it is able to send/receive mails to/from other domains. However, some domains cause the following error message in /var/log/mail.log Jul 15…
Tolaksa
  • 165
  • 1
  • 1
  • 6
14
votes
4 answers

Postfix connection lost after AUTH

Looking at the logs on my mailservers, I have noticed messages like the following: Nov 29 12:09:38 mta postfix/smtpd[8362]: connect from unknown[183.13.165.14] Nov 29 12:09:39 mta postfix/smtpd[8362]: lost connection after AUTH from…
84104
  • 12,905
  • 6
  • 45
  • 76
14
votes
4 answers

Change default from address from Postfix from www-data to something else

Setting up Postfix and Apache/PHP on an Ubuntu server. Mail's now going out ok with the proper domain name, but the local part display name is always "www-data" as I'm assuming Postfix uses the name of the user by default. In the php.ini file, I…
WuckaChucka
  • 375
  • 3
  • 8
  • 23
14
votes
5 answers

How do you monitor a monitoring server?

So we run Groundworks (with Nagios) on CentOS to monitor our various servers and processes. I have it setup to automatically send emails and SMS texts when things reach a WARNING or CRITICAL state. Normally this works perfectly. However, twice we've…
organicveggie
  • 1,071
  • 3
  • 15
  • 27
14
votes
2 answers

Postfix: How do I Make Email Aliases Work?

The documentation claims that I can add aliases in a file (like /etc/postfix/virtusertable) and then use the "virtual_maps" directive to point to it. This does not appear to be working, however. My mail is bouncing with: Recipient address rejected:…
Nick
  • 4,503
  • 29
  • 69
  • 97
14
votes
7 answers

Do you use postfix or qmail and why

I am setting up a server and I have the choice of installing qmail or postfix. Can someone help me make the right choice. Thing I like to see covered are: - Performance - Ease of setup - security
Saif Bechan
  • 10,960
  • 10
  • 42
  • 63
14
votes
7 answers

Postfix throttling for outgoing messages

I need Postfix to send outgoing messages (from local PHP) with a certain rate. Say, one message in 120 seconds. Any messages exceeding this rate should be queued (delayed) and delivered later. Policyd is not what I'm looking for. I don't need…
Sergey Kovalev
  • 237
  • 1
  • 2
  • 3
13
votes
2 answers

Detect spammers on my server

I recently got one Undelivered Mail Returned to Sender while sending my newsletter to one of my 1500 customers. My website uses a double-opt-in procedure to make sure, the user explicitly want to receive my newsletter. The error message: smtp; 554…
koseduhemak
  • 271
  • 3
  • 8
13
votes
2 answers

How can I reject base64 encoded spam email?

I just received couple of mails with similar content which were encoded with base64. Now I want to reject or discard these kind of emails using body check. Before I had in my body_checks something like this: /Quanzhoucooway/ DISCARD But since the…
user134969
  • 439
  • 2
  • 6
  • 18