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
12
votes
7 answers

Connect to private/auth failed: No such file or directory

I've setup postfix, dovecot and roundcube. receiving and sending email via roundcube is working as well as receiving emails via imap with another email client. But I'm not able to send emails with an external email client. As soon as I connect, I…
markus
  • 1,080
  • 5
  • 18
  • 38
12
votes
4 answers

Postfix, virtual aliases and catchall for undefined addresses

In Postfix 2.10.2, I have a setup with multiple domains and several virtual aliases to assign mail addresses to local users. It works fine as long as I do not add a catchall. Before I used virtual aliases, I had a catchall defined…
Konzertheld
  • 191
  • 1
  • 1
  • 9
12
votes
2 answers

In postfix, how to enforce tls + auth over 587 while leaving tls optional for 25

I would like to host mail services for some domains. I have succesfully setup postfix to consult sql for those virtual domains. What I would like to do is: For connections on 25: Deny relaying (only deliver to recipients of my virtual domains) …
Paralife
  • 329
  • 1
  • 4
  • 10
12
votes
13 answers

Postfix performance

Running postfix on ubuntu, sending alot of mail ( ~ 1 million messages ) per day. loads are extremly high but not much in terms of cpu and memory load. Anyone in a similiar situation and know how to remove the bottleneck? All mail on this server is…
Brian G
  • 375
  • 2
  • 5
  • 19
12
votes
1 answer

postfix system "mail name"

I am installing postfix and I am confused what to put for the system mail name. It has an exmaple that sais use "example.org" if a mail address on the system is "foo@example.org" but it also sais that the mail name should be the FQDN. my hostname…
Errol Fitzgerald
  • 475
  • 1
  • 8
  • 17
12
votes
2 answers

postfix says mail sent ok, message does not arrive in ISPs inbox? no reject in log?

When I send a test message from my mail server to my @bellsouth.net email, The postfix log shows it was sent OK, but the message never arrives in my bellsouth inbox. Shouldn't I get a failure notice or a bounce if At&T is blocking the messages? I'm…
Nick
  • 4,503
  • 29
  • 69
  • 97
12
votes
1 answer

How can I configure Postfix to ignore relayhost for some domains?

Is there a way in Postfix to ignore the relayhost? I have something like relayhost = [smtp.domain.net]:587 Now for a certain domain I don't want to send it out to that relay but want it to just send from that machine. How do I have to configure…
Mike
  • 22,310
  • 7
  • 56
  • 79
12
votes
1 answer

Postfix SMTP banner show multiple hostnames

We have a Postfix SMTP server that's bound to two IP addresses and serves mail for two different domains. We can't change the domains to both use the same, single IP. Both IP addresses have reverse DNS 1.1.1.1 reverses to mail.domain1.com 2.2.2.2…
user80776
12
votes
2 answers

How to redirect all mail from one domain to another in Postfix?

I have two forms of the same domain name, one being a common misspelling of the other, let's say tedswidgets.com and tedswigets.com. I'd like to redirect all mail for @tedswigets.com to that same @tedswidgets.com. There's plenty of…
thomasrutter
  • 2,527
  • 1
  • 25
  • 34
12
votes
3 answers

postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

I'm configuring Postfix to use external smtp. For this, I used this tutorial After following it, I found in the logs that /etc/postfix/sasl_passwd.db couldn't be read. The file didn't exist. I used postmap hash:/etc/postfix/sasl_passwd…
James Benders
  • 123
  • 1
  • 1
  • 5
12
votes
1 answer

Can I make an exception to reject_unknown_client_hostname?

My outer SMTP is blocking some e-mails with the error 450 4.7.1 Client host rejected: cannot find your hostname, which we traced back to the reject_unknown_client_hostname. As it happens, the hostname to which the reverse address resolves does not,…
Daniel C. Sobral
  • 5,713
  • 6
  • 34
  • 48
12
votes
3 answers

Host wildcard subdomains using postfix

I'm trying to work out how I can get postfix to accept email for any sub-domain of my main site. I don't have virtual domains, just a long list of sub-domains for local delivery. In specific, I'm feeding python@*.mydomain.com into a Python using…
Jack M.
  • 793
  • 3
  • 12
  • 21
12
votes
4 answers

Postfix check outgoing mail for spam

How can I force postfix to check (and log/flag/etc) all outgoing mail for spam? Just want to make sure I'm doing my part on my servers. EDIT: Postfix config, as requested. main.cf # See /usr/share/postfix/main.cf.dist for a commented, more complete…
Glen Solsberry
  • 1,536
  • 5
  • 28
  • 38
11
votes
4 answers

Why is my opendmarc failing pretty much everything that comes through?

I have this domain for which I set up SPF, DKIM, and DMARC stuff. Let's pretend the domain is example.com which has the following entries in its DNS zone: example.com. 600 IN MX 1 mail.morpheu5.net. example.com. …
Morpheu5
  • 259
  • 4
  • 18
11
votes
5 answers

Is there any way to run Postfix in foreground?

Is there any way to run Postfix in foreground? I want to run Postfix as PID 1 in docker. I don't want to use any bash shell, supervisorD, or any wrapper to start it. I just want to know if there is any way to start it in foreground so I can check…
Farhan
  • 4,269
  • 11
  • 49
  • 80