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

0
votes
1answer
4k views

I can't send email from my server to gmail addresses

I'm using postfix, and have setup spf, dkim, and domainkeys. I can get my email to go to Yahoo, but not gmail. Here's the headers from an email send to Yahoo. Yahoo reports the email as domain key ...
0
votes
1answer
530 views

Scrub header for internal servers in Postfix?

We have all internal Centos servers sending mail to 2 outgoing MX servers in our business. I want to scrub the headers on our 2 outgoing MX servers to remove the information from where they originated....
-1
votes
2answers
476 views

Fedora Email Forwarding (Postfix)

I would like to forward all email sent to non-existant users on my fedora server to my gmail account. Is there a simple way to do this? How would I forward all email?
33
votes
1answer
56k views

What ports to open for mail server?

I have just finished setting up a Postfix mail server on a linux (ubuntu) platform. I have it sending and receiving email and it is not an open relay. It also supports secure smtp and imap. Now this ...
29
votes
2answers
10k views

Automate the installation of postfix on Ubuntu

My system configuration script does an "apt-get install -y postfix". Unfortunately the script is halted when the postfix installer displays a configuration screen. Is there a method to force postfix ...
6
votes
6answers
3k views

Spam prevention tips for Postfix [duplicate]

Without using SpamAssasin, or similar, what are your best tips for preventing spam. Please try and provide config examples :D
11
votes
13answers
8k views

Postfix performance

Running postfix on ubuntu, sending alot of mail ( ~ 1 million messages ) per day. loads are extremly high but not much in terms of cpu and memory load. Anyone in a similiar situation and know how to ...
10
votes
4answers
16k views

simple postfix configuration - forward all incoming email to single address

I've a Ubuntu 9.04 server installation which is hosting a small number of websites (currently two, and will remain in single figures). The email requirements for the server are very limited - to ...
13
votes
2answers
13k views

How to redirect all postfix emails to one external email address?

To create a test email server, I have a similar requirement as: http://serverfault.com/questions/94640/how-to-redirect-all-outgoing-email-from-postfix-to-a-single-address-for-testing But I need to ...
10
votes
5answers
7k views

Is there any alternative to SpamAssassin? [closed]

I'm looking for an alternative to Spamassassin. Anyone tried rspamd ?
9
votes
6answers
18k views

Postfix throttling for outgoing messages

I need Postfix to send outgoing messages (from local PHP) with a certain rate. Say, one message in 120 seconds. Any messages exceeding this rate should be queued (delayed) and delivered later. ...
6
votes
3answers
4k views

My Postfix has gone wild, is it compromised

Today, I found my server couldn't work because it was filled. I checked the logs and they had grown enormously, I deleted them so as things could work. now with current logs I'm seeing a lot of ...
11
votes
2answers
13k views

Can postfix be set up to forward mail to multiple recipients

I have the following postfix virtual file: test@domain.com bob@me.com This correctly forwards all emails to test@domain.com to bob@me.com However I would like to forward these emails to bob2@me....
8
votes
3answers
14k views

How do I temporarily suspend mail delivery to a specific domain (non-local) with Postfix?

Using Postfix and custom transports I can manage delivery speeds depending on the recipient's domain. (For example, I send max one message per second to *@hotmail.com) I also use similar rules to ...
8
votes
1answer
6k views

Remove/hide client sender ip from postfix?

I'm trying to hide the client IP from emails sent from postfix. here is an example of what I mean: Received: from mail.[removed].com (adsl-75-37-61-254.dsl.frs2ca.sbcglobal.net [75.37.61.254]) (...
7
votes
4answers
4k views

SMTP message rate control on Ubuntu 8.04, preferably with postfix

