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

Virtual Domains with Postfix and SSL

I've got a Postfix mail server setup for hosting multiple virtual domains (say xxx.com and yyy.com). Users configure their outgoing mail server as mail.xxx.com and mail.yyy.com. All mail servers refer to the same physical Postfix server (same IP,…
nimrodm
  • 363
  • 1
  • 3
  • 6
26
votes
4 answers

Fixing My MTA's Poor Reputation

I have a web site that needs to send email to customers to deliver files that they have purchased. Reliable email delivery is vital to this business. Unfortunately, most of the emails sent by my server are not delivered due to my MTA's "poor…
Alex Reisner
  • 840
  • 2
  • 9
  • 10
23
votes
4 answers

Postfix : error: unsupported dictionary type: mysql

I've a problem w/ postfix problem: # tail -f /var/log/mail.err Aug 20 17:57:50 myserver postfix/smtpd[8243]: error: unsupported dictionary type: mysql Aug 20 17:57:50 myserver postfix/smtpd[8243]: error: unsupported dictionary type: mysql Aug 20…
flavio.troja
  • 766
  • 2
  • 6
  • 11
23
votes
12 answers

Fail2Ban: already banned?

I have Fail2Ban running on my Centos Server. (Config below) In my var/log/messages I noticed something really weird: Jun 19 12:09:32 localhost fail2ban.actions: INFO [postfix] 114.43.245.205 already banned I configured Fail2Ban to add the banned…
3und80
  • 343
  • 1
  • 2
  • 6
23
votes
3 answers

Postfix smtps and submission confusion

I've setup postfix so that email clients use port 465 (smtps) for outbound mail. I'm not really understanding the difference between smtps (port 465) and submission (port 587) What's the 'best practice' when configuring postfix for clients to…
Aditya K
  • 923
  • 3
  • 13
  • 24
23
votes
1 answer

t-online.de blacklist "host refused to talk to me" (BL)

I got following error message for several days, as my server tried to send a message to an emailadress at t-online.de: host mx02.t-online.de[194.25.134.9] refused to talk to me: 554 IP=xx.xx.xx.xx - A problem occurred. (Ask your postmaster for help…
Daniel Marschall
  • 803
  • 4
  • 9
  • 20
23
votes
4 answers

Postfix Temporary lookup failure

I am trying to set up postfix, but I get a "Temporary lookup failure" error main.cf: inet_protocols = ipv4 inet_interfaces = all queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/lib/postfix data_directory =…
dzervas
  • 343
  • 1
  • 2
  • 7
22
votes
5 answers

How to make Postfix use another IP address?

I'm using the Postfix mail server and I have 6 IPs available. I'd like to use another IP for the Postfix mail server for sending mail than the web server uses. How can I do this? My postfix version is 2.3.3. For example: main IP: 66.66.66.66 other…
aardbol
  • 1,473
  • 4
  • 17
  • 26
22
votes
3 answers

Is an IPv6-only MTA possible yet?

Has anyone had tried to run an IPv6-only SMTP engine? Pretty much everybody with any sense has IPv6 configured for major front-end servers. I was curious if anyone had tried to run an IPv6-only MTA and received any connection errors. Is IPv6-only a…
joe
  • 223
  • 2
  • 4
22
votes
7 answers

Postfix aliases and duplicate e-mails, how to fix?

I have aliases set up in postfix, such as the following: all@mydomain.com: foo@mydomain.com, bar@mydomain.com ... When an email is sent to all@mydomain.com, and any of the recipients in that alias is cc:ed which is quite common (ie: "Reply…
Marcus Stade
  • 329
  • 2
  • 5
  • 16
21
votes
8 answers

Can't change OpenDKIM socket in Debian stretch in /etc/default/opendkim

I am trying to set up opendkim on Debian stretch but I fail at changing the socket. I want to change the socket to /var/spool/postfix/opendkim/opendkim.sock so I can use it with postfix. I have added Socket…
lw1.at
  • 691
  • 1
  • 5
  • 11
21
votes
5 answers

Is it good practice or too draconian to reject mails from mailservers with no RDNS

I've recently dropped SpamAssassin and am now basing spam rejection on DNSRBL's, grey-listing and other basic tests and I'm wondering whether I should also block hosts that don't have a valid RDNS matching the EHLO? If I do this, am I going to make…
Peter White
  • 586
  • 1
  • 7
  • 17
21
votes
1 answer

How read mail from /var/spool/postfix/deferred?

Is there a way to read deffered mail from /var/spool/postfix/deferred. I tried to copy file to my mail directory and see it from webmail but it dosnt work. When im using less or cat it seems like files in spool/deferred are some binary files.
B14D3
  • 5,188
  • 15
  • 64
  • 83
21
votes
3 answers

How do I change postfix configuration after installing it?

During the postfix installation and configuration, I was presented with a few options on how to send and receive email. I might have chosen the wrong option. How do I go back to that configuration screen to change my option?
Thierry Lam
  • 6,261
  • 10
  • 27
  • 24
20
votes
5 answers

Remove/hide client sender ip from postfix?

I'm trying to hide the client IP from emails sent from postfix. here is an example of what I mean: Received: from mail.[removed].com (adsl-75-37-61-254.dsl.frs2ca.sbcglobal.net [75.37.61.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256…
Kyle
  • 351
  • 1
  • 2
  • 8