Questions tagged [postfix]

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

Useful links:

504 questions
35
votes
2 answers

Why use both Dovecot and Postfix?

Just out of curiosity, there are dozens / hundreds of tutorials helping you setup a dovecot - postfix mail server. On the surface, both of them are email servers, why use both? Mail servers are complicated enough, why have 2 things to manage and…
Alan
  • 545
21
votes
3 answers

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 http://www.linuxmail.info/postfix-change-port/ but I…
18
votes
1 answer

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

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 pain to set everything up again if there is a…
Diti
  • 297
16
votes
9 answers

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

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 or there are more simple solutions for an smtp…
16
votes
3 answers

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 alias data are stored in a MySQL database. I…
cweiske
  • 2,191
16
votes
2 answers

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 other features for now. I would like to avoid…
n611x007
  • 6,566
  • 15
  • 67
  • 91
14
votes
6 answers

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 answered, and if not, report back to me. For now, I'm…
Tastalian
  • 243
14
votes
3 answers

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 made a ~/.forward file with: my.email@gmail.com If…
rix0rrr
  • 851
12
votes
3 answers

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 when e-mail is sent using either the mail or sendmail commands, or from programming languages like PHP (which just uses a…
12
votes
4 answers

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 that, but they are usually geared towards…
thomasrutter
  • 2,053
11
votes
4 answers

Make postfix reject incoming email spoofed as from my own domain

I have a postfix server correctly configured to allow incoming mail to my domain, and to require authentication in order to send mail to any other network. A lot of spam that I get has a forged "from" address of non-existent users at my own domain. …
dataless
  • 743
11
votes
4 answers

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 out a way to send an email to my gmail address…
Michael Mao
  • 493
  • 3
  • 8
  • 14
10
votes
5 answers

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, I entered my ip and set the FQDN to:…
BreezyChick89
  • 291
  • 5
  • 15
10
votes
3 answers

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 postfix?
thevikas
  • 381
9
votes
1 answer

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. Everything about the server is working properly except…
drewag
  • 311
1
2 3
33 34