Maybe I am chasing a bug but I am trying to set up a smtp proxy of sorts. I have a postfix server which receives all the email for a collection of servers/clients. It them uses a smarthost (relayhost=....
6
votes
1answer
3k views

Postfix: change sender in queued messages

Following a complete re-installation we got a problem with the configuration: the sender address was wrong and some recipients (mail servers) rejected them. So there is a bunch of mails stuck in the ...
6
votes
5answers
2k views

Getting stats about deliverability from postfix

At work, our CEO is working on a plan to move away from a service provider who do our Spam filtering, etc. Currently, all our mail gets relayed out through this service, and all incoming email gets ...
5
votes
3answers
2k views

Setting up a postfix email server

When I set up an email server using postfix on ubuntu server, how do I make sure that it won't be an open relay??
4
votes
2answers
5k views

How can I route some emails to a script in Postfix?

How do I route all emails directed to user-*@example.com (i.e. user-1234@example.com) to a pipe command in Postfix? The idea is to create craigslist-style anonymization by assigning dynamic email ...
4
votes
3answers
3k views

Postfix 'load balance' sending IPs

I got a server with 8 IP addresses to use as a mail server (With PostFix). I want PostFix to rotate the IP and hostname for each message. I found the config parameter smtp_bind_address = 1.2.3.4 (...
3
votes
2answers
6k views

Processing incoming emails with Python

I'm developing a web application that requires that a registered username be able to receive emails to: <some-username>@<my-web-app>.com I need a way to be able to process the email ...
9
votes
1answer
6k views

How can I configure Postfix to ignore relayhost for some domains?

Is there a way in Postfix to ignore the relayhost? I have something like relayhost = [smtp.domain.net]:587 Now for a certain domain I don't want to send it out to that relay but want it to just ...
7
votes
2answers
4k views

Can't get SASL auxprop/sasldb working with postfix/Ubuntu 12.04

I have an Ubuntu 8.04LTS system running Postfix 2.5.1. On that system SMTP AUTH runs fine. The contents of /etc/postfix/sasl/smtpd.conf are: pwcheck_method: auxprop auxprop_plugin: sasldb mech_list: ...
6
votes
2answers
14k views

Postfix check outgoing mail for spam

How can I force postfix to check (and log/flag/etc) all outgoing mail for spam? Just want to make sure I'm doing my part on my servers. EDIT: Postfix config, as requested. main.cf # See /usr/share/...
3
votes
4answers
2k views

postfix mail server setup for 8000 users using active directory [closed]

i wanna to setup postfix mail server instead of ms exchange server . we have around 8000 users , and we want to use active directory for users . how many servers do we need ? what kind of strategy we ...
3
votes
3answers
3k views

Postfix development server - intercept all outgoing mail

So a few times now I've been caught out by clients receiving mail sent from the development server because I didn't sanitize the db. So, as an extra safe option, I'd like to ensure that all mail sent ...
2
votes
2answers
8k views

Postfix/Dovecot permissions on new files in a mailbox

According to this article: When creating new files inside a mailbox, Dovecot copies the read/write permissions from the mailbox's directory. I'm not seeing this. Here is what I'm seeing: ...
0
votes
1answer
4k views

Postfix: Pass a copy of an email to a script but deliver the original one to mailbox

It's actually quite simple: I want to pass all incoming emails to a PHP-script, but only as a copy, the original email shall still be delivered to the mailbox as usual. I just can't seem to get it ...
14
votes
6answers
1k views

How do you monitor a monitoring server?

So we run Groundworks (with Nagios) on CentOS to monitor our various servers and processes. I have it setup to automatically send emails and SMS texts when things reach a WARNING or CRITICAL state. ...
9
votes
5answers
22k views

POSTFIX: Limiting the rate at which a particular user can send email

We have a server CentOS server setup which hosts our websites and email server (using POSTFIX). We manage the system using Virtualmin and Webmin respectively. In general for every site that we setup ...
8
votes
1answer
8k views

NOQUEUE: reject: RCPT from on freebsd and postfix

I am building a server using this config -> http://www.purplehat.org/?page_id=4 and when trying to test basic email capabilities I get -> NOQUEUE: reject: RCPT from when try to send a test email. ...
7
votes
1answer
11k views

How to determine which user sent a specific email with postfix?

We have a postfix server that requires authentication to SMTP relay through it. We use virtual mailboxes in MySQL database. A message was relayed through our system, and we need to determine which ...
6
votes
1answer
2k views

Why is SPF being validated against my mail server's IP instead of sender's IP?

I have a mail server "example.com" which forwards all emails with recipient "me@example.com" to "me@gmail.com". My mail server runs Postfix and it uses the virtual_alias_maps mechanism to perform the ...
5
votes
2answers
8k views

How to setup a Postfix SMTP-only for multiple domains

This is my first question on Stacks. I always read a lot of solutions to problems here almost every other day. So thank you to all contributors. I am a noob here so please spare some space if I am ...
5
votes
2answers
8k views

How to rate limit outgoing SMTP connections for Postfix

I have a postfix instance running on a VM. The VM provider shuts us down if we exceed a threshold of SMTP connections per minute - something like 10. In a typical day we might send 1000 messages, so ...
5
votes
1answer
1k views

Hybrid gmail MX + postfix for local accounts

Here's the setup: We have a domain, mydomain.com. Everything is on our own server, except general email accounts which are through gmail. Currently gmail is set as the MX record. The server also ...
4
votes
1answer
2k views

Postfix smtps and submission confusion

I've setup postfix so that email clients use port 465 (smtps) for outbound mail. I'm not really understanding the difference between smtps (port 465) and submission (port 587) What's the 'best ...
4
votes
1answer
92 views

How do i know what postfix is compiled with?

I inherited a version of postfix and it is running fine. I would like to use mysql for my virtual tables and aliases. My question is : how do i find out what Postfix was compiled with?
4
votes
4answers
6k views

SMTP relay through GMail overrides “from:” address with “[me]@gmail.com”

I've been trying to figure out if this is a new "feature" or if there is an issue with my configuration. I'm using Ubuntu 10.04 Desktop with Postfix as MTA. My smtp (as opposed to smtpd) ...
3
votes
3answers
5k views

Dovecot Migration and old mails

I'm migrating my mails from an old server to a new one, the configuration is good (mysql virtual accounts & imap only), with dovecot and postfix. It's already running for other users, I just want ...
2
votes
3answers
8k views

Can't send email from postfix to hotmail

I have problems sending emails from my server to hotmail. I used mxtoolbox.com and reported no problems on records or blacklists. Also, emails go successfully to gmail... This is my mail.log on ...
2
votes
1answer
2k views

postfix: how do I set virtual mailbox to create null client? [closed]

I have a simple mail server, using vhost/vmaps to create virtual mailboxes. here is my current setting: www logs # postfix | grep virtual ... virtual_mailbox_base = /home/vmail ...
2
votes
2answers
6k views

Block outgoing mail to specific address using Postfix

How could I block outgoing mail to a specific address using Postfix? I've partially managed to block outgoing e-mail using header_checks. However, header_checks doesn’t cover BCC. I also tested ...
2
votes
3answers
9k views

How to fix mail server SSL?

Our mail server was originally set up using self-created certificates. However when those expired, and I tried to recreate them, the whole thing just blew up. Since I know it will be important, we are ...
2
votes
1answer
4k views

Run script on incoming email message to postfix

All, I need to run a script everytime there is an incoming email message to a postfix email server. I have read the docs but I was wondering what would be the best approach to do this. Would anybody ...
1
vote
1answer
2k 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
1answer
556 views

procmail is ignoring user settings

I use procmail for filtering emails in combination with postfix. procmail is triggered by postfix via the in the main.cf mailbox_command mailbox_command = /usr/bin/procmail -t -a "$EXTENSION" but ...
0
votes
1answer
173 views

SASL Auth against LDAP

So I am running into a whirlwind of issues with my cyrus install. I am setting up a multi-domain kolab groupware solution. I am on centos 6.7 I am getting this flooding my error logs when I try to ...
12
votes
2answers
8k views

Can't receive mails from Gmail

A few days ago Gmail suddenly decided to stop sending mails to my mailserver. I am using Postfix and Dovecot with an paid SSL Certificate running on Debian 7 with everything updated. My mail.log ...