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

550-Verification failed when forwarding email to some servers

I have a Postfix installed and working with SPF check and SRS-rewriting. When it forwards email for an external address, sometimes its smtp denies relaying the mail with the message: Relay access denied 550 Sender verification failed Other systems…
petIQe
  • 23
  • 1
  • 1
  • 4
2
votes
1 answer

How can I disable sending mail through postfix smtp without auth

I just setup a mail server with postfix 2.6.6 and dovecot. I have the auth related config in main.cf like below: smtpd_tls_cert_file=/etc/httpd/ssl/mail.crt smtpd_tls_key_file=/etc/httpd/ssl/mail.key smtpd_use_tls=yes smtpd_sasl_type =…
Young Zhou
  • 23
  • 1
  • 3
2
votes
1 answer

Spf passes or fails depending on receiver address

I have postfix with dovecot set up on Ubuntu 13.10. I send emails via a node application (using email-templates). If I send an email from noreply@mydomain.com to myacccount@gmail.com (email 1), the spf record passes. If I send an email from…
Simon
  • 165
  • 1
  • 8
2
votes
0 answers

Postfix mailbox_command + netcat + nodejs

I use Node.js script to process incoming emails and pipe them from Postfix via netcat in mailbox_command (namely: nc 127.0.0.1 3002). Node is listening on port 3002 and calls socket.destroy() once email is processed. However, it seems that postfix…
2
votes
1 answer

Where do I add DKIM details to amavisd.conf on Ubuntu?

I'm trying to add a DKIM key to an additional domain on my Ubuntu mail server, I am trying to add the following block of code to the amavisd.conf file $enable_dkim_verification = 1; $enable_dkim_signing = 1; dkim_key('example.com',…
Danny Green
  • 121
  • 3
2
votes
1 answer

postfix transport relay access denied

When message arrives from other mail server (yahoo/gmail) on my postfix server it gets denied and not being transported using the transport on my configuration. Been checking whole day can't find anything hope you guy can help me. getting this…
jmazaredo
  • 202
  • 5
  • 13
2
votes
1 answer

Postfix does not reject wrong client and HELO name

I have a postfix server configured with reject_unknown_client_hostname and reject_unknown_helo_hostname. Regardless the server accepts non sasl_authenticated connections from clients and HELO names with no DNS entry. Tested with telnet and nc…
jojoob
  • 194
  • 6
2
votes
1 answer

Postfix - disabling local delivery correctly

I have a postfix server with a config for no local delivery. Every email sent through from websites on this server are beeing sent out, no domain on this server accepts emails localy (every domain has external mailboxes - Google, Outlook, etc.). It…
Caesar
  • 105
  • 2
  • 9
2
votes
2 answers

SELinux preventing /etc/aliases email pipe to script from working

When somebody sends an email to my server, e.g. somestringthatisnotnecessarilyauser@myserver.com I want it to pipe to a PHP script. So in my /etc/aliases file I have: somestringthatisnotnecessarilyauser: "|/path/to/php/script.php" With SELinux…
2
votes
1 answer

telnet unable to connect to remote host

I have installed postfix and devcot on one of my live servers to send bulk mail (system messages on sign-up, wrong passwords etc). I use the php_imap function to check bounces and flag those email id's so that we don't keep sending emails to those…
sridhar pandurangiah
  • 763
  • 2
  • 11
  • 29
2
votes
1 answer

Postfix TLS connection not verified

  Hi! I am in the process of setting up postfix. What I want to achieve is trusted TLS connection between all internal parties. We deployed a PKI infrastructure with a Windows Server 2012 R2 CA for all internal certificates. We are using those…
TobiK
  • 23
  • 1
  • 3
2
votes
2 answers

Postfix: Helo command rejected: Host not found

i have a Postfix 2.9.6 running on Ubuntu with the following configuration https://gist.github.com/anonymous/400fb4afa05e18c6da2b and i'm suffering the following issue where a valid client tries to send an email to itself. Most of my clients does…
peris
  • 508
  • 2
  • 9
  • 27
2
votes
1 answer

Unable to Connect to SMTP Host

I am trying to configure Postfix on CentOS 6 server, and the problem is that I cannot receive mails. I tested it on http://mxtoolbox.com/ and I get an error Unable to Connect to SMTP Host. I check with netstat -tulpn | grep :25 and I see that…
Shimon S
  • 123
  • 1
  • 5
2
votes
0 answers

"Undelivered Mail Returned to Sender" messages from Google

Some while back I set up a postfix server. I set the MX record for my domain name and sent a test message to one of my addresses on gmail.com. However, as the MX record change was not propagated by the time, the test mail bounced and I received a…
Phil
  • 21
  • 2
2
votes
2 answers

Migrating old mbox format to maildir- preserving UIDL values

I am attempting to migrate several hundred email accounts from an old server running sendmail 8.13.6/dovecot 0.99.14 (mbox format) to a new server running postfix 2.6.6/dovecot 2.0.9 (maildir format). I tried migrating a couple mailboxes with dsync…
Ryan Griggs
  • 963
  • 2
  • 14
  • 29