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.

6537 questions
70
votes
10 answers

How do I check the postfix queue size?

What's the postfix equivalent to sendmail -bp?
21
votes
3 answers

How do I configure PostFix to allow other machines to send out email through it?

I have PostFix up and running on a CentOS box and would like to send mail from a Windows server on the same network out through the PostFix server. When I try to telnet from the Windows server into port 25 on the PostFix server currently the…
Windows Ninja
  • 2,616
  • 19
  • 47
  • 71
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,321
20
votes
3 answers

Postfix disable local delivery

Is there any form to prevent local delivery on a postfix server? Ideally, I want to avoid local delivery to some domains, because this postfix server is a google apps backup one.
Simon
  • 885
19
votes
2 answers

What does it mean connect to aspmx.l.google.com:25: Network is unreachable?

I have server with RHEL 6 and postfix (postfix-2.6.6-2.2.el6), When I try to send email to Google I'm getting this in /var/logmaillog: postfix/smtp[13414]: 6F4DC10406E7: to=, relay=none, delay=0.16,…
18
votes
1 answer

How can I configure Postfix to retain copies of all email sent through it?

My company currently uses Google Apps for email. I can configure Google Apps to forward all outgoing email through a relay server. I can also point my MX records at this server and have it forward incoming mail onto Google. Therefore I can…
jamieb
  • 3,437
17
votes
3 answers

POSTFIX: Limiting the rate at which a particular user can send email

We have a server CentOS server setup which hosts our websites and email server (using POSTFIX). We manage the system using Virtualmin and Webmin respectively. In general for every site that we setup we provide the customer with an email account on…
WarpKid
  • 365
16
votes
4 answers

Postfix on development server, allow mail to be sent to only one domain

We have postfix on our development server, and I'd like it to be able to only send mail to our domain, not to other domains, preventing outside users from accidentally receiving mail from our development server. I searched through the docs, tried…
datadevil
  • 535
16
votes
2 answers

How can I get postfix to send mail to different relay hosts?

I'm running multiple websites on a single server. I'm using sendgrid to send my email. Right now, I have postfix relay all outgoing mail to a single sendgrid account, using smtp_sasl for authentication. I need to be able to send each domain's email…
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
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
  • 13,033
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,656
13
votes
4 answers

Postfix: what exactly are alias domains?

I thought I understood "Alias domains" as that it's simply an alias for another domain! So when I set up a mailbox like "info@main.com", and add "alias.com" as a domain alias for "main.com" the address "info@alias.com" would also work... But no! So,…
13
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
13
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.
  • 803
1
2 3
54 55