Postings by Patrick Mahan

Limiting mail relay


I am trying to understand how I am being a mail relay for (what I believe)
are unauthorized users. I have the following postfix config set -

smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authentication,

mynetworks_style = subnet

However, an account seemingly seems to be used as a relay. The user is
complaining about seeing tons of MAIL REJECT messages.

Changing the imaps port-number

I am trying to change the imaps port-number to a non-standard port (9999)
since it seems that is intercepting the standard imaps
port number and repeated emails requesting that they stop have been ignored.

This is only an issue when I am trying to access my personal mail server
when I am away from home.

I currently have the following configured in 10-master.conf -

service imap-login {
inet_listener imap {
address =, ::1
port = 143
inet_listener imaps {
port = 9999
process_min_avail = 3
service_count = 0
vsz_limit = 1 G

But I do

Trying to debug postfix 'unknown mail transport error'

FreeBSD 11.2, Postfix 3.3.2, Dovecot 2.3.4

Random user verification failures are occurring and I am not sure why.

Here's an example -

From /var/log/maillog:


Jan 21 12:20:41 ns postfix/smtpd[31736]: NOQUEUE: reject: RCPT from[]: 450 4.1.1 < ... at mahan dot org>:
Recipient address rejected: unverified address: unknown mail transport
error; from=<
bounce-299_HTML-404541337-2436561-7222883- ... at bounce dot>
to=< ... at mahan dot org> proto=ESMTP helo=<>
Jan 21 12:20:41 ns dovecot: lmtp(31763): Conn