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

Restrict relay with postfix to certain domain from single IP

In my company we're using Postfix as a relay for Google Apps SMTP server in a Debian server. Legacy machines like scanners forward messages to our relay server. How can i allow the scanner to only send mails through the relay only to certain domains…
mix
  • 83
  • 1
  • 9
2
votes
2 answers

How to get spamassassin working with postfix as a milter

I'm trying to get spamassassin working on Ubuntu 16.04 with postfix. When receiving mail, I get messages similar to the following in my logs: Jun 11 14:29:47 myhost postfix/smtpd[2387]: connect from mail-oi0-f54.google.com[209.85.218.54] Jun 11…
Anonymouslemming
  • 891
  • 4
  • 15
  • 26
2
votes
1 answer

Postfix + SASL using wrong query to authenticate

I recently set up postfix + dovecot on a aws ec2 instance following this guide: http://flurdy.com/docs/postfix/#config-secure-auth Currently I'm stuck with SASL. The SQL query doesn't seem to be what has been configured. Here are the…
maddo7
  • 155
  • 1
  • 2
  • 11
2
votes
1 answer

Dovecot, Courier, Postfix Differences

[This question might be against SO guidelines - too vague - too subjective. I have however failed to find an answer] Like this: Dovecot vs Courier vs Cyrus What is the difference between Postfix, Dovecot, Courier? Many tutorials require all three…
GCon
  • 124
  • 1
  • 7
2
votes
2 answers

linux: forward mail in mailbox

Is it possible to forward mail out of a mailbox to another mailbox? I know about .forward, that's not what I want to do(seems like that's 100% of the answers out there). I already have mail in a mailbox I can see. I want to forward all of it to…
ethos101
  • 33
  • 3
2
votes
1 answer

550 Verification failed Sender verify failed (in reply to RCPT TO command)

Note: email addresses, domains, and ip addresses have been changed to protect the innocent Current Error: Apr 28 23:47:32 vps01 postfix/smtp[8012]: 2A03D6285EF9: to=, relay=mail.somedomain.com[162.144.93.233]:25, delay=42,…
amaster
  • 123
  • 1
  • 1
  • 6
2
votes
0 answers

Postfix filter incoming mail

Currently I have a Postfix setup on a CentOS machine. It has multiple virtual_alias_domains and virtual_alias_maps = hash:/etc/postfix/virtual. There are multiple entries in /etc/postfix/virtual like: user1@domain.tld user1, admin,…
Vaidas
  • 21
  • 1
2
votes
1 answer

Sending mails from Gmail through my VPS (postfix, dovecot, postfixadmin)

This problem has been bugging me for a long time now and i want it to be fixed. On my VPS I have set up Postfix working correctly with postfixadmin and dovecot. (I can send (by terminal) and receive mail) As i'm a big fan of the google products like…
Baklap4
  • 127
  • 2
  • 13
2
votes
1 answer

Bad search filter - postfix, OpenLDAP, Saslauthd

I am trying to setup a mail server on Debian Jessie and have come across a problem that's doing my head in. When trying to access OpenLDAP through saslauthd via the command testsaslauthd -u user1 -p user1pw -f…
silkyriver
  • 21
  • 2
2
votes
2 answers

Adding mail header if postfix DNS based RBL (realtime black hole) check fails

I have setup a receiving Postfix mail server. Here i have custom code written that parses the whole mail received by postfix and use the headers, body and attachments separately for different uses. I have currently added SPF and DKIM checks in…
Ashish Sharma
  • 233
  • 1
  • 9
2
votes
2 answers

Postfix catch all for emails which include a unique id

I would like to allow email addresses that have an unique id as prefix. For example U123456_bla@bla.tld and U654321_bla@bla.tld would be accepted and send to one users email box. Postfix works fine on my box and I tried to add to my main.cf…
user23613
2
votes
1 answer

Postfix: SMTP Relay based on alias (from address)

I recently noticed when I add an alias to a Gmail account they ask me for a remote SMTP server, username and password. Then, whenever I try to send an email using that alias it gets relayed by Gmail to the provided SMTP server. Is there a way I can…
TCB13
  • 1,166
  • 1
  • 14
  • 34
2
votes
1 answer

Properly Configure Postfix to be secure (SASL + TLS)

I've followed online tutorials online to setup my mail server with SASL and TLS, and amavis. It all seems to works - except i can send mails even if i don't authenticate first - which is not good. I want users to: be required to use TLS when…
537mfb
  • 167
  • 1
  • 11
2
votes
2 answers

Zimbra (postfix) receives email from “my domain” but from external unknown server

I've installed a Zimbra 8.0.7, recently the server have become to deliver emails from accounts that belong to my domain ("example.com") but this mails come from external smtps, for example: 1. the emails accounts (only accounts from "example.com"…
J S
  • 29
  • 1
  • 2
2
votes
1 answer

Postfix, make "Connect from" and "Disconnect from" message to not appear in the log

How can I configure postfix for it will NOT log "Connect from" and "Disconnect from" events?