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

2
votes
2answers
10k 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 ...
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
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
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
2answers
972 views

Use different relay in postfix

In our application, we send different kind of mails. On a broad view we can generalize it in two category, Mails which monitor the health of the app. Mails which we send to end user. Is there any ...
2
votes
1answer
403 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
477 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
939 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
346 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
28 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
92 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
41 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
64 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
492 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
218 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
256 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
341 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
112 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
887 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
60 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
472 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
231 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
1answer
341 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
446 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
1answer
3k 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 ...
1
vote
1answer
6k 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, ...
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 ...
1
vote
2answers
851 views

Configuring Postfix with other SMTP provider

I want to use SendGrid as my email sending service, but want to also use Postfix's internal queue mechanism to manage the emails sent through Sendgrid. So basically what I want to do is to configure ...
1
vote
2answers
6k views

postfix: Temporary lookup failure for FQDN

I'm using the FQDN of dur.bounceme.net which I want to resolve(?) to localhost. That is, I want mail to user@dur.bounceme.net to get delivered to user@localhost. I've tried following the Ubuntu ...
1
vote
1answer
983 views

Conditionnal relay in postfix

I use postfix to send direct email. But, I use a relay to send email for specific senders. So I use "sender_dependent_relayhost_maps" : /etc/postfix/main.cf : relayhost = transport_maps = ...
1
vote
2answers
2k views

I can't view any detailed log for Postfix under Centos

I've enabled the -v option on master.cf; but still my /var/log/maillog is almost empty. I'm having a problem i have my hard times debugging without any log.
1
vote
1answer
2k views

Postfix Postscreen: how to use postscreen for smtp and smtps both

I'm trying to get postscreen work. I've followed the man page and it's already running correctly for smtp. But it I want to use it for smtps as well (adding the same line as smtp in master.cf but ...
1
vote
1answer
177 views

SMTP 4xx and secondary MX record as a way to redirect mail

I have a domain that uses Google Apps for mail. Now I decided to set up my own MTA (Postfix) on VPS (running Debian squeeze). There is only a very small number (less than half a dozen) of users and ...
1
vote
2answers
2k views

freebsd 8 mail log status, what do these mean?

I'm new at some of the server stuff and need a bit of help understanding what the /var/log/maillog file is saying. I've sent 200 emails for an email newsletter I'm running. In the "maillog" file I ...
1
vote
1answer
7k views

Zimbra: changing postfix parameters

I would like to change mynetworks Postfix configuration parameter in Zimbra 7 on Debian GNU/Linux 5.0. I tried the following (as zimbra user): $ zmlocalconfig -e postfix_mynetworks="127.0.0.0/8 ...
1
vote
3answers
1k views

forward all mail on a specified domain to script

I run a disposable e-mail service that accepts all incoming mail and forwards it to a PHP script that stores it in a database for people to view. Before now, I have been on shared hosting with cPanel, ...
1
vote
2answers
320 views

How to instruct Postfix to wait until the LDAP server is back again?

Sometimes, my LDAP server is not responding for a couple of seconds and when Postfix does its lookup, it bounces with an error: "Invalid user specified". Is there a way to force the lookup to be ...
1
vote
3answers
3k views

Postfix: Relay Access Denied when sending mail from outside the network

I am running Postfix, where it is possible to send email from the webmail interface (inside the "network"), as well as from mail clients (such as Microsoft Outlook, Thunderbird, etc...). Here's the ...
1
vote
2answers
2k views

Postfix “SASL authentication failure: No worthy mechs found”

Trying to use postfix with smtp to connect to google's smtp. When trying to send mail, I get this error: Sep 15 14:04:41 zedsaid postfix/smtp[20271]: certificate verification failed for ...
1
vote
2answers
314 views

Mail caching service?

Right, I'm not too sure if this is possible or even where to look for info, soooo... What I was hoping to do is setup a linux box with a user "foo" foo has an email account with gmail Is it possible ...
1
vote
2answers
668 views

postfix: deliver mail to specific emai addresses locally and send the rest to relayhost

I want to achieve the following with postfix: Almost all outgoing emails shall be sent via a relayhost, configured in main.cf with relayhost = my.mailserver There's one specific email address ...
1
vote
2answers
2k views

postfix : How to keep the bcc recipient in email enveloppe

By default, postfix is removing the bcc recipient before to pass the mail to the delivery queue. How can you set up postfix to keep the bcc recipient information or add an email header to keep it ...