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

learn more… | top users | synonyms

13
votes
9answers
28k 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 ...
8
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 ...
6
votes
3answers
13k 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 ...
5
votes
2answers
550 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 ...
4
votes
3answers
4k views

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

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 ...
3
votes
2answers
11k 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 ...
3
votes
2answers
947 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 ...
3
votes
1answer
2k 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 ...
2
votes
3answers
866 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 ...
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
2answers
271 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
1answer
618 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
757 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
576 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
0answers
236 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 ...
1
vote
1answer
3k 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 ...
1
vote
1answer
22 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
104 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
2answers
32 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
398 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
90 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
1answer
261 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
1answer
807 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 ...
1
vote
3answers
511 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
200 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
539 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
175 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
49 views

Can I temporarily pause/queue Postfix SMTP sending to a specific domain?

I'd like to temporarily queue all mail to a particular domain, but allow all others to send right away. For example, if a user on mydomain.com sends an email to recipient-domain.com, I'd like to wait ...
1
vote
1answer
158 views

Domain email, GMail, Postfix

So, after a long trek around the blog-o-tubes, I arrive here. I'm trying to set up email for my domain. I don't really want to do my own email hosting with my own mailserver, especially since my ...
1
vote
1answer
102 views

ispconfig3 mailserver

I have been installing ispconfig3 on ubuntu 12.04 what usually configures the mail server as well postfix/dovecot. Creating mailboxes and testing theme no email is going to be droped. My syslog has ...
1
vote
1answer
131 views

How to disable Postfix/Dovecot logging on Ubuntu?

I am using Ubuntu 10.04 and I am trying to disable logging for both Postfix and Dovecot. Does anyone know how to do this? I have found references stating that there is a setting in /etc/syslog.conf ...
1
vote
1answer
114 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 ...
1
vote
0answers
150 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 ...
1
vote
0answers
221 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 ...
1
vote
1answer
87 views

stop emails originating from apache / php

I am running Ubuntu with Webmin / VirtualMin And I started getting this issue with thousands of emails coming from www-data which is Apache.. somehow from a virtual site. How can I disable this ...
1
vote
0answers
107 views

postfix mail queue - get bottleneck - Debian squeeze

I have a problem with Postfix 2.7.1, Debian Squeeze: send and receive mail with no problem working locally, send e-mail outside work without a problem, the problem is when someone sends a large ...
1
vote
1answer
275 views

Connection refused from remote computers on port 25 with postfix

I have a postfix / dovecot mail server setup using TLS. The IMAP / POP side of the server works perfectly, but I cannot connect to it for SMTP. Even telnetting it from a remote computer I get ...
1
vote
0answers
276 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 ...
1
vote
1answer
123 views

postfix: block mails to a specific and non existent mail address

How could I block mail to an incoming address that spammers are hammering via postfix? I have a webmin interface to postfix, so if this can be done via webmin interface that would be great.
1
vote
0answers
171 views

Dovecot/Postfix-mysql e-mail Aliases are not correctly forwarded

I recently set up Dovecot/postfix-mysql on my Debian Squeeze Server and I have a bit of a problem. When ever I send a email to an alias (foobar@mydomain.com forwarded to foobar@gmail.com for example) ...
1
vote
0answers
134 views

In Ubuntu 12.04, how do you tell saslauthd to use getpwent instead of PAM?

I have a fresh install, upgrading from ancient Ubuntu 8.x, and I just can't figure out where this setting is supposed to be in Ubuntu 12.04. Please help! Thanks
1
vote
1answer
279 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
659 views

Debian / Monit: mail is only sent to local system, not to outside address

I have a debian server and have monit installed and running. I use the following settings for alert mails: set mailserver localhost # primary mailserver set mail-format { from: monit@abc.test } set ...
1
vote
0answers
187 views

Ubuntu 10.10 Desktop: configuring postfix to send mail as

I have been learning how to use postfix to end email using the command line, which I find helpful when at work and I don't want to open a browser or switch to mouse, to send an email about my broken ...
1
vote
1answer
247 views

Problem installing PostFix on Ubuntu (Lucid Lynx) from terminal window from script using apt-get postfix: no options to select

Actually I'm using sudo apt-get install bzr bzr-builddeb equivs (though sudo apt-get install postfix seems to be doing the same thing) from the terminal windows, As per the iFolder instructions ...
1
vote
0answers
198 views

DKIM milter with Postfix doesn't sign additional headers passed to PHP mail() function

I use CentOS server with Postfix for mail sendind and my PHP application use mail(0 for mail sending. Some "FAQ" problem with this setup have been solved quickly using Google (e.g. passing "From" ...
1
vote
1answer
636 views

Postfix configuration: how to manage locally sent email from cron jobs?

I set up Postfix on a Debian server serving from mydomain.com and configured it to send out emails from mydomain.com email addresses. Since switching to this configuration, my gmail started to be ...
1
vote
1answer
1k views

Postfix on Snow Leopard unable to send MIME emails, including header contents in message body

I configured postfix on snow leopard by adding the following line to /etc/hostconfig: MAILSERVER=-YES- I then configured postfix to relay through my ISP's SMTP server. I added the following two ...
0
votes
3answers
171 views

my mail server is rejecting gmail

i try to send a message from my gmail account to one of the addresses hosted by my mail server and get the following message: Delivery to the following recipient failed permanently: ...

1 2 3