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

5
votes
2answers
5k views

Refuse to send email to specific recipients with Postfix

So, right now I am halfway through trying to setup an outgoing-mail blacklist, by way of smtpd_recipient_restrictions. The problem I am experiencing is that my test emails are being delivered when I ...
4
votes
4answers
28k views

Postfix: “Connection timed out” on all outbound email [closed]

I've been attempting to setup mailing lists with GNU Mailman but it's been a complete disaster with tons of road blocks. Postfix is able to receive email but not send it back out at all, I've peeked ...
4
votes
2answers
523 views

Creating a “fake” open relay to capture non-relayable outgoing mail with postfix

We occasionally have customer-provided servers in our technical support and engineering departments. They're isolated on their own VLAN, with strict firewall rules in place to minimize possible bad ...
4
votes
1answer
15k views

Postfix: How to make aliases work for virtual domains?

I'm trying to set up a local mailserver. I run Mac OS X Server 10.6 Snow Leopard, and it uses Postfix as server. I set the server up using the GUI and I'm doing all virtual settings via the terminal. ...
3
votes
1answer
12k views

Reverse DNS does not match SMTP Banner

We are using postfix on centos as a mail server to send out newsletters. but in the mail log file I can see that many receivers rejected our newsletters. and with the help of mxtoolbox, I found a ...
3
votes
2answers
1k views

What do I need to parse incoming emails?

My intention is to parse incoming emails with PHP. What would be the simplest way to set this up? Would it suffice to rely on Postfix for this, or is there a better alternative? The purpose of the ...
3
votes
1answer
1k views

Need help grepping postfix log

I'm trying to search for an unknown string (Message ID) in a log based on a known string (recipient address), and then grep the unknown string to output the entire relevant log information. I'm able ...
3
votes
2answers
5k 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 ...
3
votes
1answer
10k views

Postfix to relay mails to other SMTP for particular domain

Have an SMTP server setup running in postfix, only for sending mails . Now the requirement is i want to relay mails for particular domain to end user through other SMTP , without disturbing default ...
3
votes
1answer
7k 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 ...
3
votes
1answer
8k views

Postfix : Relaying all incoming mail to another host

I have two hosts. One is mail1.example.com and the other is mail2.example.com. Each server has its own public IPv4 address, but they are in different geographical locations. Domain name has mail1 ...
3
votes
1answer
346 views

2 separate postfix instances and confusion with IP's in received field of mail message

i have a problem with my 2 postfix instances. 2 separate IP's and coressponding domain names are setup on networking, they are working fine. I want second mail message (below) to have Received: from ...
3
votes
2answers
7k views

amavis + SA not marking messages as spam

I'm running Postfix + amavis + SpamAssassin. Messages are coming through just fine, and they're getting X-Spam-Score as I would expect, along with X-Spam-Status values, implying that SA is doing ...
3
votes
2answers
2k views

postfix - different header checks for incoming and outgoing mail

How can I apply different header_checks for incoming and outoing mail using postfix? By default, all header_checks are applied to both incoming and outgoing.
2
votes
2answers
2k views

How to limit the From header to match MAIL FROM in postfix?

SMTP clients are required to pass user authentication before sending emails to other domains (relay). And we can use smtpd_sender_restrictions to make sure the MAIL FROM address matches the ...
2
votes
2answers
4k views

Forward Mails to Gmail

I have a postfix mailserver running. Mails sent from users to Gmail are showing up in Gmail, so it works in general. Same for all other freemail hosts I know. The problem is that some users have no ...
2
votes
3answers
2k views

How to force a own set of ciphers in Postfix 2.11?

I would like to force a own set of TLS cipher suites rather than use the Postfix built in ones. My desired set of ciphers is (taken from nginx configuration): ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-...
2
votes
1answer
6k views

Postfix: Gmail marking my email as spam

I'm been trying to understand why Gmail is treating the email sent from one of my domain/server as SPAM. I found a lot of threads here about this issue, however I checked the usual suspects like ...
2
votes
1answer
3k views

