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

what advantage postfix have over gmail server

I configured a auto mail sender in ruby on rails ,set to send use gmail(the gmail account and password is there in the ruby code) Then my boss ask me change use postfix... Somehow lost in configure postfix to send mail. what's the advantage of…
user3736098
3
votes
1 answer

Google marks seemingly perfect emails as spam

First post, have found many answers here, so hopes are high. The problem: Google marks seemingly correctly formatted emails from my apache/postfix server as spam. Sample email as follows; (I have replaced my domain with mydomain.com.au and the IP…
GBC
  • 3,246
  • 2
  • 19
  • 18
3
votes
1 answer

postfix-mysql regexp for partial catch-all

I just trying to make a partially catch-all email on my Postfix-mysql config. I think have problem on the regexp. I want to send all notify-*@domain.com to notify@domain.com I use the following email request (letters and numbers are…
Amador
  • 41
  • 5
3
votes
1 answer

How do I set my hostname and DNS records if I'm running Apache and Postfix from the same VPS?

I've recently taken on a VPS (Ubuntu 12.04) to host a few websites (with domains) and have recently set up Postfix/Dovecot to act as a mail server for the sites as well. The name server records are pointing to my registrar's nameservers. I have a…
luciditydave
  • 33
  • 1
  • 4
3
votes
1 answer

Configure wildcard catch-all email with Postfix

I have a setup using Postfix with a MySQL database to configure domains, accounts and aliases. I can set up a catch-all address when using a @example.com mail and forward it to account@example.com. Now I want a more advanced catch-all, like…
arnep
  • 5,971
  • 3
  • 35
  • 51
3
votes
2 answers

DKIM signing emails using Postfix with removed headers

I have a problem getting OpenDKIM working with Postfix. Due to security reasons we remove certain headers from our emails: From main.cf: mime_header_checks = regexp:/etc/postfix/header_checks header_checks = regexp:/etc/postfix/header_checks The…
Lasse Laursen
  • 131
  • 1
  • 8
3
votes
1 answer

Postfix PolicyD v2 (cluebringer) after checking virtual mail users

I installed and integrated policyd v2 (cluebringer) into my postfix installation. I use it for ratelimit sasl authenticated email senders (quota module) and greylisting not authenticated incoming mails. The problem is, that I have to put the policy…
apairon
  • 31
  • 2
3
votes
3 answers

Is it possible to read an email using its ID on Postfix?

I need to recover an email that another user on my network sent a few days ago. I got the email ID using the grep command on /var/log/mail.log, but I don't know what to do right now with this. How can I use the ID to view the contents of an email?
user2182051
  • 77
  • 2
  • 2
  • 5
3
votes
2 answers

postfix 2.9.6.1 forward all mail to an external mail address

I am trying to tell postfix that all mails to any address should be forwarded to an external email address. My main.cf includes the entry for smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's…
rezizter
  • 4,908
  • 4
  • 24
  • 32
3
votes
1 answer

MAMP PRO PHP Mail - Gmail

Hi I´m trying to send mails on localhost to my gmail account. I tried the postfix tutorial on the MAMP Pro website but that did not work for me. Is there any way to enable sending mails from and to my gmail-account on localhost?
Silicium
  • 435
  • 8
  • 18
3
votes
2 answers

Again: sending mail (through php) from an EC2 instance

I have seen lots of discussion on the problem of sending mail from an amazon EC2 instance using php's mail function. None of the suggestions have worked with me. Here is my setup: I have ubuntu EC2 instance. I followed the steps on Amazon's SES…
hsnm
  • 658
  • 1
  • 8
  • 20
3
votes
2 answers

read localhost POP3 inbox with javax.mail

What is the Java analogue for: thufir@dur:~$ thufir@dur:~$ thufir@dur:~$ telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Dovecot ready. user thufir +OK pass password +OK Logged in. stat +OK 16…
Thufir
  • 8,216
  • 28
  • 125
  • 273
3
votes
1 answer

Postfix + Django: SMTPException: SMTP AUTH extension not supported by server

I am complete novice to Postfix, just set up default Postfix for Ubuntu, tested it through telnet and it sent mail ok, but when I try to send mail through django (host='localhost', port='25', user='', password=''), I just get SMTPException: SMTP…
evgeniuz
  • 2,599
  • 5
  • 30
  • 36
3
votes
1 answer

PHP, postfix, sendmail, thunderbird for local dev only

Hey, I'm trying to get php's mail function working on my local dev box in such a way where all mail sent using mail(), regardless of recipient, would stay local and show up in a thunderbird account (pop/imap/etc). I've got php set up to use sendmail…
Nolan
3
votes
1 answer

Email being sent as Apache user via postfix + PHP

I am sending emails from my server via PHP > postfix > Sendgrid. In PHP, I set the From: header to my noreply@domain.com. However, the email will always have Apache@mail.domain.com in the From header. New to sending emails from the server, what…
nathancahill
  • 10,452
  • 9
  • 51
  • 91