Postfix is a free and open-source mail transfer agent (also "MTA"), written in 1997 and still actively developed.

learn more… | top users | synonyms

16
votes
9answers
36k views

Just want to send emails from my Ubuntu Server. What simple SMTP server solution to use? [closed]

Basically I have a Ubuntu Server machine and I would like an idiot-proof solution for sending emails from my website that is also running in this same machine. My doubts are: 1) Should I use postfix ...
11
votes
1answer
9k views

The simplest way to set up a secure, IMAP, email server? [closed]

I would like to get rid of Google as an email provider, and set up a complete email solution on my dedicated server. The issue: I wish the setup to be as simple as possible, so that it wouldn’t be a ...
9
votes
4answers
26k views

How to send email with attachment by postfix from command-line?

I've just setup a new Ubuntu 10.04 LTS server on linode for myself. Followed an excellent instruction at: here to finish the installation of some basic stuff including postfix. I am trying to figure ...
9
votes
4answers
2k views

What is the best MTA setup for a home/laptop computer (*not* server)?

What is a good MTA (e.g. Postfix or something else) setup for a home computer behind a NAT, or a laptop that is not always online? I've read a lot of Postfix tutorials on how to set it up this way or ...
6
votes
2answers
27k views

how do I change postfix port from 25 to 587?

I am total noob about Unix and CLI. after googling for almost 6 hours I came to know I should be editing postfix port from 25 to 587 for PHP mail() function to work. and here is the solution I got ...
6
votes
2answers
774 views

Easiest way to send mail from Linux Server

I want my server to send me email alerts every time it does things such as run a backup. I have tried to setup programs like Sendmail, Postfix, etc on my Ubuntu Server box and it is really a pain for ...
6
votes
1answer
6k views

Postfix: forwarding e-mail to GMail not working

On my (web server) machine, I just want to be able to send and receive e-mail, and have e-mail addressed to particular addresses forwarded to my GMail inbox. Right now, I have installed postfix and ...
5
votes
3answers
5k views

Benefits of running my own mail server versus switching to google apps [closed]

I've happily been running a mail server on my home network to handle my personal domain email for the last 6 years. The old PIII server that is my mail server is now on it's last legs and I'm ...
5
votes
2answers
4k views

Regex multiple catch-all setup in postfix

I need to setup a regex catch-all function on postfix such that: tom.(anything)@domain.com goes to tom@other.com phil.(anything)@domain.com goes to phil@other.com How can this be achieved in ...
4
votes
4answers
752 views

What all is required for email from my server to pass through spam filters?

I have a serverbeach server with postfix installed. The hostname is something like p3204059.pubip.serverbeach.com The FQDN is specified as NONE for the server itself. I clicked change ptr record, ...
4
votes
2answers
4k views

Changing default from e-mail address for system accounts when using sendmail

I would like certain system accounts (root and www-data) to have the header From: Example Company <noreply@example.com> when e-mail is sent using either the mail or sendmail commands, or from ...
4
votes
0answers
332 views

Connection timing out when connecting to Milter service

I'm using a VPS with CentOS 5, containing Postfix and OpenDKIM. I have set up OpenDKIM using this guide. Everything seems to work properly as the log in /var/log/maillog does not report anything other ...
3
votes
3answers
2k views

read localhost e-mail with thunderbird

What would be simplest IMAP server allow Thunderbird to read messages to user@localhost for Ubuntu Linux? My assumption was that if mailutils could read mail with the "mail" command then IMAP or POP ...
3
votes
1answer
10k views

How to get `mail` on a CentOS 6 server (running postfix)

On my old server, and most other devices I have run, there is a provided mail program. On my new CentOS 6 server, running postfix as the MTA, I cannot send command-line email via mail - the tool is ...
3
votes
2answers
2k views

Postfix TLS configuration

I am in the middle of setting up a postfix server on Arch Linux. It seems to be working ok so far - I can successfully speak to it via telnet localhost 25. However, when I try to connect using ...
3
votes
0answers
61 views

dovecot WILDCARD SSL (certicate.crt, private.key, intermediate.crt) not working

I have installed dovecot and postfix and got it working, but when I change the ssl_cert_file, ssl_key_file and ssl_ca_file dovecot configuration to my WILDCARD SSL certificate (working on apache) it ...
3
votes
1answer
1k views

