Questions tagged [postfix]

Free and open source mail transfer agent (MTA) that routes and delivers email. When asking about postfix problem, please include the relevant maillog lines and output of the following command: `postconf -n` (non-default content of main.cf) and `postconf -M` (content of master.cf)

Postfix is a mail transfer agent (MTA) that supports IPv6, DNSBL, SMTP AUTH (SASL), TLS and various database backend.

Postfix was written by Wietse Venema in 1997 and first released in December 1998 as IBM Secure Mailer.

It was designed to be highly secure and configurable, and is a drop-in replacement for , with much simpler configuration syntax.

The software was also formerly known as VMailer.

6398 questions
17
votes
5 answers

Dovecot user lookup fails when using username@domain format

I have Dovecot v2.0.11 installed on a FreeBSD server and the user lookups for incoming email addresses are failing, but lookups for system users is successful. Dovecot is setup to use system users, so my dovecot.conf has userdb { driver =…
cigarman
  • 273
  • 1
  • 2
  • 7
16
votes
4 answers

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 outside users from accidentally receiving mail from our development server. I searched through the docs, tried…
datadevil
  • 535
  • 1
  • 7
  • 22
16
votes
4 answers

Is there any way to see if the mail sent by my server was received by the recipient server?

I've sent an important email that the recipient claims it wasn't received by them. They say that they asked their IT team to see if the email was received in their server. According to them the email never reached their server. Also they don't…
belyid
  • 331
  • 1
  • 4
  • 14
16
votes
5 answers

Get postfix to forward root's mail

I have an Ubuntu server running postfix. It is not the mail server for my domain. Whenever a cron job runs for root, the output mail is not delivered locally, instead it gets sent to root@mydomain.com via the main mail server. This is not what I…
oz1cz
  • 1,575
  • 3
  • 11
  • 10
16
votes
4 answers

Postfix "warning: cannot get RSA private key from file"

I just followed this tutorial to set up a postfix mailserver with dovecot and mysql as backend for virtual users. Now I got the most parts working, I can connect to POP3(S) and IMAP(S). Using echo TEST-MAIL | mail myaccount@hotmail.com works fine,…
phew
  • 263
  • 1
  • 2
  • 6
16
votes
1 answer

postfix sasl "cannot connect to saslauthd server: No such file or directory"

I try to setup postfix with smtp authentication. I want to use /etc/shadow as my realm Unfortunately I get a "generic error" when i try to authenticate # nc localhost 25 220 mail.foo ESMTP Postfix AUTH PLAIN…
user97262
16
votes
3 answers

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 we provide the customer with an email account on…
WarpKid
  • 355
  • 1
  • 4
  • 8
15
votes
3 answers

How do I temporarily suspend mail delivery to a specific domain (non-local) with Postfix?

Using Postfix and custom transports I can manage delivery speeds depending on the recipient's domain. (For example, I send max one message per second to *@hotmail.com) I also use similar rules to block bad destinations (htmail.com is blocked right…
Julien
  • 510
  • 1
  • 5
  • 11
15
votes
1 answer

How to check postfix server using telnet

I have postfix email server on Ubuntu 11.04 version. I upgraded installed packages using the following command sudo aptitude update && sudo aptitude safe-upgrade Once I update those packages, I couldn't connect my email from my client machine. So I…
Smith Dwayne
  • 259
  • 1
  • 2
  • 5
15
votes
3 answers

Is SRS rewriting absolutely necessary for a forwarding mailserver?

I am operating a Postfix email server for my domain, say mydomain.com. It mostly acts as a forwarding email server: users receive an email address @mydomain.com, but usually elect to have their address forward to an external inbox (Gmail, Yahoo,…
tlng05
  • 245
  • 2
  • 10
15
votes
2 answers

Postfix → Dovecot LMTP: User does not exist: uid@domain

I am trying to have Postfix deliver local mails via Dovecot's LMTP (among other things to replace procmail with sieve). Up to now, I've been using mailbox_command = procmail - a "$EXTENSION", delivering to local ~/Maildirs. Following…
eudoxos
  • 363
  • 2
  • 3
  • 11
15
votes
4 answers

Postfix: how to use simple file for SASL authentication?

I'd like to run Postfix on a Debian VPS to send e-mails from my application. The application (running on other VPSes) would connect to Postfix via SMTP. Postfix does not have to handle incoming email; it's just about sending the outgoing…
Jonathan
  • 401
  • 2
  • 4
  • 18
15
votes
4 answers

Postfix - do not list domain example.com in BOTH mydestination and virtual_alias

I have a server with two domains. I get the warning as mentioned in the title: do not list domain example.com in BOTH mydestination and virtual_alias Although I receive the above warning, it works just fine without problems. But I want to know how…
cornergraf
  • 491
  • 1
  • 4
  • 8
15
votes
6 answers

How to build a high availability Postfix system?

I'm needing to set up a remote mirror for a postfix server (where the content of both mail servers should be the same at any time). The idea is that if the main server comes down at some point the mirror server will take its place, manage the new…
VanHackman
  • 151
  • 1
  • 1
  • 3
15
votes
2 answers

How can I get postfix to send mail to different relay hosts?

I'm running multiple websites on a single server. I'm using sendgrid to send my email. Right now, I have postfix relay all outgoing mail to a single sendgrid account, using smtp_sasl for authentication. I need to be able to send each domain's email…
Joe Van Dyk
  • 281
  • 1
  • 2
  • 6