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
2answers
1k views

What does it mean to setup Postfix as “SMTP only”?

I am trying to setup Postfix a few different domains on a virtual host. I need to have email setup just to send out registration confirmations and new password requests. No one will have a mailbox on ...
0
votes
3answers
2k views

Postfix: relay access denied

I never got my SMTP service working, now i'm ready to try again. The server is a FreeBSD 8.1-RELEASE-p1, postfix was installed as part of the Webmin/Virtualmin install.sh I have read Postfix Virtual ...
0
votes
4answers
870 views

Postfix virtualised myhostname

So I have several servers all set up to send and receive mails from multiple domains, this all works perfectly fine. However a few people have complained that within the mail headers you still see ...
0
votes
2answers
438 views

Adding spam addresses to SpamHaus and SpamCop DNSRBL

I have a Postfix e-mail receiving server setup. I have applied the following setting in my Postfix main.cf file: smtpd_recipient_restrictions = reject_unauth_destination, reject_rbl_client ...
-1
votes
2answers
374 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?
-4
votes
2answers
417 views

Postfix SMTP server issue

So I have an Ubuntu Linux box machine for my website. (not ran locally at home, it is a public linux box). But for some strange reason I can only send Email from my home machine to this box in ...
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
10
votes
13answers
7k 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 ...
17
votes
2answers
5k 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
3answers
3k 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
9k 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 ...
7
votes
1answer
3k views

Postfix TLS over SMTP - RCPT TO prompts renegotiation then 554 5.5.1 Error: no valid recipients

I've setup ispconfig3 on my debian six server, and here is a little smtp over ssl: The server is postfix AUTH PLAIN (LOL!) 235 2.7.0 Authentication successful MAIL FROM: lol@lol.com 250 2.1.0 Ok ...
7
votes
5answers
5k views

Is there any alternative to SpamAssassin? [closed]

I'm looking for an alternative to Spamassassin. Anyone tried rspamd ?
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
1k 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
3answers
2k 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 ...
8
votes
1answer
5k 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
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 ...
6
votes
1answer
8k 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 ...
5
votes
3answers
10k 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 ...
3
votes
2answers
3k 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 ...
3
votes
2answers
4k 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 ...
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 ...
14
votes
6answers
968 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
3answers
13k views

Change default from address from Postfix from www-data to something else

Setting up Postfix and Apache/PHP on an Ubuntu server. Mail's now going out ok with the proper domain name, but the local part display name is always "www-data" as I'm assuming Postfix uses the name ...
5
votes
1answer
821 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 ...
5
votes
2answers
3k 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: ...
5
votes
2answers
6k 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
1answer
932 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
82 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
5answers
6k views

Outgoing only SMTP server

I want to setup an outgoing only SMTP server on Debian, so my Web-applications will be able to send e-mails via it. I don't want to use another hosts because of security and customizability of my own ...
3
votes
3answers
3k 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
1answer
433 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 ...
2
votes
2answers
4k 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: ...
2
votes
1answer
4k 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
2answers
2k 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
1answer
684 views

How can I configure Postfix to send via IP based on origin domain?

I have a server that hosts multiple websites that send email. Each domain has its own IP address, and I would like Postfix to send outgoing email on the same IP so the reverse DNS points back to the ...
1
vote
1answer
508 views

Postfix Splitting Domain to Separate Mailstores using LDAP

I'm investigating a new mail setup to replace Exchange in our organization using Cyrus-IMAP, Postfix and Perdition IMAP proxy server. I'm running into issues dealing with sending emails to different ...
1
vote
1answer
3k 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
3answers
6k 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 ...
7
votes
1answer
2k views

Roundcube & Postfix SMTP: SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c

I have a Postfix / Dovecot / Roundcube setup that I use personally, as well as provide to other users. I am attempting to transfer this entire setup to a new box, but having some issues. Mail ...
5
votes
1answer
558 views

saslauthd multi instance for postfix smtp authentication

I have mail server Postfix+Saslauth. I configure multiple instance for Postfix: postfix postfix-out and two instances for saslauth: saslauthd saslauthd-out Setting saslauthd is ...
5
votes
2answers
5k views

How to redirect all mail from one domain to another in Postfix?

I have two forms of the same domain name, one being a common misspelling of the other, let's say tedswidgets.com and tedswigets.com. I'd like to redirect all mail for <someone>@tedswigets.com to ...
4
votes
2answers
393 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
1k 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 ...
4
votes
2answers
3k views

Postfix, saslauthd, mysql, smtp authentication problems

Trying to get authentication on my mail server (ubuntu 10.04) running but am having trouble. I have a server with postfix for smtp setup, imap server with courier setup. My postfix authentication is ...
4
votes
1answer
11k 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
408 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
6k 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 ...
2
votes
3answers
2k views

Postfix: mails sent through sendmail binary are blocked because of wrong HELO

My server is using Centos 6.5 I updated from Plesk 11.5 to 12 last week and postfix to 2.8.17. Since then, all mails sent using the sendmail binary (notifications, mail forwards...) are being rejected ...