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 allow SASL-authenticated users to send from any IP address

I understand that I need SMTP on port 25 to receive email, but I do not want this to be a relay port. Instead I would port 587 to be used for registered (SASL-authenticated) users to relay email from any IP address, through my server, and to any…
Vortico
  • 251
  • 1
  • 3
  • 8
2
votes
1 answer

What database permissions to grant for Postfix using MySQL?

I'm trying to set up a Postfix mail server using MySQL for the mapping tables. As it's bad practice to simply grant all permissions unless they're needed, I want to grant only the minimal permissions required to make Postfix work. Unfortunately,…
John Y
  • 162
  • 6
2
votes
1 answer

Have Postfix bounce certain addresses with a custom message and forward all other messages to another server

We have a list of users who no longer have mailboxes in our Exchange environment. We want to have a very specific reply to these users with a possible custom variable. I thought Postfix would possibly work for this. When it gets a message, it…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
2
votes
2 answers

Postfix how to triggering my script when outgoing email status is sent?

I want to run a program when postfix has successfully sent out a mail (local or remote). I would like to pass the headers to program and if possible also the destination ip or address (exclude spam filter delivery). I just have an idea: Delivery…
Laszlo Malina
  • 168
  • 2
  • 10
2
votes
1 answer

Maximum length of MAIL FROM address

When sending out emails with a MAIL FROM address > 81 characters I receive bounce messages from some MTAs: 501 Syntax error - Badly formatted address. (in reply to MAIL FROM command) As soon as I change the MAIL FROM address to <= 81 characters,…
horen
  • 411
  • 2
  • 7
  • 22
2
votes
1 answer

Specifying a Postfix Instance to send outbound email

I have a CentOS 6.5 server running Postfix 2.6x (the default distribution) with five public IPv4 IPs bound to it. Each IP has DNS and rDNS set separately. Each uses a different hostname at a different domain. I have five Postfix instances, one…
2
votes
1 answer

maildrop and quota exceeded

I implemented warning maildrop when quota exceeded. This worked correctly except for one detail. The drawback is that sending mail notice is sent only time... I mean for example if the mailbox has been exceeded by more than 80 %, as I have…
2
votes
2 answers

Postfix enable SSL 465 failed

I have installed the Postfix and enabled SSL/TLS, just tested, I can sent email from port 25, 578, but cannot sent email from port 465, the log is: May 26 17:24:06 mail postfix/smtpd[28721]: SSL_accept:SSLv3 write server hello A May 26 17:24:06 mail…
user221290
  • 21
  • 1
  • 3
2
votes
1 answer

Postfix main.cf wildcard emails using access

In my postfix main.cf I have: smtpd_recipient_restrictions = reject_unauth_destination, check_recipient_access regexp:/etc/postfix/access.me ... virtual_alias_maps = hash:/etc/postfix/virtual ... In my virtual file I have: a@mydomain.com …
2
votes
1 answer

What should be my MX records for postfix configuration like for mail forwarding?

I have a Digital Ocean VPS, at which I installed postfix. I want to do mail forwarding. When I installed postfix I picked No configuration option. Later I set up the following: I created main.cf at /etc/postfix virtual_alias_domains =…
diegoaguilar
  • 159
  • 1
  • 3
  • 10
2
votes
2 answers

Make Postfix use MySQL to check whether sender adress is permitted

We're trying to use PostFix to check whether the sender email-address is permitted to send to a specific email-address. Another way to describe it would be that I want specific e-mailaddresses to only allow incoming messages (not SMTP logins) from…
Emil Hemdal
  • 151
  • 1
  • 9
2
votes
1 answer

Helo command rejected: Host not found - even though i don't have configured reject_unknown_helo_hostname

My Server is sending Registration-Success-Mails to our users. Most of them arrive, but recently one E-Mail to a specific domain remains in the mailq with the following error (host smtp.geofs.de[5.45.103.59] said: 450 4.7.1…
patrics
  • 123
  • 1
  • 4
2
votes
1 answer

Postfix alias and "impersonating" issue

I recently started configuring addresses on my postfix server and stumbled into an issue with my colleagues. So assume i have an alias testing@bar.ru which forwards mail to somedude@gmail.com and vitali.r@foo.net In case we send to the same domain,…
Screatch
  • 179
  • 1
  • 2
  • 10
2
votes
0 answers

POSTFIX: how to determine how many connections are currently active

I'm running postfix on a mail server which is used by a couple hundered users. One user is getting "Connection Interrupted" errors in Outlook when attempting to send. I have not had reports of this problem from anyone else. Closing/reopening…
Ryan Griggs
  • 963
  • 2
  • 14
  • 29
2
votes
3 answers

postfix permit_sasl_authenticated in smtpd_client_restrictions for submission on 587

First let me explain my setup. I'm using postfix 2.9.6 on Debian Wheezy. I do not allow AUTH on port 25, and force MUAs to use a submission service on port 587 instead. Debian comes with the following configuration in master.cf (commented by…
Rob
  • 31
  • 1
  • 1
  • 3