Questions tagged [postfix-mta]

QUESTIONS ABOUT POSTFIX ADMINISTRATION ARE OFF-TOPIC. Server admin questions may be asked on Server Fault. Postfix is a free, open-source, widely used cross-platform mail server (mail transfer agent), available on all common platforms.

The postfix-mta tag can be used for programming questions related to the Postfix mail transfer agent. Non-programming questions relating to setting up a mail server are off-topic for Stack Overflow. Such questions are often on-topic on Server Fault.

Postfix is a popular mail transfer agent (MTA), created as an alternative to Sendmail by Wietse Venema. Postfix is intended to be similar enough to Sendmail to be comfortable for those already familiar with Sendmail. However, Postfix is specifically intended to be fast, easy to administer, and secure, and will deviate from Sendmail convention when necessary to achieve those goals.

Postfix is free and open source, and offers a source distribution that is capable of running on a wide range of Unix-like systems, including Linux, Solaris, FreeBSD, AIX, HP-UX, and Mac OS X. Some system vendors also provide pre-built binaries for ready-to-run use.

Useful Links

1541 questions
3
votes
1 answer

Fail2ban not using sender in jail.conf

I am trying to change the sender of Fail2ban email notifications to a separate domain. Inside /etc/fail2ban/jail.local I specify: sender = no-reply@externaldomain.com mta = mail However, when I restart the service, emails are still being sent from…
JoaMika
  • 1,727
  • 6
  • 32
  • 61
3
votes
1 answer

Sending mail using phpmailer using smpt with dkim going thru postfix

So I am using phpmailer using smpt and it is going thru postfix to send emails. When I send a email from my email it goes thru without a problem when it comes to using DKIM and DMARC. But when I send using phpmailer Im not getting a DKIM.
willis
  • 51
  • 2
  • 9
3
votes
3 answers

Postfix + MySQL ENCRYPT(), How does it verify the password with randomizing salt?

I've implemented my mail server as dictated here. It works perfectly fine. My curiousity revolves around entering users into the database and authenticating them Running: INSERT INTO users (email, password) VALUES ('sales@example.com',…
CogitoErgoSum
  • 2,879
  • 5
  • 32
  • 45
3
votes
1 answer

Postfix configuration to use AWS SES

I'm trying to send emails from my application on a local server with Internet connection via the Amazon SES using Postfix. I have a validated "to" email address on the SES Sandbox. However whenever I try to send the mail, it fails to deliver the…
3
votes
2 answers

Email sent from Rails + Postfix goes to spam folder

I send email from my domain using postfix without any issue. The problem is that when I send same email using a Rails application with same sender address, the message goes to spam folder in Gmail. I've tested it with and without Message-ID option…
Aref Aslani
  • 1,560
  • 13
  • 27
3
votes
1 answer

Postfix - enable_long_queue_ids assures unique QueueIDs?

I want to aggregate log lines by QueueIDs. As far as my understanding of postfix, when enable_long_queue_ids= no queueIds are ensured to be unique within the lifetime of a message, and for the second the queueID is created. This means a queueid…
David Przybilla
  • 830
  • 6
  • 16
3
votes
3 answers

Postfix header checks multiple actions

I want to make a header check rule to add a reply-to and change From to a no-reply. I use it for sort of diffusion list adress I have tried this regexp code but it is not working: if !/^From:(.+@myserver\.fr)/ /^From:(.*)$/ PREPEND…
Jos
  • 111
  • 1
  • 9
3
votes
1 answer

Get Queue ID during execution of Postfix before-queue (perl) milter

Problem: Trying to write a milter for Postfix to tie the presence of certain headers in an email to the destination IP address and TCP Port of the outbound relay host. Following the Postfix milter guide it seems I need to implement a before-queue…
David-SkyMesh
  • 5,041
  • 1
  • 31
  • 38
3
votes
2 answers

ldap_url: and ldap_master_url cannot be the same on an ldap replica

So i tried adding rt-mailgate in zimbra using the following tutorial http://muru-techsolution.blogspot.co.ke/2015/03/install-rt-mailgate-in-zimbra.html .but now when i try to restart zimbra services i get the following error:…
hackitect
  • 141
  • 1
  • 8
3
votes
1 answer

golang & postfix - email received header is localhost

While trying to setup postfix to allow a website to sent password reset emails I've noticed that when sending emails form the command line using echo "body" | mail -s "subject" test@example.com the emails arrive just fine and are not marked as…
Scott Owens
  • 61
  • 1
  • 4
3
votes
3 answers

What's the point of having an SPF record with a final ~all rule?

Over the past hour, I've been digging into SPF, skimming through RFC-4408, and going over another tutorial. I own my own domain, with postfix installed on the server behind that domain. Apart from my normal address, I want to also be able to send…
exhuma
  • 20,071
  • 12
  • 90
  • 123
3
votes
1 answer

Postfix email TLS header but is not encrypted for gmail

I have a little strange problem. I have newly configured postfix server(with dovecot). Everything is fine for almost all mail recievers, except for gmail's. I have this header using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128…
digode
  • 187
  • 10
3
votes
1 answer

Postfix hangs when sending email

If I try to send an email as follows, the process hangs and nothing happens: >>> from django.core.management import setup_environ >>> from cube import settings >>> setup_environ(settings) 'cube' >>> from django.core.mail import send_mail >>>…
David
  • 493
  • 7
  • 15
3
votes
0 answers

Install Postfix dovecot with mysql background

I have spent about 3 days to install the Postfix, dovecot and mysql on my VPS server. It has been a very frustrating process. I have googled painfully for 3 days and collected the information piece by piece and eventually made this combination…
3
votes
2 answers

Postfix + Dovecot Connect failed to database

I have installed a new Mailserver based on Postfix and Dovecot. The setup were fine while I configurated everything. No error outputs or someting. The problem is: When i try to connect to a mail account over a client, its going to idle at the…
0x4Dark
  • 214
  • 1
  • 3
  • 10