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
35k 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 ...
9
votes
4answers
23k 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
1k 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 ...
8
votes
1answer
7k 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 ...
6
votes
2answers
23k 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
742 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
5k 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
3k 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
564 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
1answer
9k 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 ...
4
votes
0answers
228 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
2answers
2k 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 ...
3
votes
2answers
1k 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 ...
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
3answers
364 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
925 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
906 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
75 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
1answer
107 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
92 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
244 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
3k 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
999 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
142 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
218 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
258 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
431 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
428 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
404 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
2answers
649 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
33 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
254 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
274 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 ...
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
53 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
144 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
203 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 ...
1
vote
1answer
34 views

unable to delete/mark-read emails

I think there is something wrong with the folder-path configuration, but I am unaware how to solve this. I can send/recieve mails over IMAP with my mail applications, but no emails will go marked as ...
1
vote
2answers
1k 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 ...
1
vote
1answer
2k views

How to configure Postfix mail on Red Hat Linux?

I am trying to configure Postfix on Red Hat Linux to send email with the following command: mail -s "test" user15@dba.gui.com I have followed all the steps mentioned in this tutorial and have ...
1
vote
1answer
462 views

Transfer mail from local machine to Gmail

I'm trying to use Gmail to manage a MS Exchange email that I log into with Outlook Web Access. The Exchange email has IMAP and SMTP access but not POP3 access so I can't use Gmail's "check mail from ...
1
vote
3answers
1k views

Unable to receive emails using Postfix

I've set up Postfix on a VPS running Centos 6, and I can access webmail using Squirrel Mail fine. But when I send or receive emails from my Gmail and other personal account I don't receive them on the ...
1
vote
1answer
278 views

Sending mail from virtual host fails “mail for domain.com loops back to myself”

I have two servers relavant here: mail.domain.com (1.1.1.1) - which is the nameserver and the mail server for domain.com. www.domain.com (2.2.2.2) - which is the www subdomain for domain.com ...
1
vote
2answers
967 views

How can I catch mail that my development server is generating so I can view it, but not send it?

When I was developing on a PC, I used a program called PostCast (http://www.postcastserver.com/) to act as my local SMTP server and catch any messages that my web applications generated. It then had a ...
1
vote
2answers
2k views

postfix on Mac OS X 10.6 Snow Leopard not working

Here's how it's going: host> echo "Hey my man" | mail -s "Testing" myaddress@gmail.com Then, in /var/log/mail.log: Sep 13 12:08:31 host postfix/pickup[738]: EB0535EF3F3: uid=501 ...
1
vote
1answer
971 views

automatic postfix [mailbox is almost full] warning

Two similar queries: Is there a add-on that will send automatic warning to user if he reached N% of his quota? Is there a webmail that shows his current consuption in MB and/or %?
1
vote
1answer
345 views

Using supervisord to control the postfix MTA

I am trying to use supervisord to control postfix. The usual method is to specify a command which starts the daemon, I use postfix -c /etc/postfix start. The postfix man page says that to stop you ...
1
vote
1answer
48 views

Postfix to send all mail to /dev/null except one address (alias)

My postfix server is working on a particular domain name through a relay, so it's like that: Client send to abs@subdomain.domain.com -> domain.com production mail server -> internal mail server on ...