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
279
votes
6 answers

What is the difference between ports 465 and 587?

These ports 465 and 587 are both used for sending mail (submitting mail) but what is the real difference between them?
Ilia Ross
  • 13,086
  • 11
  • 53
  • 88
54
votes
4 answers

Postfix - status=bounced (unknown user "myuser")

I am configuring Postfix and when validating by telnet and SMTP I got the status bounced error, unknown user: Error log: postfix/local[18718]: 4590D7DC0A51: to=myuser@mydomain.example, relay=local, delay=9.8, delays=9.8/0.01/0/0.04, dsn=5.1.1,…
Radim Burget
  • 1,456
  • 2
  • 20
  • 39
44
votes
7 answers

Postfix and OpenJDK 11: "No appropriate protocol (protocol is disabled or cipher suites are inappropriate)"

I know there are some other questions (with answers) to this topic. But none of these was helpful for me. I have a Postfix server (postfix 3.4.14 on Debian 10 (Buster)) with the following configuration (only the interesting…
Steffen
  • 2,500
  • 4
  • 31
  • 47
39
votes
6 answers

I am creating an email spammer, for an outstanding cause

In Cuba, web access is extremely censored, so I created a tool that allows more than 50,000 people to browse the Internet through email. Cubans send me an email with an URL in the subject line, and I email them back with the response. Read more at…
Salvi Pascual
  • 1,788
  • 17
  • 22
36
votes
4 answers

Mac OS X 10.10 Yosemite Postfix SASL authentication failed

I followed the step described in the link below to setup my mac to send out email. http://www.anujgakhar.com/2011/12/09/using-macosx-lion-command-line-mail-with-gmail-as-smtp/ It was working fine on my Mac OS X 10.9. But after I upgraded to OS X…
TFS
  • 964
  • 1
  • 9
  • 19
29
votes
2 answers

Postfix is installed but how do I test it?

I tried everything, I read online to test, and I can't get email to go out: telnet 25 EHLO MAIL FROM: RCPT TO: DATA Type message here. . => I even tried this, and when I type the period, I get nothing -…
Matt Elhotiby
  • 43,028
  • 85
  • 218
  • 321
25
votes
1 answer

Change outgoing mail address from root@servername - rackspace sendgrid postfix

So I recently setup my Rackspace server (Ubuntu LAMP stack) to use Postfix and Sendgrid for outgoing email. It works great in that my test mail from the cmd line gets delivered via sendgrid smtp. However, when I receive the email it says its from…
tehaaron
  • 2,250
  • 10
  • 31
  • 54
22
votes
1 answer

Postfix unable to find /etc/postfix/virtual file

On an Ubuntu Server 12.04 machine, I've set up an email forwarder for a specific address in /etc/postfix/virtual: example@mydomain.com postfix-test@dotancohen.com The address postfix-test@dotancohen.com works and receives mail. When I send mail…
dotancohen
  • 30,064
  • 36
  • 138
  • 197
21
votes
1 answer

How do you configure Django to send mail through Postfix?

How do you configure Django and Postfix to send emails for Django apps? I am able to do it using Gmail server settings but I want to send email from my own server using my own domain.
toothie
  • 1,019
  • 4
  • 20
  • 47
20
votes
1 answer

how to change default email address for postfix?

I have a server running python, php, perl, ruby, and I have couple applications which also send mail. I was wondering in case if one of the applications don't specify a from email address, the sender email address is set to http@example.com and the…
samwell
  • 2,757
  • 9
  • 33
  • 48
20
votes
2 answers

Using Docker for a mail server

I've been interested in docker for a while, but not jumped in yet. I have a need to set up a mail server, so thought maybe I could use this as a reason to learn more about docker. However, I'm unclear how to best go about it. I've installed a…
Tauren
  • 26,795
  • 42
  • 131
  • 167
20
votes
3 answers

How to move spam to spam folder?

i have already install postfix, dovecot, Clamav, Spamassassin and amavisd-new on my centos 5.10. The tutorial is in here : http://catatanlepas.com/komputer/aplikasi/server-mail/postfix/359-instalasi-postfix-menggunakan-dovecot-di-centos-5-5 I just…
user3747101
  • 225
  • 1
  • 2
  • 3
18
votes
9 answers

Is it possible to send mails by bash script via smtp?

I have postfix+dovecot. I want to make bash script which can use SMTP for this. I don't want use sendmail. Is it possible? May be someone has some examples of code?
Jason
  • 197
  • 1
  • 1
  • 7
16
votes
2 answers

Correct email headers for delivering mailing list mail

I'm writing an application that allows users to send email to dynamically-created mailing lists. For example, a user can send an email to my-team@site.com (the site is a league management site for sports leagues) and the email will be sent to…
Alex Grin
  • 8,121
  • 6
  • 33
  • 57
15
votes
2 answers

Which is best Postfix Log analyzer?

Which is best Postfix Log analyzer? We are looking for good log analyzer for postfix. We need to analyze the following How many mails queued ? How many mails not delivered ? Why mails are not delivered ? And is it possible to view the subject for…
Anto Binish Kaspar
  • 1,322
  • 1
  • 14
  • 20
1
2 3
99 100