A
A
Alexey2013-06-20 09:46:06
System administration
Alexey, 2013-06-20 09:46:06

Postfix+Amavisd-new: "User unknown" or how not to skip emails with non-existent recipients

Good day!
Actually, letters come with a non-existent recipient address and an invalid return address :)
If we send an error message, then as a result we produce spam. the recipient is invalid ... Tell me

, how in the Postfix + Amavisd-new bundle:
1. Disable sending “User unknown” messages
2. Do not accept the message at all if at least one recipient is not on the server

Answer the question

In order to leave comments, you need to log in

6 answer(s)
T
Timofey, 2013-06-21
@capt_Rimmer

You can wrap all such mail in a separate mailbox using luser_relay and then sort it manually. But this is the treatment of appendicitis with aspirin.
In my mind, it is necessary to deal with the relay. There are two options here:

  1. use the blacklist_recipients sendmail feature , thus feeding all existing users;
  2. tear down sendmail, and install something like postfix with functionality similar to reject_unverified_recipient .

T
Timofey, 2013-06-20
@timothyz

Postfix Address Verification Howto

M
merlin-vrn, 2013-06-20
@merlin-vrn

Sorry, have you read www.postfix.org/BACKSCATTER_README.html ? What exactly was done according to this documentation and what did not work?

A
Alexey, 2013-06-20
@capt_Rimmer

Yes, I read. I didn’t see a user check there, maybe I’m looking badly?

A
Alexey, 2013-06-20
@capt_Rimmer

Everything is not right - the failure to transfer from the relay to the server goes to the relay, and the relay tries to send it to a non-existent user, for example, to yandex, and Yandex is also not a fool and refuses non-existent accounts.
I can at least re-read a ton of documents, you just drop the links.
Threat Thanks to knowledgeable comrades for the minus;)

B
Busla, 2013-06-21
@Busla

If the return address is invalid, the letter will not be sent anywhere.
If valid, then some secretary receives a notification that she mistyped the address.
What is wrong? And why are we "spreading spam"?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question