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
4
votes
0 answers

Nodemailer keeps refusing authentication for invalid login (not using gmail)

I'm wrapping my head around the strangest issue ever right now. I'm using nodemailer and postfix to send email. The following code is NOT working, giving me the following error : Error: Invalid login: 503 5.5.1 Error: authentication not enabled …
glemiere
  • 4,790
  • 7
  • 36
  • 60
4
votes
0 answers

org.postfix.master logs an error every 10 seconds

Every ten seconds, I get errors like these in my OS X El Capitan error logs (with line breaks added here for clarity): 3/7/17 09:15:34.104 com.apple.xpc.launchd[1]: (org.postfix.master[98071]) Service exited with abnormal code: 1 3/7/17…
Eric A. Meyer
  • 920
  • 6
  • 20
4
votes
1 answer

DKIM Only works on Short Messages

The Problem: I am using OpenDKIM with Postfix. The mail is generated in PHP using the following code and then sent with mail(): // message $message = "--$hash".PHP_EOL; $message .= "Content-Type: text/plain;…
Kittsil
  • 2,349
  • 13
  • 22
4
votes
5 answers

Postfix Not Sending Mail Out

I've been trying to get postfix setup so that it can SEND (don't need it to receive) emails out to users on my website (such as account validation emails). I install postfix through mailutils (installs postfix along with other stuff). sudo apt-get…
Ricky
  • 343
  • 1
  • 2
  • 11
4
votes
1 answer

PHP+Ubuntu Send email using gmail form localhost

I have searched several posts on this but no luck. Everyone is using postfix. But when I gone through the text on https://help.ubuntu.com/community/Postfix What is a Mail Transfer Agent In other words, it's a mail server not a mail client like…
Mangesh Sathe
  • 1,987
  • 4
  • 21
  • 40
4
votes
0 answers

RuntimeException Too many arguments. while using artisan to pipe postfix mails

I tried this process to pipe all mails from postfix to PHP. https://serverfault.com/questions/258469/how-to-configure-postfix-to-pipe-all-incoming-email-to-a-script For testing purpose, I just executed a PHP script that would save raw mails to text…
nirvair
  • 4,001
  • 10
  • 51
  • 85
4
votes
3 answers

postfix: check_client_access not working

I want to block specific IP's, that try to login to my postfix server by smtpd. Therefore in the /etc/postfix/main.cf I added the following: smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, ... check_client_access…
Andre
  • 623
  • 2
  • 9
  • 20
4
votes
1 answer

Fail to trigger my php script when mail received by my Postfix

I am in need of serious help. I am running Postfix mail on ubuntu 14.04.1. I want to "trigger a PHP script when Postfix server receives a mail" After investigation and the help of many tuto, . I have configured "postfix" & "Postfix virtual Aliases"…
xtensa1408
  • 584
  • 12
  • 32
4
votes
2 answers

Return-Path header rewritten by postfix

I'm sending mails from PHP using postfix at ubuntu: mail($to, $subject, $body, "Return-Path: "); Trying to set Return-Path header but it seems that postfix rewrites it to user@serverdomain Found in postfix documentation…
Index
  • 676
  • 1
  • 10
  • 27
4
votes
2 answers

postfix forwarding mails getting bounced back to original sender

I am using postfix as mail server for "myDomain.com". Further I have installed a forwarding service to gmail. That works fine so far. But when someone sends me an e-mail with e.g. an executable, gmail bounces the mail. This notification mail from…
user1346201
  • 41
  • 1
  • 4
4
votes
2 answers

filtering postfix log which mail was sent or bounced

I have a problem with filtering log of postfix in /var/log/maillog. I do a command cat maillog | grep bounced | grep said and filtering which mails didn't sent and reason of its like this: Nov 10 10:48:40 host-10-190-10-26 postfix/smtp[7075]:…
Jin
  • 81
  • 1
  • 1
  • 10
4
votes
0 answers

sendmail / postfix in laravel homestead vagrant

I have a laravel-homestead box. I installed mailutils by "apt-get install mailutils" It then asked me to configure postfix I choose "Internet.." option. When I try to send an email by running echo "Test" | mail -s "testing email" myemail@gmail.com I…
Salman Ahmed
  • 95
  • 1
  • 11
4
votes
2 answers

How to get or catch email bodies and headers sent by postfix

I need catch email bodies and headers that are sent by postfix on my Ubuntu server. Could you please explain me, how to catch it? I know I can do it by postcat (postcat -vq XXXXXXXXXX) when message is in mail queue, but unfortunately I don't know…
JEROME
  • 139
  • 1
  • 8
4
votes
4 answers

Handling Incoming Mail to Multiple Recipients in PHP

Alright, this may take a moment or two to explain: I'm working on creating an Email<>SMS Bridge (like Teleflip). I have a few set parameters to work in: Dreamhost Webhosting PHP 5 (without PEAR) Postfix MySQL (If Needed) What I have right now, is…
Navarr
  • 3,703
  • 7
  • 33
  • 57
4
votes
2 answers

configure catch-all alias in postfix using mysql

It seems like my catch-all alias doesn't work. When I use postmap -q test@example.org mysql:/etc/postfix/mysql-virtual-alias-maps.cf There is no output. But when I command postmap -q jack@example.org…
rohx
  • 43
  • 3