Mailman cannot relay e-mails to non-local domains

My e-mail server runs Debian with postfix, dovecot, amavis, mailman, with postfixadmin in a virtual domain setup. All works fine, except for mailman which is not able to relay e-mails to non-local ...
2
votes
2answers
101 views

Possible to ensure that from address is not spoofed by mail server?

I want to know that is it possible that using postfix or any other MTA, i can apply a restriction that email sender cannot change/spoof his sender email, and email is only sent from the email ID, ...
2
votes
2answers
6k views

Postfix auto create Maildir

I've been beating my head against a wall for a while now on this one. Basically, here is the rundown: Our MX record points to a frontend SMTP server, which contains aliases for actually routing the ...
2
votes
1answer
1k views

Postfix pipe to php and pass “to” email address as parameter

I setup a php piping for "incoming@mydomain.com" in my postfix configuration. Now, what I need is to pass the "rcpt to" email address to the PHP script as a command line parameter. Is it possible? ...
2
votes
1answer
5k views

Postfix unable to create lock file, permission denied

I thought I had my postfix configuration all set up on my Amazon Ubuntu server but I guess not. I'm trying to set up an admin email account for 3 virtually hosted Apache websites. Here's my postfix ...
2
votes
5answers
1k views

Google marks seemingly perfect emails as spam

