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
1 answer

Spamassassin logging

I have a Postfix, Postgrey, Spamassassin, amavisd-new, dovecot setup. When I send an e-mail through the system, the log file goes completely nuts. I can't find any info to explain what the log lines mean, so I'm not sure what the best thing is to…
Spuggiehawk
  • 59
  • 1
  • 8
2
votes
1 answer

Can't receive emails with Postfix

I installed Postfix on my server and I'm able to send emails, but can't receive any. I also noticed that I'm unable to telnet to the server with the port 25, from a different computer or from the server itself. I'm getting a "no route to host"…
user1319182
  • 141
  • 1
  • 7
2
votes
1 answer

Postfix sending mail as root@example instead of root@example.com

I'm trying to send mails from my server using postfix and it works perfectly except for one thing; it sends the mail as root@example instead of root@example.com. Here's my config file, what did I miss? # See /usr/share/postfix/main.cf.dist for a…
Waiyl Karim
  • 161
  • 3
  • 8
2
votes
0 answers

Dovecot configuration issue: Aborted login (no auth attempts in 0 secs): user=<>

I've set up a test server per the tutorial on https://arstechnica.com/information-technology/2014/02/how-to-run-your-own-e-mail-server-with-your-own-domain-part-1/ The problem is in trying to login with Thunderbird (or any client). Thunderbird…
williamk
  • 133
  • 1
  • 10
2
votes
1 answer

Postfix failed to send mail with host found but no data record of requested type

First time setup Nagios 4 on Centos 7 with Postfix for sending alert emails. My local domain is example_1.com my exchange mailbox mx record is example_2.com, and both behind firewall on the same network. When sending email through Postfix from…
wenchung
  • 21
  • 1
  • 2
2
votes
0 answers

Nginx + mail open ports vulnerability

I'm just thinking out loud here and wondered if i have to open up ports (inbound) to still use my mail. Isn't it possible to redirect trafic lets say imap or pop3 through a subdomain (imap.domain.tld or pop3.domain.tld) hosted at port 80 or 443 and…
Baklap4
  • 127
  • 2
  • 13
2
votes
0 answers

< hostname[private/dovecot-lmtp]: 550 5.1.1 User doesn't exist: alias@domain.tld

This is the setup of my mailserver: Big picture: MTA: Postfix 2.11.3 - MDA: Dovecot 2.2.13 - DB: Postgres 9.4.10 - OS: Debian 8 Jessie, kernel 3.16.0-4 postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain…
ole
  • 21
  • 1
2
votes
1 answer

default value for auto-whitelist-clients in postgrey dangerous

The postgrey manual sais: --auto-whitelist-clients=N whitelist host after first successful delivery N is the minimal count of mails before a client is whitelisted (turned on by…
rubo77
  • 2,469
  • 4
  • 34
  • 66
2
votes
3 answers

Setting up aliases with Postfix and Courier-IMAP

I have set up a Postfix mail server which uses Courier in order to provide an SMTP service. On my server there is a user called joe. I used alias maps to make mail to test@example.com redirect to joe using test: joe in my /etc/aliases. Seeing as…
Zak
  • 81
  • 7
2
votes
3 answers

OpenDKIM milter not signing relayed mail

I'm using OpenDKIM to sign mail on my Postfix server. It works as intended when sending with SMTPS from it's origin domain (let's say example.com). However, mail set out from SMTP clients on the LAN are not being signed. Said clients do not have…
Isabell Cowan
  • 123
  • 1
  • 9
2
votes
1 answer

postfix reject_unverified_recipient auto retry?

We have an postfix SMTP server, used to relay mail for customers web scripts. Postfix is using recipient address verification with reject_unverified_recipient in smtpd_recipient_restrictions (it is a must, due to high number of unwanted bounces…
Matija Nalis
  • 2,478
  • 24
  • 37
2
votes
1 answer

postfix not blocking blacklisted IP

I have a postfix/dovecot server running inside a docker container, and I would like to block some IP addresses from connecting to my SMTP server. I have the following in /etc/postfix/main.cf: smtpd_recipient_restrictions = permit_sasl_authenticated,…
Holt
  • 181
  • 2
  • 8
2
votes
2 answers

fail2ban reject brute force spam bots

Would it be wise if I modify postfix fail2ban rule from this: failregex = ^%(__prefix_line)sNOQUEUE: reject: RCPT from \S+\[\]: 554 5\.7\.1 .*$ ^%(__prefix_line)sNOQUEUE: reject: RCPT from \S+\[\]: 450 4\.7\.1 Client host…
Aleksandar Pavić
  • 412
  • 2
  • 8
  • 18
2
votes
1 answer

dkim verification keeps failing bad signature

My DKIM verification keeps failing, and I can't figure out why. It's signed though, but wrong. When I check domain and selector it turns out as valid, so problem is with signing. Here is a dump of one test…
Aleksandar Pavić
  • 412
  • 2
  • 8
  • 18
2
votes
2 answers

Postfix reject unknown local recipients

I have a problem with backscatter. Spammers send emails to non existent username @ existent domain hosted on my server. I am trying to abort the session instead of sending bounce messages back to forged sender addresses. I tried adding…
J. Doe
  • 21
  • 3