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
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 ...
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
6answers
9k views

How can I forward mail while saving a copy using postfix and mysql?

I'm migrating email from old Plesk installations to custom built Ubuntu server running iRedMail (postfix/amavisd/dovecot/etc). I'm using postfixadmin to administrate all domains and a mysql backend. ...
4
votes
0answers
82 views

Postfix/Spam Prevention [closed]

How do I make Postfix reject all mails when the client is not authenticated and the sender is from my domain? Is there an easy way to do this?
4
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 ...
4
votes
1answer
1k views

How to log extension header in postfix log?

I have postfix running as a relay server. In normal configuration, postfix does logging for "from" and "to" header. I would like postfix to log additional extension header eg. X-Mms-Originator-...
4
votes
3answers
10k views

Postfix relay host connection fails: timed out while receiving initial server greeting

I have an Elastix server box that I want to send email notifications of voice mails from. I'd like to send them through our company email (hosted by shared web host provider Bluehost). I have followed ...
4
votes
1answer
2k views

Postfix with Dovecot: local and virtual users

I just finished setting up a Postfix SMTP and Dovecot IMAP/POP3 server. It works perfectly fine for virtual users both sending and receiving, but I need to do the following: Besides virtual users ...
3
votes
2answers
5k views

GitLab not sending mails

I have a Linux Ubuntu 14.04 installed on my VM. Recently I have installed GitLab 7.8.2 using the instructions on GitLab site, and encountered problems in making Gitlab to send mails. for example, ...
3
votes
1answer
344 views

Postfix/Dovecot - Multiple Domains and Multiple Linux Accounts

I have been trying to setup a new mail server to migrate from my VPS, as my host has decided to close its doors. The old server was running Exim/Courier (nearly a decade old at this point,) and I'm ...
3
votes
1answer
825 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 ...
3
votes
2answers
10k views

postfix error unused parameter

I need some help with the configuration of postfix. Doing it first time. I'm following this how-to and configured each step carefully. Can anyone help me with this error pls? Service postfix ...
3
votes
1answer
72 views

Does inet_interfaces bind outgoing mail when more than one address is specified?

Question: When specifying 2 or more address for the inet_interfaces directive, will postfix still bind outgoing mail to one of them? The postfix docs state: When inet_interfaces specifies just ...
3
votes
3answers
853 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
2k views

Blocking PHP mailer spam using iptables

I host a public-facing web server running Debian Wheezy, and latest versions of Postfix, Apache, PHP, Spamassassin, ClamAV, rootkit hunter. Apache is configured with a handful of vhosts, each tied to ...
3
votes
5answers
490 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 ...
3
votes
2answers
3k 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
7k 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: $ ...
3
votes
1answer
9k 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, ...
3
votes
3answers
8k 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
1answer
8k 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
2answers
3k 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
5answers
541 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
1answer
484 views

Postfix - how to redirect email after they are rejected?

I have a problem with spam and postfix + postgray. Generally it works fine, but I have these problems: false-positives. good emails get rejected. Can I configure postfix (and postgray) so that ...
2
votes
1answer
888 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
70 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
2answers
3k views

postfwd not rate limiting sasl users

I would like to use postfwd version 2 to limit the amount of daily mail sent by my sasl authenticated users. I installed latest tarball: postfwd-1.35 with latest postfix from Centos 6.4 In my I have ...
2
votes
1answer
455 views

Postfix - sender dependent configuration based on client IP instead of email address

Using Postfix, I want to setup the transport according to the sender IP. There is sender_dependent_default_transport_maps, which does it according to the sender email address (envelope MAIL FROM). ...
2
votes
1answer
170 views

Different postfix relayhost based on system user?

How do I configure Postfix to send email through a different relayhost based the system user? The current setup has relayhost= set so all mail goes through that smtp server but I would like Postfix ...
2
votes
1answer
3k views

Postfix Sender Verification 550

I have Postfix and Dovecot installed on a VPS, and configured to forward mail on to a Gmail address, and accept smtp requests from gmail so that it can send on that domains behalf. TLS and ...
2
votes
2answers
2k views

Postfix virtual domains: how to accept all subdomains except for two?

Assuming my Postfix server serves the domain example.com, I want it to accept mail for all the subdomains of example.com except for mail.example.com and in.example.com. At first I've tried using a ...
2
votes
1answer
163 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
1k 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
1answer
53 views

Fully altering recipient on Postfix

What I am trying to achieve is that any email coming to joe@example.com gets rewritten to bob@example.com and delivered to bob@example.com. Both canonical_maps and virtual_alias_maps work for ...
2
votes
2answers
897 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 (...
2
votes
1answer
554 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
2answers
5k views

lost connection after STARTTLS: Postfix

I've setup a Postfix + Courier server and have a Rails app configured with the SMTP server settings. Whenever the Rails app tries to send an email, this is what appears in the Postfix log (additional ...
2
votes
1answer
467 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
3answers
11k views

dovecot-lmtp does not exist

I followed this guide on linode to setup dovecot and postfix mail server on my Ubuntu 12.04.2 LTS . The setup requires socket /var/spool/postfix/private/dovecot-lmtp to act as virtual transport. ...
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
2answers
2k 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
3answers
3k views

How to make spamassasin reject mail based on score?

I am running Linux with Postfix, Dovecot, Postgrey and spamassasin/spamd. This is my main.cf smtpd_recipient_restrictions = permit_sasl_authenticated, ...
2
votes
1answer
315 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. /etc/...
2
votes
3answers
7k 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 ...
2
votes
2answers
1k 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
2k views

Postfix Connection Timed out

I used the tutorial below to setup postfix and dovecot on a Digital Ocean server. But I'm getting "Connection Timed out" when postfix/smtp tries to deliver an email to a remote host like gmail or ...
2
votes
3answers
306 views

Can Spammers get your email address if it's set as postmaster, webmaster, etc?

When you set-up a "postmaster" email in postfix/cyrus/dovecot/fetchmail, etc, or a web-master address in an apache vhost, can spammer's query your server and get that information? Or is it only for ...
1
vote
1answer
3k views

Postfix seems too aggressive while sending newsletters

I'm having a problem sending newsletters to certain domains/servers, like yahoo or minor network providers. It's like I'm spamming their servers with connections and they tell me to stop after a short ...
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 smtp.gmail....
1
vote
1answer
3k views

Can I receive mail at another port like 465 instead of default 25 on my mail server?

My Zimbra mail server, which uses Postfix, is working fine. I am able to receive mail at 25 from Yahoo, Hotmail etc., but if I block my 25 port for incoming then mail will stop to come into my mail ...