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

1284 questions
6
votes
2 answers

Linux postfix/dovecot 554 Relay access denied

I have this error 554 Relay access denied when trying to send email from my outlook client. I can read incoming mails but cannot send. If i connect with telnet localhost 25 i can send external emails, but with outlook client it doesn't work. Here's…
Tamere Jlanik
  • 135
  • 2
  • 4
  • 8
5
votes
3 answers

Xcode Server Bot not sending email reports

I am running Xcode Server Bots on my local iMac but the email notifications are not being sent. I have followed many tutorials and have postfix setup and working. I can successfully send emails using the command sudo echo "Test sending email from…
Darren
  • 9,325
  • 19
  • 83
  • 140
5
votes
0 answers

ARC Sign / Verify in Postfix

I've upgraded my Postfix mail system from opendkim to dkimpy in Debian Stretch using Backports, because I'm trying to implement ARC signing and verification. I was able to get dkimpy working in so far that DKIM verification was done on inbound mail,…
Julian
  • 155
  • 5
5
votes
1 answer

SwiftMailer library performing slow

I'm trying to implement swiftmailer into this mailing system. my client has about 300k active emails that need to be sent on a semi regular basis. the system was originally configured for sendmail and php's mail() function. I've since installed the…
john
  • 1,222
  • 3
  • 19
  • 34
5
votes
2 answers

Set up Nodemailer to secure email with a STARTLS handshake?

I need to send e-mail through my remote Postfix/Dovecot SASL service from Node.js on my desktop. When I send email using Thunderbird, it works and the Postfix server logs show Anonymous TLS connection established from unknown[dh.cp.ip.ip]: TLSv1.2…
Kickaha
  • 3,036
  • 3
  • 27
  • 53
5
votes
2 answers

Allowing emails with a plus (+) symbol to land in the same Zimbra mailbox

I want to allow emails like myusername+something@mydomain.com instead of simply myusername@mydomain.com using Zimbra - this is a feature on Gmail. Does anyone where to begin looking to allow this to work? Postfix?
Amit Kothari
  • 490
  • 8
  • 21
5
votes
1 answer

How to install a python egg

I'm trying to setup ftw.mail for my postfix installation. Since I'm new to Linux and Python I don't really have a clue whether it is right, goes in the right direction or is rubbish. From the official documentation I found this: Add ftw.mail to…
Peter
  • 1,802
  • 2
  • 20
  • 44
5
votes
2 answers

Send email in via Java using Postfix

I am currently developing a web application based on Java EE, JSF, EJB etc. This application is deployd on a Debian 7.6 and there is Postfix installed. I can use something like this to send emails via commandline: /usr/bin/mailx -s "SUBJECT" -a…
alexander
  • 999
  • 2
  • 15
  • 34
5
votes
1 answer

JavaMail not sending SMTP email via postfix

I am trying to set up JavaMail to send and receive emails using Postfix, which is installed on my CentOS7 development box. I have confirmed that postfix is able to display received emails by typing MAIL=/home/root/Maildir into the terminal,…
CodeMed
  • 10,414
  • 61
  • 175
  • 315
5
votes
4 answers

postfix and save to sent mail dir

i know this might be a dummy question or a question that comes from lake of knowledge, but i hope someone can still answer it. i did try to read a lot of postfix documentation but found no answer to this. i don't even know if it's a postfix…
sd1sd1
  • 948
  • 3
  • 13
  • 27
5
votes
3 answers

Sending newsletter using PHP SwiftMailer and SMTP

I send daily a newsletter to about 20K recipients. After moving to other server I need about six times more time to this using the same PHP scripts – I tried many different settings but had no luck with it (please see this post). The email server…
Okizb
  • 99
  • 1
  • 14
5
votes
2 answers

Postfix message received hook

I am writing an web-application which needs to receive e-mail messages to users' internal email addresses, let administrators approve them, and then forward to corresponding user's external mailbox. I have installed and configured postfix for…
fest
  • 1,425
  • 12
  • 17
5
votes
1 answer

Send email in python using subprocess module

I wrote a script to retrieve weather report from a website and send it to my girfriend in the morning. Using Gmail. Of course I can send it using my Postfix server. Here is the script. What I'm not sure is how to use Popen() function in the…
おおさま
  • 257
  • 4
  • 9
5
votes
1 answer

Sending e-mails using POSTFIX and SWIFTMAILER, PHP

I have installed TURNKEY LAMP(updated today, 02 december 2012). It's used with an Oracle VM VirtualBox. This virtual server has linux, apache, php, mysql and Postfix MTA (bound to localhost) to allow sending of email from web applications. The thing…
Alin Alexandru
  • 139
  • 1
  • 6
5
votes
1 answer

Piping Email with Postfix

I'm trying to set up a pipe for a specific email address. I'm following what I see here, but after newaliases I get the following: postalias: warning: /etc/postfix/aliases, line 1: name must be local My /etc/postfix/aliases: pipe@example.com: "|…
Steve Robbins
  • 12,813
  • 9
  • 68
  • 117