Free and open source mail transfer agent (MTA) that routes and delivers email

learn more… | top users | synonyms

1
vote
2answers
4k views

Conditionally rewriting From and Reply-To headers in Postfix

I've got a web app running on Amazon AWS and it's using Amazon SES to send emails. One of the things I really want this system to do is to be able to forward emails to certain addresses from anyone ...
1
vote
6answers
4k views

E-mail sent with postfix are marked as spam

I am using gmail as my email provider for a domain name that I control. I want to send email from my dedicated server that is being hosted by a real hosting company and I don't like the 500 message ...
1
vote
5answers
5k views

Postfix Stagger/Rate Limit Outbound Mail

We have a server that sends our weekly newsletter to subscribers, To prevent people like Hotmail or Yahoo from blocking us due to sending too many simultaneous emails to them, Is there a way we can ...
0
votes
1answer
1k views

How can we support all domains in postfix smtp server?

I have installed and configured postfix on our server. Postfix config file has relay_domain parameter which contains the list of domain names which postfix will support. Is there a way by which we ...
5
votes
1answer
2k views

How to configure postfix to only send to whitelisted addresses?

I want to configure postfix to only send mail to addresses in a whitelist. I have tried to use smtpd_recipient_restrictions in main.cf like so: smtpd_recipient_restrictions = ...
3
votes
3answers
1k views

Postfix restrict recipients

how can I configure postfix to allow sending to a certain (external) domain only? I'm already using check_recipient_access. Content of my /etc/postfix/recipients_restrictions: domain.com OK My ...
3
votes
1answer
2k views

Route mail in postfix to different relays based on subject

I am looking to configure postfix to route messages to different relays based on the contents of a subject line. The desired result would be if a user sent an outbound e-mail with a specific tag say ...
3
votes
2answers
2k views

“No worthy mechs found” when trying to relay email to Gmail using Postfix

I've been trying to configure email to forward to Gmail, using Postfix to relay email to smtp.gmail.com. However, I'm failing to get it to authenticate with smtp.gmail.com, which is a rather vital ...
3
votes
2answers
401 views

Is my Postfix mailserver an open relay?

Postfix newbie question: If I use the default, relay_transport = relay (by commenting out the error line), does that make me an open relay? Or does the inet_interfaces fix it? inet_interfaces = ...
2
votes
2answers
159 views

can I add global alias in virtual_alias_maps but only for local domains?

I want to create a global alias for all my domains to catch all mail to addresses like postmaster@ I've added theses lines to aliases.pcre: /(MAILER-DAEMON|postmaster|abuse|webmaster)@(.*)$/ ...
2
votes
1answer
128 views

Exclude particular IP address from Postfix log

I have a postfix relay system that uses HAProxy to check to make sure Postfix is responding as it should. There is a front-end load balancer which connects using an internal IP to the backend servers. ...
2
votes
1answer
6k views

Postfix (SASL) / MySQL: Use MD5 Encryption?

Is it possible to use MD5 password encryption to encrypt passwords when using Postfix / SASL and MySQL? Currently, my setup is using the MySQL CRYPT() function, which for various reasons isn't ideal.
1
vote
1answer
65 views

postfix discard or change Message-ID header based on another header line

I want to change the Message-ID header or better yet, discard it. I know everyone is going to ask "Why would you want to do that?" because I know it sounds weird to even write it. Well I am ...
1
vote
2answers
462 views

Postfix sends email to spam (gmail, hotmail)

I recently installed a postfix + dovecot + dkim multi domain, multi user, multi alias mail server on my debian squeeze system. Everything works except for one big issue that basically makes the whole ...
1
vote
1answer
66 views

“Masquerade” mail sender on a multi-domain shared hosting [duplicate]

I've a single host with CentOS 6.3. I manage that host via SSH. The server itself is uname -n: servername.foo.com. On this host I've multiple, unrelated httpd vhosts. The problm is: when one vhost ...
1
vote
3answers
5k views

POSTFIX Won't Start says: bind 0.0.0.0 port 25: Address already in use, what should i do?

I followed the tutorial here: https://help.ubuntu.com/community/PostfixCompleteVirtualMailSystemHowto#Create_a_vmail_user to set up Postfix on a new ubuntu installation but it won't start, whenever i ...
1
vote
2answers
830 views

Is it possible to block a certain email adress from sending email anywhere other to its own domain?

I wonder if its possible to block all but few specific adresses to send outgoing emails anywhere other than its own domain. Also so they could still recive incomming messages. Blocking everyone isnt ...
1
vote
2answers
1k views

Postfix not working

