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

Postfix cannot get RSA private key from file /etc/ssl/private/server.key: disabling TLS support

I installed a postfix mail server. But it is wrong when I use thunderbird to login a user. This is configuration. Postconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory =…
changzhi
  • 2,641
  • 9
  • 36
  • 46
4
votes
1 answer

postfix recipient_bcc_maps multiple recipients how to?

is it ever possible to have multiple recipients in /etc/postfix/recipient_bcc_maps ? /etc/postfix/recipient_bcc_maps : source@domain.tld recipient1@domain.tld Can I do something like: **source@domain.tld…
SelfVDS
  • 43
  • 1
  • 1
  • 4
4
votes
2 answers

Create a new email account from php script on dovecot/postfix

I'd like to make a page to allow people to create new email accounts on a dovecot/postfix server (via imap). I've seen the php functions imap_open and imap_createmailbox, but these functions don't create accounts, it only creates a new directory…
banibanc
  • 143
  • 3
  • 16
4
votes
1 answer

NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 disconnect from localhost

I am trying to send mail from centos using postfix and rails but I am getting error as Nov 16 18:14:15 li664-186 postfix/smtpd[5477]: connect from localhost[::1] Nov 16 18:14:15 li664-186 postfix/smtpd[5477]: NOQUEUE: reject: RCPT from…
Prabhakaran
  • 3,900
  • 15
  • 46
  • 113
4
votes
1 answer

Postfix - 530-5.5.1 Authentication Required

I'm trying to get postfix to deliver mail to gmail. I've followed this article on configuring it, but I still gives me an error: relay=smtp.gmail.com[173.194.66.108]:587, delay=0.46, delays=0.05/0/0.37/0.04, dsn=5.5.1, status=bounced (host…
Greg
  • 1,715
  • 5
  • 27
  • 36
4
votes
1 answer

linux postfix config and hostname FQDN

I'm trying to setup a mail server with postfix and dovecot using the tutorial from https://library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql#sph_prerequisites I followed every steps and also opened every mail port in the firewall but…
yves
  • 250
  • 1
  • 2
  • 18
4
votes
1 answer

SendMail Error Message: 553 5.1.8 … Domain of sender address … does not exist

I setup sendmail server with inhmail.walkingtree.in in local when i tried to sen dmail from other email servers i am getting the following error , This message was created automatically by mail delivery software. A message that you sent could not…
sri
  • 131
  • 1
  • 3
  • 10
4
votes
1 answer

Postfix vs. Apache James

Is there a difference between the two? Do they perform the same tasks? I'm a little confused as I'm not too familiar with email servers, but I'm trying my hand at building one primarily to send transactional email from Java and there is very little…
ryandlf
  • 27,155
  • 37
  • 106
  • 162
4
votes
2 answers

Is Content-Transfer-Encoding needed for multipart/alternative Content-Type?

I have an app that sends e-mails and for many months, it was working fine. I recently had problems with utf-8 encoded emails sent to iPhone Exchange account (i.e. not IMAP). All the receiver had to see was a big bunch of meaningless characters like…
oldergod
  • 15,033
  • 7
  • 62
  • 88
4
votes
3 answers

Sending raw SMTP messages to an AMQP broker

I'm looking for a way to take gads of inbound SMTP messages and drop them onto an AMQP broker for further routing and processing. The messages won't actually end up in a mailbox, but instead SMTP is used as a message gateway. I've written a Postfix…
DeckerEgo
  • 306
  • 1
  • 8
4
votes
2 answers

Postfix trigger when mail sent

I need run script after postfix sent mail and get status of it (success, defered etc). Is filters help me? I think it trigger only for incoming mail but i need for outgoing. I think about parsing logs by message-id. But it is not good idea. Is there…
Ramil Amerzyanov
  • 1,301
  • 12
  • 26
3
votes
5 answers

Must an SMTP client provide the MTA a globally resolvable hostname in the HELO?

In short: I'm trying to figure out if I should tell a mail administrator of a friend's employer whether their mail configuration should be fixed, or if I should revise my own policy to be more liberal in what I accept, or neither. A friend was…
Daniel Papasian
  • 16,145
  • 6
  • 29
  • 32
3
votes
4 answers

How to send email with Phpmailer with DKIM signature?

I`m using PHPmailer to sent email. I installed postfix service and DKIM-Milter to generate the key. It works fine if i use command line to sent mail, and the mail is with DKIM signature displaying "signed-by:mydomain.com" Authentication-Results:…
Angolao
  • 986
  • 1
  • 15
  • 27
3
votes
1 answer

Why do i have to use "-f from@email.com" in the mail() function

Recently, one of my collegue started having issues sending mail from different hosts where we were developping sites. He then remembered a long time ago that using the 5th parameter, he can pass a "-f email" in the mail() call such…
Mathieu Dumoulin
  • 12,126
  • 7
  • 43
  • 71
3
votes
2 answers

Handle umlauts (non-ASCII-characters) in postfix sendmail (sending mail on console)

I wrote a C++ application that needs to send emails. It does this by calling /usr/sbin/sendmail -f [sender] -t and then writing the mail headers and body to the standard input of the sendmail process. Everything works fine - except for umlauts or…
Heinzi
  • 5,793
  • 4
  • 40
  • 69