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
260
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 Rostovtsev
  • 12,128
  • 10
  • 47
  • 80
47
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=, relay=local, delay=9.8, delays=9.8/0.01/0/0.04, dsn=5.1.1, status=bounced (unknown…
Radim Burget
  • 1,326
  • 2
  • 18
  • 34
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,498
  • 16
  • 22
34
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…
Paul
  • 844
  • 1
  • 8
  • 19
25
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
  • 39,076
  • 79
  • 210
  • 312
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,180
  • 9
  • 28
  • 53
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,567
  • 7
  • 30
  • 47
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
  • 25,387
  • 37
  • 126
  • 165
20
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
  • 26,432
  • 30
  • 122
  • 179
17
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
  • 195
  • 1
  • 1
  • 3
16
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
  • 919
  • 3
  • 15
  • 42
14
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
  • 7,761
  • 6
  • 28
  • 53
14
votes
2 answers

Emails with same domain does not go out from postfix

I am using postfix to send out emails. Its working fine when I send email to other domains but it does not send email when I send emails to the same domain the post fix is configures with. Below is my configuration: myhostname =…
13
votes
3 answers

send email from swift osx application

I am facing problem on sending mail from my osx swift application. To send mail i used the below code import Foundation import Cocoa class sendemail : NSObject, NSSharingServiceDelegate{ func sendEmail() throws { print("enter email…
user2763758
13
votes
4 answers

Quoting/Escaping variables in mail body

I am feeling a bit awkward, because I am generating a mail-body with PHP without escaping the variables. In HTML I am using htmlspecialchars() or similar functions, for command lines escapeshellarg(), but for mails? For example something like…
Trendfischer
  • 5,591
  • 4
  • 33
  • 41
1
2 3
85 86