Free and open source mail transfer agent (MTA) that routes and delivers email. When asking about postfix problem, please include the relevant maillog lines and output of the following command: "postconf -n" (content of main.cf) and/or "postconf -M" (content of master.cf)

learn more… | top users | synonyms

3
votes
4answers
4k views

Is it possible to change the postfix message-id?

Is it possible to change the message-id in postfix? If I send Mails over an Java-Application I get the following message-id: ...
3
votes
5answers
4k views

How do I setup a secondary incoming mail server?

I currently have a server running Debian 6, with postfix and dovecot handling email. This server hosts email for a number of domains and users, so I use MySQL as my backing store for users and ...
3
votes
4answers
2k views

Use Postfix to forward mail to a domain to the same address at a different domain

Is there a way to configure Postfix to accept any mail for a domain (catch-all), and then forward that email to the same recipient at a different domain, ignorant of whether the recipient actually ...
3
votes
2answers
2k views

Postfix - specify interface to deliver outbound mail on

I need to be able to specify what interface Postfix will use to deliver outbound mail on. What I am doing is setting up an SMTP gateway to deliver mail from different, unrelated groups. I plan to ...
3
votes
1answer
6k views

Postfix Whitelist before recipient restrictions

Alright. Some background. We have an anti-spam cluster trucking about 2-3 million emails per day, blocking somewhere in the range of 99% of spam email from our end users. The underlying SMTP server ...
3
votes
5answers
535 views

Preferred mail system/server for a company?

Say you are responsible for setting up an email solution at a company. Which would be your choice? I know of the following options, but many of them not well: Gordano Mail System Exchange Exim ...
3
votes
5answers
455 views

Email Delivery To University Mail Servers (.edu emails)

I'm running an app at www.universitytutor.com which lets people find tutors. Most of the tutors are college students. We send out a follow up email 2 weeks after someone contacts a tutor to ask how ...
2
votes
1answer
42 views

SMTP service detection

I have some basic questions regarding SMTP connections, particularly for Postfix but would appreciate advice for MS Exchange too: When a single relay for a given remote domain becomes unavailable, ...
2
votes
1answer
532 views

cannot find postfix/mailx email in maildir, why not?

In a CentOS 7 development machine, I have configured postfix to allow emails to be traded between localhost addresses. Mailx is also installed. I am able to send email, and the log files indicate ...
2
votes
2answers
402 views

(Postfix + Dovecot) All emails to @aol.com being deferred

I'm running a dovecot/postfix mail server on debian and am having some issues. Everything is working fine except all emails to @aol.com are being deferred. The error code gave me: "The Reverse DNS ...
2
votes
1answer
326 views

How to route some email accounts of a domain with transport_maps to another MX if user doesn't exist locally?

The MX server in my domain example.com point to my Postfix server. However, I have also configured a Google Apps account responsible for emails of example.com. I want all emails to go to my Postfix ...
2
votes
2answers
821 views

postfix sending mails to unknown addresses

I was checking my munin tables and saw a huge list of deferred mails in postfix and looking into /var/log/mail.log gave me an idea: I am sending mails to unknown mail addresses: Dec 23 08:21:32 ...
2
votes
2answers
4k views

Emails going to Gmail's spam, DKIM and SPF are both set up correctly [duplicate]

I set up iRedMail on a VPS for personal email. Everything seems to work (emails can be sent/received), however when I send an email to a Gmail account, it goes straight to spam. In Outlook, it goes to ...
2
votes
1answer
143 views

Are these nameservers configured properly?

I'm caught in a technical war between two companies. One is a major email hosting organization. The second is a DNS provider called DNSMadeEasy. The problem: An email from an outside domain to a ...
2
votes
1answer
4k views

AWS SES: “Email address is not verified” error with Postfix relay

I've setup Amazon SES, verified my domain, and have been approved for Production mode. When an email from the outside world is sent to an address in my domain, my server forwards it back out to a ...
2
votes
3answers
4k views

Postfix - do not list domain example.com in BOTH mydestination and virtual_alias

I have a server with two domains. I get the warning as mentioned in the title: do not list domain example.com in BOTH mydestination and virtual_alias Although I receive the above warning, it works ...
2
votes
1answer
7k views

Postfix mail for mydomain.com loops back to myself

