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

Postfix + Php Mail() VS Postfix + SMTP

Most CMS (Joomla for example) comes with php mail() as default and has the option of changing it to SMTP if we want. I will be setting up both the webserver and mail server (Postfix) in the same VPS ...
3
votes
2answers
11k views

554 5.7.1 <mail_addr>: Relay access denied centos postfix

I have problem in send mail from postfix in centos I have following setup mail server postfix for sending mail but I am getting error. As in the link I tried following commands telnet localhost ...
3
votes
1answer
7k views

Why is Google rejecting mails forwarded from my Postfix server?

I've set up Postfix and created an alias that maps to a gmail account. When I mail from one of my own (google mail) accounts, it goes through, but if someone from the outside mails me, Google won't ...
3
votes
2answers
2k views

Authenticating to Exchange 2010 smarthost?

I have a postfix mail server that should relay all outgoing mail to an Exchange 2010 server (the Exchange box is my smarthost). I have administrator access to the Exchange 2010 system, but I'm not ...
3
votes
1answer
366 views

Postfix - how to redirect email if they will rejecting?

I have problem with spam and postfix + postgray. It generally good works but I have false-positive still and reject good email. And now I have problems. Can I configure postfix (and postgray) that: ...
3
votes
4answers
5k 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
3answers
6k views

SMTP mail error 452 4.3.1 Insufficient system storage

I have a server which uses Postfix as the mail system. The issue I am having is I am not able to send or recieve email. If I send an email I get an instant reply from the server which says: Subject: ...
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
536 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
458 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
47 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
255 views

check header for Authenticated sender in postfix

My users send email with SMTP AUTH via SASL Authentification. Unfortunately their mails would marked as NoBounceOpenRelay by Amavis. So I set this to postfix main.cf smtpd_sasl_authenticated_header ...
2
votes
1answer
171 views

SASL PLAIN authenticating with primary domain, but not with virtual domain

Postfix + dovecot and sasl. Works so far with 1 domain. Added a virtual domain. Incoming mail for this works. Outgoing however has SASL authentication failing. Why does it fail I don't know. ...
2
votes
1answer
628 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
411 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
357 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
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 ...
2
votes
2answers
842 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
1answer
145 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
411 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
493 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
982 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
348 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
94 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
39 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
123 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
52 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
73 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
680 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
250 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
321 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
375 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
121 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 ...