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
2
votes
2 answers

How to move cur tmp new directories directly in virtual user home?

Reading the Maildir documentation they just mention folder should be like user/Maildir/cur tmp new So my virtual users have it without Maildir folder like: user/cur /tmp /new is this going to cause…
MikZuit
  • 391
  • 2
  • 7
  • 16
2
votes
1 answer

Stop (most) local delivery in Postfix

I'm trying to setup a Postfix (2.11.4) configuration so that it does this: Sends out mail originating from the local server Accepts incoming mail for a single alias, which actually points to a script And nothing else Here's a partial…
George Adams
  • 131
  • 4
2
votes
1 answer

searching for the correct way to compile postfix

I am experiencing issues while compiling latest version of postfix from source code. At the moment I'm trying to compile version 3 because Debian 7 and latest Ubuntu 14,10 (version 2,9 and 2,11 for postfix) are buggy for configuring virtual…
blurstream
  • 139
  • 3
2
votes
1 answer

SquirrelMail showing empty inbox. THIS FOLDER IS EMPTY

I have installed postfix, dovecot and squirrelmail. I can send messages and also receive messages. But in Squirrelmail web interface i can see only sent messages it is not showing the mails which are in inbox . Infact when I click on Inbox it…
Prime
  • 143
  • 1
  • 6
2
votes
1 answer

Postfix milter-reject: END-OF-MESSAGE from 4.7.1 Service unavailable - try again later

I am running postfix-2.11 version and recently i have added dkim-milter-2.8 Postfix configuration: # DKIM milter_default_action = accept smtpd_milters = inet:localhost:8892 non_smtpd_milters = inet:localhost:8892 TCP socket Listening ( Daemon…
Satish
  • 682
  • 3
  • 8
  • 22
2
votes
1 answer

SASL PLAIN authenticating with primary domain, but not with virtual domain

Postfix + dovecot and sasl. Works so far with 1 domain. Added a virtual domain. Incoming mail for this works. Outgoing however has SASL authentication failing. Why does it fail I don't know. /etc/sasl2/smtpd.conf looks like: pwcheck_method:…
willdanceforfun
  • 557
  • 2
  • 11
  • 23
2
votes
1 answer

Two servers in domain but only one responsible for sending emails

I have two Debian servers: web.example.com - LAMP web server mail.example.com - mail server with postfix, dovecot and mysql based user directories, auth required Now I want to setup web.example.com to send emails (ex. those that are sent by local…
2
votes
2 answers

PHP emails, Postfix and Message Queue

I've been running a web platform that needs to send a considerable amount of emails daily. At the implementation date I and my partner decided to setup Postfix on the server and use Swift Mailer class to send the email using a SMTP connection to the…
TCB13
  • 1,166
  • 1
  • 14
  • 34
2
votes
1 answer

Postfix replaces "from" when using simple filtering

I'm trying to configure Postfix (on a RHEL 6.5) to modify the content of incoming messages and forward the emails to a remote server. I used a Perl script piped to Postfix to modify the content, and the emails get injected back into Postfix using…
Andrea
  • 23
  • 4
2
votes
2 answers

smtpd_recipient_restrictions works but not always

I have POSTFIX set up to filter certain email addresses. The main.cf file contains: smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/blacklist, permit_mynetworks, permit_sasl_authenticated, …
Kolja
  • 199
  • 1
  • 2
  • 10
2
votes
4 answers

Postfix 2.9 or sendmail, outgoing spam prevention (check if sender exists)

Operating System: Linux Ubuntu 12.04 TLS Context: Plesk 11.5 Utility: Postfix 2.9.6 (updates restricted by Plesk 11.5 distribution) I would like Postfix to check the 'sender' field of every outgoing smtp mail (before sending), so that the sender…
rellampec
  • 148
  • 1
  • 10
2
votes
1 answer

Postfix smarthost, allow relay by dynamic IP

I have several servers (web, mysql, java) that have postfix installed which are set up to relay to a smarthost postfix server. DYNAMIC IP STATIC IP INTERNET [PHP -> sendmail -> 25:postfix:2525] ->…
Christian
  • 796
  • 3
  • 13
  • 31
2
votes
2 answers

Debugging a Postfix Saslauthd PAM-PGsql authentication failure

I've set up pam-pgsql to lookup passwords in my database for Postfix via Saslauthd. I can test credentials using the command line: $ sudo testsaslauthd -u user@email.com -p password 0: NO "authentication failed" Authentication will fail, and I…
jonallard
  • 261
  • 2
  • 8
2
votes
1 answer

Dynamically set SRS_DOMAIN

I have a mailserver forwarding mail and using postsrsd for SRS. Since postsrsd uses postfix's mydomain setting to alter the Return-Path, is there a way to set the SRS_DOMAIN for forwarded mail based on the recipient address instead of setting it…
2
votes
1 answer

How do I know if Postfix has MySQL/PostgreSQL support?

I'm not sure if my Postfix installation has MySQL or PostgreSQL support. How do I find out?
jonallard
  • 261
  • 2
  • 8