Free and open source mail transfer agent (MTA) that routes and delivers email
19
votes
3answers
6k views
DKIM sign outgoing mail from any domain (with Postfix and Ubuntu)
I got DKIM setup on my mail server (postfix and ubuntu) so it signs outgoing emails. I used these instructions:
https://help.ubuntu.com/community/Postfix/DKIM
However, I need it to sign emails from ...
16
votes
4answers
15k views
Postfix - how to retry delivery of mail in queue?
I have a backup mail server in case of a failure on the main one.
In that case of failure, mails come on the backup server and stay there until the main one is back.
If I wait some times, the ...
15
votes
4answers
5k views
Why Does hotmail still reject my emails?
I have a very strange problem with my emails being marked as spam by hotmail.
I just have configured Postfix + Dovecot on my server and all works perfectly. I can Send/Receive emails. I only have ...
14
votes
4answers
104k views
How to correct Postfix' 'Relay Access Denied'?
This morning, in order to correct a problem with a name mismatch in the security certificate, I followed the recommended steps from How to fix mail server SSL?, but now, when attempting to send an ...
13
votes
6answers
19k views
12
votes
6answers
798 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. ...
11
votes
4answers
29k views
Fixing My MTA's Poor Reputation
I have a web site that needs to send email to customers to deliver files that they have purchased. Reliable email delivery is vital to this business. Unfortunately, most of the emails sent by my ...
10
votes
3answers
5k views
Understanding a Postfix log file entry
We have a Postfix hub and I'm trying to better understand the information in the mail.log file. I use tools like qshape, pflogsumm.pl and amavis-logwatch to summarize the log files, but I have still ...
9
votes
3answers
11k 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 ...
9
votes
5answers
11k views
postfix - how do you redirect all emails to one user, eg *@example.com → user@example.com
I'm using postfix for my email. I know I can use /etc/aliases and newaliases command to redirect certain email, eg I can redirect root@example.com to user@example.com by putting root: user in my ...
9
votes
3answers
445 views
Postfix sending and receiving the same e-mail every 5 minutes for 4+ months
Back in June I sent myself the EICAR test signature to make sure my postfix/amavis/spamassassin etc setup was working properly. I didn't notice at the time, but this somehow created a tear in the ...
8
votes
7answers
7k views
Do you use postfix or qmail and why
I am setting up a server and I have the choice of installing qmail or postfix. Can someone help me make the right choice.
Thing I like to see covered are:
- Performance
- Ease of setup
- ...
8
votes
1answer
2k views
How can I configure Postfix to retain copies of all email sent through it?
My company currently uses Google Apps for email. I can configure Google Apps to forward all outgoing email through a relay server. I can also point my MX records at this server and have it forward ...
7
votes
2answers
2k views
postfix takes 60-90ms to queue email — normal?
We're seeing some (maybe?) strange delays when submitting individual emails to our local Postfix server.
To help diagnose the issue, I wrote a little test program which sends 5 emails:
get smtp 1ms ...
7
votes
1answer
11k 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 ...
7
votes
13answers
4k 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 ...
7
votes
4answers
3k views
How to make Postfix use another IP address?
I'm using the Postfix mail server and I have 6 IPs available. I'd like to use another IP for the Postfix mail server for sending mail than the web server uses.
How can I do this? My postfix version ...
7
votes
3answers
3k 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 ...
7
votes
5answers
3k views
What is the best open-source email solution package
I need to set up a mail server on an Ubuntu Linux box. Instead of starting from scratch I'm looking for an all in one package, like a bundle that offers a complete but minimal and light weight ...
7
votes
3answers
5k views
How to configure postfix to pipe all incoming email to a script?
Using postfix, I'd like all incoming mail, to any address (including those that don't map to local users) to be piped to a script. I've tried configuring mailbox_command in /etc/postfix/main.cf:
...
7
votes
3answers
7k views
Postfix aliases and duplicate e-mails, how to fix?
I have aliases set up in postfix, such as the following:
all@mydomain.com: foo@mydomain.com, bar@mydomain.com ...
When an email is sent to all@mydomain.com, and any of the recipients in that ...
6
votes
2answers
931 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
1answer
17k views
Configure Postfix to send/relay emails Gmail (smtp.gmail.com) via port 587
Using Centos 5.4, with Postfix. I can do a
mail foo@gmail.com
subject: blah
test
.
Cc:
and the msg gets sent to gmail, but it resides in the spam folder, which is to be expected.
My goal is to ...
6
votes
1answer
2k 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 ...
6
votes
2answers
4k 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 ...
6
votes
1answer
1k views
How read mail from /var/spool/postfix/deferred?
Is there a way to read deffered mail from /var/spool/postfix/deferred. I tried to copy file to my mail directory and see it from webmail but it dosnt work. When im using less or cat it seems like ...
6
votes
5answers
1k 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 ...
6
votes
1answer
2k views
Why is Postfix trying to connect to other machines SMTP port 25?
Jul 5 11:09:25 relay postfix/smtp[3084]: connect to
ab.xyz.com[10.41.0.101]:25: Connection refused Jul 5 11:09:25 relay
postfix/smtp[3087]: connect to ab.xyz.com[10.41.0.247]:25: Connection
...
6
votes
1answer
1k 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])
...
6
votes
2answers
498 views
Setting up a forwarding-only email server
All I want to do is install postfix, and forward emails. I don't need anything to stay on my server. This is giving me hell. I tried the best I could, but postfix is denying all relays.
What I want ...
6
votes
6answers
7k 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
1answer
609 views
I need advices: small memory footprint linux mail server with spam filtering
I have a VPS which is originally destined to be a webserver but some minimal mail capabilities are needed to be deployed as well, including sending and receiving as standalone server.
The current ...
5
votes
3answers
2k views
PTR OK, SPF, DKIM passed but email messages are marked as Spam by Google?
# host 1.2.3.4
4.3.2.1.in-addr.arpa domain name pointer mail.domain.vn.
# dig +short txt domain.vn
"v=spf1 a mx ptr -all"
# dig +short txt mail.domain.vn
"v=spf1 a -all"
Here's an email header ...
5
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
5
votes
3answers
5k 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
2answers
743 views
What settings should my email server be mindful of to avoid bounce back from major email providers?
So I think my postfix+dovecot+roundcube+postfixadmin+sasl+spamassassin+amavisd-new+postgrey setup is working correctly. I can send out emails to certain domain names. Receiving definitely works; ...
5
votes
3answers
963 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??
5
votes
1answer
191 views
How can I see the contents of the mail who's ID I get from mailq command?
I used mailq command and I got a line like for example:
A705238B4C 603953 Wed May 23 11:09:58 apache@myserver.com
So, now I'm wondering is there a way where I can "read" an actual content of the ...
5
votes
5answers
2k 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)?
5
votes
2answers
463 views
What are the correct SPF records to allow both local and Google Apps delivery
We have recently moved our server stack to a new data farm, and some of our clients are experiencing issues with mail being sent from their GApps accounts. Before the server move we had no issues, but ...
5
votes
2answers
1k views
saslauthd using too much memory
Woke up today to see my site slow/unresponsive. Pulled up top and it looks like a ton of saslauthd processes have spun up using about 64m of RAM each, causing the machine to enter swap space. I've ...
5
votes
1answer
531 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 =
...
5
votes
1answer
792 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 ...
5
votes
1answer
464 views
Let Postfix handle spam in two ways
I've got postfix setup so that mail coming in from smtpd is automatically filtered through spamassassin (which reinjects it into the mailqueue with added headers)
Now I want to do 2 things with ...
5
votes
1answer
971 views
Stop Outgoing Spam Already Tagged as Spam
I run a Postfix server with Amavis and Spamassassin among other things. Postfix receives mail from the outside world and passes it on to Amavis. Amavis has Spamassassin rate the mail, and then tags it ...
4
votes
3answers
2k 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 ...
4
votes
4answers
5k views
How to build a high availability Postfix system?
I'm needing to set up a remote mirror for a postfix server (where the content of both mail servers should be the same at any time).
The idea is that if the main server comes down at some point the ...
4
votes
3answers
595 views
Postfix decides that it does not have enough disk space
FINAL RESULT
I fixed this problem by resizing my xvda partition from 700MB to 10GB. I used Linode’s control panel to do that, which involved shutting down the VPS, running the resize operation, and ...
4
votes
3answers
252 views
Is SPF enough to make sure emails get delivered to inbox?
So I just succesfully set up postfix + dovecot. is SPF enough to make sure emails get delivered to my website's users?
I don't want my emails to end up in their spam box.
4
votes
2answers
3k views
How to redirect all outgoing email from postfix to a single address for testing
I am setting up a testing server for a web based application that sends some email notifications.
Sometimes testing is performed with real customer data, and for that reason I need to guarantee that ...