A while ago I installed the postfix mail server on my ubuntu 10.04 VPS. At the time it was working good but now it's just stopped working. I was trying to enable SASL authentification and somewhere it ...
1
vote
1answer
111 views

Disconnect modem when postfix queue empty

in /etc/ppp/ip-up.d/script I have the following that runs fetchmail when the ppp0 interface is up (connected) and when it finish the modem ends internet conection automatically. #!/bin/sh ...
1
vote
2answers
719 views

Can Postfix prevent duplicate in RCPT TO address?

My server running opends for LDAP and postfix dovecot procmail delivery My /etc/aliases contain the group of email address, for example : all : a@mydomain.com, b@mydomain.com, c@mydomain.com..... ...
1
vote
2answers
4k views

How do I remove these junk mail headers?

I'm using Postfix 2.3.3 and mail sent from my server always add useless headers which I'd like to remove. Currently I'm only using the PHP mail() function to send mail. Return-Path: Received: from ...
0
votes
1answer
90 views

How can I disable local mail delivery in Centos?

I want to disable local mail on my Centos VPS because the I have a web form (on a website which is hosted by the VPS) which is delivering mail to the local mailbox rather than looking at MX records to ...
0
votes
2answers
319 views

Why can't I send/receive emails from AWS Ubuntu using Postfix?

I'm trying to send/receive emails on my AWS Ubuntu box. To do so, I'm following the instructions posted by Amazon here. (I skipped the section entitled "To configure integration using a secure ...
0
votes
1answer
412 views

Postfix - Mail system is down

My Postfix mail log keeps giving me this error; Oct 4 10:32:50 postfix/master[9760]: daemon started -- version 2.9.6, configuration /etc/postfix Oct 4 10:32:54 postfix/postqueue[9885]: warning: ...
0
votes
1answer
270 views

Why don't mails show up in the recipient's mailspool?

I have postfix dovecot running with local email system on thunderbird. I have two users on by ubuntu, mailuser 1 and mailuser 2 whom i added to thunderbird. Everything went fine, except the users dont ...
0
votes
1answer
178 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 ...
0
votes
1answer
151 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. ...
0
votes
2answers
891 views

Postfix load balancing

I have 4 VPS servers, my plan is to use one of these VPS servers as a load balancer which sends mail received by it from another server to other 3 VPS (smtp) clients who will relay mail to the outside ...
0
votes
3answers
2k views

Migrating users and mailboxes from postfix / Maildir to Postfix with Mysql backend

So I've got 60 or so users on a hand rolled postfix installation on openbsd and I'd like to move their mailboxes to our new mail server running iRedMail (postfix, vmail/mysql back end) Does anyone ...
0
votes
1answer
802 views

Postfix: combine check_client_access and check_sender_access for Relayaccess

We have a mailserver running on Postfix. Only authenticated users are allowed to send emails. One client has a multifunction printer, which is configured to send scanned documents to an email ...
0
votes
1answer
182 views

Enabling per-virtualhost email relaying through external user/pass smtp relay [duplicate]

Possible Duplicate: Postfix configuration: different outgoing hosts based on sender I've got a problem that's driving me mad. Basically, I run 10 virtualhosts in a CentOS distribution. ...
0
votes
1answer
4k views

How to close an open relay in Postfix?

I've discovered my server has been an open relay. I asked about it and tried all the answers in My Postfix has gone wild. Am I hacked? but still its acting up. Every time I run #postsuper -d ALL I get ...
0
votes
1answer
375 views

Postfix null client configuration for Multiple Domains

I'm setting up Postfix null clients on in a virtual hosting server for multiple domains. I found some documentation about setting up Virtual Domain Hosting, the closest thing I could find to what I'm ...
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
4answers
854 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
425 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
1answer
624 views

Monitoring message delivery on Postfix (or Cyrus IMAP)

There's mail server based on Postfix. I need to monitor which messages are delivered to end-user? and which are not. In processing of each message I need to get some information from its attachment in ...
-1
votes
2answers
332 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?
-3
votes
2answers
386 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
2k views

Spam prevention tips for Postfix

Without using SpamAssasin, or similar, what are your best tips for preventing spam. Please try and provide config examples :D
8
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 ...
15
votes
2answers
4k 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. Am I hacked?

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 ...
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 ...
10
votes
2answers
8k 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 ...
8
votes
1answer
4k 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
3answers
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 ...
5
votes
5answers
5k views

Is there any alternative to SpamAssassin? [closed]

I'm looking for alternative to spamassassin. Anyone tried rspamd from Rambler.ru (https://bitbucket.org/vstakhov/rspamd/wiki/Home)?