I'm using vps server with ubuntu 10.04 when i send email i got this: Mar 19 18:09:01 mail postfix/smtp[6340]: 8FAF722294: to=<root@mydomain.com>, orig_to=<root>, relay=none, delay=0.09, ...
2
votes
0answers
1k views

Rewriting sender address based on the recipient

I'm trying to set up my postfix server to alter the sender address of outgoing e-mails for one specific recipient domain (example.com) -- otherwise I'd just configure smtp_generic_maps in main.cf and ...
2
votes
1answer
406 views

Postfix on IspCP cannot send to google apps mail if it is in the same domain

In my vps setup I have ispcp omega 1.0.7 installed. Everything works fine except the fact that postfix cannot send to google apps mail when the domain of google apps is also registered in ispcp. ...
2
votes
1answer
1k views

Postfix Add Custom Header Based on MySQL Result

I have a quick question about accessing a MySQL database via Postfix and adding a custom header to an email based on the result. So we have setup an Ubuntu server with Postfix which is using a MySQL ...
2
votes
5answers
3k views

Redirect specific e-mail address sent to a user, to another user

I need to redirect e-mail within our MTA when the two following criteria are both true: When an e-mail is: Sent from: user@isp.com Addressesd to: user@ourcompany.com Result: redirect e-mail to ...
2
votes
1answer
488 views

Logwatch without MTA/Postfix?

Is it possible to have Logwatch send daily emails without actually installing Postfix? I want to keep my server light and installing an MTA just because of Logwatch seems overkill. Or will I need ...
2
votes
1answer
6k views

Postfix + SASL = “Relay Access Denied” when sending from outside the network

I have in /etc/postfix/main.cf: smtpd_sasl_auth_enable = yes smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination and SASL seems to be working: $ ...
2
votes
5answers
4k views

Rewriting from headers in Postfix

I want to configure Postfix to replace the 'From' header in all forwarded/aliased messages with a custom email address, and the 'Reply-To' header with the original sender's address. Is that something ...
2
votes
3answers
968 views

Postfix custom log

Is there any way to customize postfix logging? I'm trying to get some reports out of it and I find it almost impossible to parse on it's default. Probably a XML like logging would be perfect. Thanks. ...
2
votes
2answers
347 views

Postfix catch all for emails which include a unique id

I would like to allow email addresses that have an unique id as prefix. For example U123456_bla@bla.tld and U654321_bla@bla.tld would be accepted and send to one users email box. Postfix works fine ...
1
vote
1answer
79 views

IPtables drops all, but postfix still send emails

My iptables rules: # delete all current rules and user chains iptables -F iptables -X # global policy (target by default) iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP # ...
1
vote
2answers
68 views

Is it possible to shard postfix virtual mailboxes database?

I've managed to configure Postfix to read virtual mailboxes list out of a database. But what if my list is distributed among multi databases? Is there any way to set Postfix's database access ...
1
vote
1answer
36 views

postfix configuration and Received from

Having some trouble here. My server has 3 IP addresses and this is my /etc/hosts: 127.0.0.1 localhost 46.38.235.226 brian.smares.de brian 46.38.238.199 stewie.smares.de stewie 46.38.238.137 ...
1
vote
1answer
108 views

Understanding Postfix Mail Log

Recently I checked my mail log and found a lot of messages like this (some cipher text have been truncated): Feb 23 11:57:42 postfix/smtpd[32451]: initializing the server-side TLS engine Feb 23 ...
1
vote
1answer
45 views

postfix destination full/busy/error try another destination

Does anyone know if it is possible to setup postfix with a destination for a domain. If that destination (which is also running postfix) can't accept the mail because it's disk is full or it is ...
1
vote
1answer
67 views

How to configure postfix to replace the name of the sender to a configured one

I have postfix installed on my machine. I also use the generic maps to overwrite the email address from ubuntu to admin@example.com: /etc/postfix/generic ubuntu admin@example.com With this ...
1
vote
1answer
2k views

postfix/smtpd[1337]: warning: hostname example.com does not resolve to address 93.184.216.119

I am having trouble figureing out what exactly the following error message means. It pops up in the logs whenever a mailserver from 192.168.x.x address is pushing mails. postfix/smtpd[1337]: ...
1
vote
1answer
601 views

Postfix illegal address syntax

My postfix install is set up to forward all email going to example.com to my other mail server at mail.example.net. This works fine for all addresses except !@example.com -- the example.com server ...
1
vote
1answer
1k views