First post - was directed here from stackoverflow! The problem: Google marks seemingly correctly formatted emails from my apache/postfix server as spam. Sample email as follows; (I have replaced my ...
2
votes
1answer
10k views

telnet unable to connect to remote host

I have installed postfix and devcot on one of my live servers to send bulk mail (system messages on sign-up, wrong passwords etc). I use the php_imap function to check bounces and flag those email id'...
1
vote
1answer
826 views

How can I disable sending mail through postfix smtp with out auth

I just setup a mail server with postfix 2.6.6 and dovecot. I have the auth related config in main.cf like below: smtpd_tls_cert_file=/etc/httpd/ssl/mail.crt smtpd_tls_key_file=/etc/httpd/ssl/mail....
1
vote
1answer
71 views

Postfix/Spamassassin can't determine rDNS too often

I am running a Debian 7.9 server with Postfix 2.9.6 and Spamassassin 3.3.2. One of the standard checks Spamassassin does, is to check for a rDNS record. I am assuming that it gets that info from the ...
1
vote
1answer
193 views

What do I need to do to prevent exploitation of my postfix server?

I have a a web server that needs to send emails, but not recieve them. I have installed postfix (it came with nagios, also installed on this server) and now I need to make sure that my server does ...
1
vote
4answers
12k views

Postfix- open relay. How to configure so it is not?

I have setup Postfix but am having trouble with the setup. Whenever I used to send emails to the server, it reject my mails saying 'Relaying Denied', so I changed the following in main.cf: ...
1
vote
2answers
453 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
4k views

postfix send double mail when mail is forwarded

postfix will forward two mail to user when i configure autoreply, sender_bcc and always_bcc. i have used postfix with dovecot and mysql for virtual user configuration. i dont found where is the ...
1
vote
1answer
211 views

Postfix unknown command

I'm running two milters on my current postfix installation. I'm noticing that, from one particular client, they are sending an invalid command consisting of the first 3 letters of their domain name. ...
1
vote
2answers
3k views

Using multiple “myhostname” in postfix

Does postfix allow to dynamically change "myhostname" ? I rtfmed a lot but did not found anything qualitative. My installation is a postfix multiple domain, multiple ip (tweaked in master.cf) and ...
1
vote
1answer
2k views

Postfix wildcard alias for DOMAINS

Is there a way to use an wildcard for the domainname, like webmaster@* Wildcards for addresses on a domain are working with "@domain", but "hostmaster@" does not work. current setup with *@domain ...
1
vote
1answer
976 views

Wildcard aliases in postfix?

is there way to specify wildcard aliases in postfix virtual table? eg. support+*@foo,bar gets sent to support+*@bar.foo in this way i want to achieve that all mails with a support+Project@...
1
vote
2answers
6k views

SASL + postfixadmin - SMTP authentication with hashed password

I'm trying to set up the mail server. I have problem with my SMTP authentication using sasl. I'm using postfixadmin to create my mailboxes, the password is in some kind of md5, postfixadmin config.inc....
1
vote
3answers
5k views

How do I configure postfix to deliver mail for specified domains to another host, and deliver the rest using MX records

We currently have postfix handling emails generated by a number of apps. A number of these emails are destined for users inside the organisation, whose mail is on an Exchange server in the same site ...
1
vote
2answers
1k views

Receiving emails on CentOS 5, Postfix

Here's the problem : Our server (CentOS 5, Postfix) can't receive mails, bat can send. Running tcpdump port 25 and sending an email from gmail shows that there are incoming request from gmail But ...
1
vote
1answer
2k views

Postfix/SMTPD Relay Access Denied when sending outside the network

I asked a very similar question some 4 or 5 months ago, but haven't tracked down a suitable answer. I decided to post a new question so that I can ... a) Post updated info b) post my most current ...
0
votes
3answers
3k views

postfix: catch outgoing mail and redirect

I'm trying to configure my postfix so all mail that goes through that has tld dev would be redirected to a root user, here is my config files: [alexus@wcmisdlin02 postfix]$ tail -1 main.cf ...
0
votes
2answers
4k views

Yahoo flagging mail as spam when using relay server

I'm using Postfix to relay mail from my site to my mail server. Mail is received properly at my Gmail and Hotmail accounts - only Yahoo is the problem. The Yahoo mail headers state: Received-SPF: ...
0
votes
2answers
2k views

Postfix - Is there a way to reject invalid authentication (even for mynetworks)?

I got a working postfix/dovecot configuration running with the following rule for recipients rejection: smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject This works ...
-1
votes
2answers
2k views

postfix error: 535 5.7.8 Error: authentication failed: authentication failure

I need to connect to Dyn mail relay and I'm using their KB. I'm trying to connect to my postfix server with telnet to port 25. This is the postconf -n alias_database = hash:/etc/aliases alias_maps =...
-8
votes
1answer
714 views

Postfix rejects php mails

I get errors such as Feb 11 05:45:07 htz postfix/sendmail[6465]: fatal: User web6(5006) is not allowed to submit mail Feb 11 05:45:56 htz postfix/sendmail[6466]: fatal: User web21(5012) is not ...
11
votes
3answers
607 views

Email from our server tagged as junk by Hotmail Smartscreen unable to inform Hotmail that it is legitimate

Since more than 1 month ago we are having our email from one of our servers systematically tagged as junk by Hotmail Smartscreen filter. We have taken the following actions/measures without success: ...
6
votes
3answers
9k views

Postfix Relay to Office365

I am trying to setup a Postfix server on a Linux box to relay all mail to our Office365 (Exchange, hosted by Microsoft) mail server, but, I keep getting an error regarding the sending address: ...
6
votes
1answer
9k 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 ...
5
votes
1answer
5k views

modify the recipient address of an email on the file in the postfix queue

I have a few emails in my mailq which are bounced for a good reason, the email address is wrong. I was wondering if it is possible to modify the address of the recipient on the fly. I can see the ...
5
votes
1answer
1k views

postfix TLS configuration for incoming gmx-mail

I set up my mailserver with postfix 2.7.1 and dovecot 1.2.15 and everything seemed to work just fine, but now I found out that people using @gmx.net addresses cannot send emails to me and rather ...
5
votes
1answer
393 views

Is it possible to hold rejected messages in a queue?

I have a custom Postgresql backend for my virtual tables in Postfix, but there are times when a user's email isn't correctly configured and is responded to with a User unknown in virtual alias table ...