Free and open source mail transfer agent (MTA) that routes and delivers email
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:
...
1
vote
2answers
549 views
What do I need to parse incoming emails?
My intention is to parse incoming emails with PHP. What would be the simplest way to set this up?
Would it suffice to rely on Postfix for this, or is there a better alternative?
The purpose of the ...
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 ...
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 ...
2
votes
9answers
1k views
Mail Server using Postfix
I have currently set up my web application on Amazon EC2 server. As a well known fact sending email from EC2 has a problem. As a cheap and long lasting solution instead of using "authsmtp" is it ...
4
votes
2answers
415 views
How do I get Postfix to deliver ALL mail to a custom script?
I am trying to configure postfix so that ALL mail that arrives (to any domain) is piped into a shell script that I have.
I have tried several things, including setting
mailbox_command = ...
1
vote
2answers
555 views
Why does Postfix deliver mails locally instead of relaying them to Google Apps?
I get the following error trying to send an email to my Google Apps Email at admin@mydomain.com from my Postfix server.
to=, relay=local, delay=0.09, delays=0.07/0/0/0.02, dsn=5.1.1, ...
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 ...
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 ...
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 ...
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
1answer
946 views
How can I set up Postfix so that all email sent on my dev box gets routed to the developer email group?
I have a development server, and at the moment email is disabled on it, so we can do whatever we need to with the system without worrying about accidentally emailing clients' customers.
I'd like to ...
2
votes
3answers
1k views
How to catchall email to a single user mailbox in postfix
I am new to postfix, i need to configure it so that any incoming email to my server will be delivered to a local user account(/etc/passwd). My server will not have any virtual domains($mydestination) ...
2
votes
2answers
3k views
Postifx disable local delivery
is there any form to prevent local delivery on a postfix server?
Ideally, I want to avoid local delivery to some domains, because this postfix server is a google apps backup one.
Thanks in advance, ...
3
votes
3answers
4k views
Add email account to postfix
I have add a user in linux called "mailer". I'm only using this user to send outgoing mail, not receive. What do I need to do in order use the following SMTP information to send outgoing mail?
...
1
vote
3answers
3k 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 ...
1
vote
2answers
831 views
Postfix configuration: different outgoing hosts based on sender
I've seen a few answers to this on the web, but nothing definitive nor any good examples.
I relay all my mail out through Postfix, currently everything sent to my ISP's mail server.
However, there ...
2
votes
5answers
15k views
mail loops back to myself | postfix
Hi I have an issue with bounced mail it does not happen all the time but at the same time is very frequent. Most of the time if I send an email to an address that does not exist then i get a bounce ...
4
votes
2answers
8k views
How to collect bounces in postfix
This is related to this question: http://serverfault.com/questions/20550/ways-to-get-a-bounceback-report-for-my-newsletter-application
Let's say I'm generating email addresses like this when I send ...
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 ...
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
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 ...
7
votes
4answers
4k 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 ...
3
votes
4answers
3k 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) ...
0
votes
3answers
1k views
Monitoring postfix mail throughput
I have a number of CentOS machines running postfix and sendmail. Is there some thing that I can use to monitor the current message throughput of a mail server from its logs? I'd particularly would ...
4
votes
3answers
1k views
Postfix on development server, allow mail to be sent to only one domain
We have postfix on our development server, and I'd like it to be able to only send mail to our domain, not to other domains, preventing accidentily mailing outside users from receiving mail from our ...
3
votes
2answers
244 views
In Postfix, how do I measure how much traffic is used by each user or domain?
In Postfix, how do I measure how much traffic is used by each user or domain?
I can see no "out of the box" means of doing this with vanilla postfix, however, I am sure this is a pretty common need. ...
2
votes
3answers
3k views
postfix: force server to send mail outside of localhost
I have a php file that sends mail using the mail() function. The problem is one of the forms sends to a domain that is registerred on my server while having the mail handled on a different server. ...
2
votes
3answers
791 views
Email postfix marked as spam by google
I searched about this question, found some few answers but no idea how to fix, the problem is that I realy dumb with all this!
I configured the postfix and done everything how the install how to ...
1
vote
0answers
73 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
3answers
1k views
How to set SPF record?
I have configured postfix to use mail.example.com
I have many virtual domains, like:
domain1.com
domain2.com
domain3.com
My question is, how to set the SPF? Do I have to set SPF for each domain ...
1
vote
6answers
3k 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
4k 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
2answers
7k views
Postfix: lost connection with *somehost* while receiving the initial server greeting
I had Postfix installed on CentOS earlier (several months ago) and it was working fine. Due to the fact of the many brute-force attempts and considering that I didn't use it almost at all I shut ...
0
votes
1answer
729 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 ...
2
votes
2answers
331 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 ...
1
vote
1answer
87 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
974 views
Configure Postfix to use external MX servers for delivery of local mail if user is unknown
I have a following setup:
linux box with postfix configured to be responsible for example.com domain
domain's MX servers are configured so that mail sent to example.com is sent to google mail ...
0
votes
2answers
703 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
130 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
2answers
171 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?
0
votes
1answer
3k 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
235 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
653 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
1answer
2k 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
2answers
2k 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
2answers
368 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
415 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 ...
-1
votes
1answer
278 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 ...
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