Postfix: SMTP, use port 587 rather than 465

I have set up a mail server on AWS EC2 using the instructions from Flurdy: http://flurdy.com/docs/postfix/ it has mostly gone well. My issue is that I would prefer to use SMTP port 587 with TLS ...
3
votes
1answer
756 views

Ubuntu Postfix Error: timeout exceeded (in reply to end of DATA command)

I have Ubuntu box behind the router (Asus RT-N13U), port 25 is forwarded to box from router via VirtualServer feature on router. The problem is that some clients (here host.ru) can't deliver mail to ...
2
votes
3answers
2k views

Terminal mail delivery delay in Mac OS X

I'm using mail from the Mac OS X terminal to send the results of a database query to me via email. Most of the time it works, but sometimes there is a long delay before the mail arrives (often when ...
2
votes
1answer
7k views

NOQUEUE: reject: Relay access denied

I recently setup a mail server following the instructions on linode.com (https://library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql) except I am using postgreSQL instead of mySQL. ...
2
votes
3answers
875 views

Debian sendmail Cannot write

I had a working sendmail configuration on my debian server, i tried to put a postfix to receive email but abandoned, remove postfix, re install sendmail but nothing work anymore :( here is my ...
2
votes
1answer
316 views

How to disable Postfix SPF from rejecting mail?

I am having an issue with Postfix and SPF that I can't seem to figure out. I have installed SPF for Postfix using the guide on this link (postfix-policyd-spf-perl). However, I don't want Postfix or ...
2
votes
2answers
61 views

How to deal with mail senders failing on STARTTLS?

I try to use my mail server richtercloud.de for subscriptions to vger.kernel.org mailing lists. I set up postfix 2.11 running on Ubuntu 14.04 and sending and reception works. I set up postfix to ...
2
votes
1answer
1k views

Do I have to care about hosts.allow or hosts.deny when I can't reach postfix?

I am using postfix for outgoing mails (collection from machines on 192.168.1.0/24 and forwarding to my ISP's mail machine) and I have trouble accessing postfix for sending mails. The machine I use for ...
2
votes
1answer
983 views

How do I configure the built-in Postfix on Mac OS X to not connect directly to destination hosts other than itself?

I run cron jobs on my Mac laptop, and so I want the mail daemon to be able to send the output mail to my regular mail account. I've got that working (my local account has a .forward file), but I'm ...
2
votes
1answer
165 views

Bulk-deleting inbox mails managed by POSTFIX

Had an issue several hours ago with a client mail account, which got compromised. As a result, he had hundreds of thousands of spam queued in postfix, which lead to several issues. Everything's fixed ...
2
votes
2answers
4k views

Monitor Postfix outgoing mail delivery

I'm using GNU Mailman with Postfix to run a mailing list, and would like to monitor the delivery of outgoing mail, that is: for each mail sent from the list, check whether a 250 (OK) message was ...
2
votes
1answer
123 views

Arch Linux ARM: Send email after successful ftp transfer

I have a script running on my box that checks every 5 minutes to see if a certain time type was uploaded to a folder on my Ftp server. I would like for it to send an email when the transfer is ...
2
votes
1answer
105 views

Forwarding with postfix: prevent rewriting of from address

When I send a mail via php mail then postfix rewrites the from address like this. For example: From: info@mydomain The from becomes: username@myhosthame How can I stop this from happening? I want ...
2
votes
1answer
296 views

Troubleshooting my home mail server setup

I've got some small domain names that I host on my home server and would like to get some basic email addresses for those domains. I set up an Ubuntu 12.04 server and followed the instructions here ...
2
votes
1answer
4k views

DKIM Signature Failing - DNS record lookup is incorrect

I am running Ubuntu 12.04 on a Linode with Postfix and opendkim. My DKIM signature is validating/passing when I test at http://www.brandonchecketts.com/emailtest.php but it is failing when I test ...
2
votes
1answer
1k views

Securing smtp with login

I have a ispconfig server, and it seems that someone is using it to send spam. I got about 130 "Mail Delivery System" email about declined send email. This spammer uses my email address as sent from ...
2
votes
1answer
180 views

can not receive mail by own created mail from gmail

I want to create my own mail ID like myname@mydomain.in instead of paying extra to google for extra mail ids as I have already myname@mycompany.in. Things I have are mydomain.in(I paid for this ...
2
votes
1answer
489 views

Piping inbound email for specific users through a script with postfix

I'm trying and failing to setup postfix so that inbound email to a specific address is piped through a script. It's all new to me, and I think I'm simply failing to understand the complexities of ...
2
votes
1answer
313 views

postfixs email rejected with forged ehlo/helo error 550

i have multiple ip addresses and domains and configured postfix to use the correct ip address according to the sender-address using a map now there are still servers answering with a forged 550 but i ...
2
votes
0answers
72 views

Can I reconfigure postgrey to keep mail instead of rejecting it?

I have postgrey on my mailserver and it works really well. I actually suspect it works a little too well in that there are quite a lot of faulty mailservers out there that don't bother retrying. ...
2
votes
0answers
302 views

Remove root@localhost from e-mail's headers

I am trying to install an e-mail server in my CentOS server. I have installed and configured postfix and bind, but when I send e-mails I still get "root@localhost" and 127.0.0.1 in my e-mail's ...
2
votes
0answers
482 views

“Recipient address rejected” when sending an email with sendgrid

In postfix, I'm using relay_host to send an email to an external address using sendgrid, but I get an error about local ricipient table when sending an email from my PHP code. This is my main.cf in ...
2
votes
0answers
477 views

Postfix: change sender address of bounce (mails from fetchmail)

I am running a Postfix MTA. Fetchmail is used to get mails from several POP3 accounts. The problem is: If a mail cannot be delivered, e.g. because it exceeds the size limit of the mailbox, a bounce ...
2
votes
1answer
447 views

How to forward email for an entire domain to an email address using SRS (Sender Rewriting Scheme)

I have a domain for which I want to forward all email destined for addresses at that domain to a single email address. For example, I want to forward john@example.com and fred@exapmle.com and ...
1
vote
1answer
3k views

In postfix, how could I disable incoming mail?

I would like to be able to send mail to remote servers, from scripts running on my VPS via SMTP, but otherwise reject all incoming mail with postfix on Debian squeeze. (And in general disable any ...
1
vote
2answers
965 views

Postfix: unlimited per-user addresses via “+” sign

Gmail users can get virtually unlimited email addresses by using $name+$suffix@gmail.com ("plus addressing"). I'd like to have that for my own mail server, which is running Postfix. The mailbox and ...
1
vote
1answer
36 views

Need secure solution to get the size of a directory with PHP

I have a vmail directory manage by postfix with the permissions set like this: user: vmail group: vmail permission 700 I need to get the size of that directory with PHP. To do this, I'm using ...
1
vote
2answers
281 views

How can I get administrative email delivered to a Gmail account?

For years and years, I've been running my own email server on my home network. Thanks to getting a Nexus 4, I've finally switched everything over to Google, and decommissioned my email server. Now I'm ...
1
vote
1answer
2k views

CentOS 6 - Inodes full - can't delete folder containing files

I have a CentOS 6 server at rackspace with 40GB of space. My server kept crashing with 'no space left on device' errors but there is over 50% free. When I run df-i this is the output: /dev/xvda1 ...
1
vote
2answers
5k views

POP3 client not downloading all emails from server

I've an old email account (pop3) with lots of emails that I want to download. I don't care what client - but I'm currently trying with Thunderbird. It says that there are no new emails on the server. ...
1
vote
3answers
1k views

Is it possible to queue an item in postfix by?

I'm wondering if it's possible to create mail packages and put them into the postfix queue simply by writing files to the hard drive. Currently I have a script which uses a socket connection to dump ...
1
vote
1answer
173 views

Configuring Postfix as SMTP relay (only)

I have a Postfix 2.5.1 on a Debian 4.0 PPC server. I intend to use this as an SMTP relay for outgoing email from my mobile phone (as my phone service provider recently dropped their SMTP server). The ...
1
vote
1answer
459 views

Postfix allows unauthenticated users to send emails

Hey I set up Postfix to use cyrus SASL implantation and I'm able to login and send emails, but I can still telnet on port 25 and send mails even if I'm not authenticated, which I whish to deny. ...
1
vote
1answer
365 views

Postfix is Sending Spam [closed]

I have an Ubuntu 12.04 server, hosted on AWS, that powers a dozen WordPress installations using Nginx and php5-fpm. The problem just began one day. My server was down. Panic! Whenever I turned it on ...