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

warning: pipe flag `D' requires dovecot_destination_recipient_limit = 1

I have a problem in my postfix. I'm setting my server mail by postfix + dovecot + spamassassin and clamav. When I send a multiple email I have the below warning in the log. Dec 14 12:37:52 mydomain postfix/pipe[30312]: 72210100722:…
Flavio Troia
  • 2,451
  • 1
  • 25
  • 27
3
votes
3 answers

How to install GitLab on CentOS 6 running WHM?

I am trying to install GitLab on my dedicated server with no luck. Server info: CENTOS 6.7 x86_64 standard WHM 11.52.1 (build 2) I tried this guide, but I keep getting the following error: Loaded plugins: fastestmirror, security Setting up Install…
Waqleh
  • 9,741
  • 8
  • 65
  • 103
3
votes
2 answers

How can I extract all conversations in a Postfix log from a particular client using awk?

I am trying to extract conversations from a Postfix log file based on the client that initiated them. This is the awk script that extracts the matching message IDs: awk '/client.host.name/ && !(/timeout/||/disconnect/) { sub(":","",$6);print $6}'…
Justin ᚅᚔᚈᚄᚒᚔ
  • 15,081
  • 7
  • 52
  • 64
3
votes
1 answer

How to disable postfix address verification

I'm doing some spam/botnet research and need to accept all email that my mail server receives. I've set postfix up, but I can't seem to figure out how to disable the sender address verification function. During my initial tests (spoofing mail…
user3802478
  • 143
  • 2
  • 7
3
votes
1 answer

Processing an Email Bounce back in CakePHP and Postfix

I'm trying to handle bounced message and send to a responsible System Administrator. I use CakePHP Email Component to send the message. On server side, I use postfix to transport the message. function sendAsEmail($data) { $Email->sendAs =…
user181677
  • 795
  • 2
  • 12
  • 15
3
votes
4 answers

How do I test sending email from a web applicatoin on OSX?

I have a Django application running locally and I'd like to test the "send_mail()" functionality. Currently, I'm able to turn on postfix using the following command in Terminal: sudo postfix start Once I turn on postfix, I run the following…
Huuuze
  • 15,528
  • 25
  • 72
  • 91
3
votes
1 answer

Multiple postfix output IP

I have a server with multiple public IP addresses. I want to send campaign emails on this server. Sometimes i would like to send mail from a particular IP (it is a filter on the sender email address that gives which IP to use). The only thing i find…
testpresta
  • 429
  • 5
  • 15
3
votes
1 answer

How to relay all local mail through external SMTP relay

I have Postfix 2.6.6 installed on my CentOS server. I use SendGrid for all outgoing mail, and have the following settings in my Postfix main.cf file... smtp_sasl_auth_enable = yes smtp_sasl_password_maps =…
Monty
  • 304
  • 2
  • 14
3
votes
3 answers

Postfix transport_maps and virtual_mailbox

I'm trying to pipe one specific address to php script but it seems my transport_maps doesn't trigger, instead of it the virtual_transport is used. Here is what I have: @example.com is listed in virtual_mailbox_domains and the delivery to virtual…
Daniel
  • 403
  • 5
  • 9
3
votes
1 answer

SOCKET_RWGROUP=postfix in ClamAv?

I have read the guides about install postfix on the server and there is written to set the parameter: SOCKET_RWGROUP = postfix in the file / etc / default / clamav-milter but I installed ClamAV and unfortunately I do not have such a file. How do I…
GSMX
  • 95
  • 3
  • 8
3
votes
3 answers

Untrusted TLS connection established

I can't figure out how to get Trusted TLS connections between my primary mail server (mail.sfnet.it) and mail exchanger (mx.sfnet.it) They both use Postfix as MTA and they both have a PositiveSSL certificate installed and everything seems to work…
3
votes
2 answers

smtp send mail via postfix and nodejs nodemailer connection closed

i have problem of remote sending via smtp server using nodejs module nodemailer host: 'mail.5cpa.ru' port: 587 secure: false (true tried also) smtp server is mine, and i can send mails through thenderbird, using same setting log server 220 5cpa.ru…
skovrec
  • 131
  • 1
  • 1
  • 11
3
votes
2 answers

Postfix mail transport unavailable only in queue

Yesterday i've tried to configure spamassassin on my debian server through this tutorial: https://www.rosehosting.com/blog/install-and-setup-spamassassin-in-debian-6/. Today i noticed that my e-mail gets queued with this error: mail transport…
Max
  • 803
  • 3
  • 10
  • 24
3
votes
2 answers

Postfix in Docker container can't resolve MX unless it gets restarted once

I have an issue with a Postfix instance in a Docker container. I'm using supervisord to make sure the services run in the background. However, if I build the image, start it up for the first time and try to send a mail, Postfix complains that it…
frdmn
  • 359
  • 1
  • 2
  • 11
3
votes
1 answer

sudo yum install postfix mysql-libs error

I am trying to install postfix through yum: sudo yum install postfix After I run the code below I get the following error: Loading mirror speeds from cached hostfile * rpmforge: mirror.hmc.edu Setting up Install Process Resolving Dependencies -->…
Alex Pelletier
  • 4,933
  • 6
  • 34
  • 58