Postfix cannot authenticate against SASL

My system is Debian 7 aka Wheezy with postfix, courier, and mysql installed. Courier works well and if I issue testsaslauthd -u user@domain -p password -f /var/spool/postfix/var/run/saslauthd/mux -s ...
1
vote
1answer
237 views

Postfix intermittent lookup failures

i have intermittent lookup error on my postfix/mysql/dovecot/debian when looking to virtual aliases ... it happens on 10% of outgoing emails Revelant log of a failed request : Aug 28 12:17:43 ...
1
vote
1answer
293 views

How to setup Postfix with Opendkim to automatically sign PHP emails?

I've found that: submitted emails are signed properly (ie those sent with MUA's like Outlook and Thunderbird) command-line sent emails are signed properly emails sent with PHP, in particular case ...
1
vote
1answer
4k views

CentOS 6.5 Webmail Server: warning: SASL: Connect to private/auth failed: No such file or directory

I'm trying to run a webmail server on CentOS with Postfix, Docecot and Roundcube. Whenever I try to send mail or send a test email to my server it fails. I can login so looks like Dovecot is okay. ...
1
vote
2answers
359 views

Postfix how to triggering my script when outgoing email status is sent?

I want to run a program when postfix has successfully sent out a mail (local or remote). I would like to pass the headers to program and if possible also the destination ip or address (exclude spam ...
1
vote
1answer
118 views

Postfix Pipe then forward to original recipient

I may well be on the wrong track here with what I'm trying to do, so I'd appreciate any advice. Is it possible to pipe email to a script (which I have working), and then have Postfix forward it on ...
1
vote
1answer
1k views

Postfix limit number of emails send in a month/Day

Is it possible to limit the users to send total email in a month/day. I am trying to enforced marketing users to send newsletter according to their assigned quota. Example 1. user1@example.com: can ...
1
vote
2answers
63 views

Postfix sending and receiving in strange way.

I have an email server, running on CentOS 6.5, 32bit system, with Postfix and Dovecot running along all their dependencies. Let's assume my domain is www.anw.com I have created A record in this ...
1
vote
1answer
537 views

Spf passes or fails depending on receiver address

I have postfix with dovecot set up on Ubuntu 13.10. I send emails via a node application (using email-templates). If I send an email from noreply@mydomain.com to myacccount@gmail.com (email 1), the ...
1
vote
1answer
266 views

How to avoid 554 error duplicate header

I set up IRedMail on an AWS server, so the mail stack looks something like this: Postfix Dovecot Roundcube Mail sent through Amazon SES I'm trying to forward emails to Gmail using the Managesieve ...
1
vote
2answers
2k views

When does Postfix use IPv6 and when IPv4?

I've configured my mail server for IPv6 and IPv4 but in the most cases it uses IPv4 while IPv6 is available on the remote host. I use Postfix in version 2.9. So my thought was that postfix uses IPv6 ...
1
vote
1answer
353 views

Dual delivery Google Apps and Postifx (server reject mail from my domain on google)

This is the scenario: I have a server with Postfix and some domains, and now, one of this domains want to use Gmail Google Apps only in a couple of accounts. The end-user configure the domain with ...
1
vote
1answer
1k views

How to correctly configure postfix and opendkim and let receiving server know all details mailed-by signed-by?

What I am trying to achieve - Bottomline: mails to go in inbox rather spam folder. I have a server which is running postfix (mail server) and I have 3 domains. Mail server is used for both incoming ...
1
vote
2answers
471 views

Set up a Postfix server on Ubuntu for use with Apple Mail (or any mail client)

I set up a Postfix server on my Ubuntu VPS and it works for sending email from the mail utility in the command line. I set up SPF records, DKIM, pretty much everything I could read about. However, I'd ...
1
vote
3answers
4k views

Centos Postfix/Dovecot - Permission problems after migration upgrade

We are migrating from an old Centos 5.5 system to a new Centos 6.4 server. The postfix version looks the same, but Dovecot has gone up from 1.x to 2.x. It uses MySQL to store the mail account details ...
1
vote
2answers
1k views

Spam mail through SMTP and user spoofing [closed]

I have noticed that it's possible to telnet into a mailserver that I own and send spoofed messages to other clients. This only works for the domain that the mail server is regarding; I cannot do it ...