9 messages in net.sourceforge.lists.courier-usersRe: [courier-users] user unknown problem
FromSent OnAttachments
Anton BasistovNov 11, 2005 6:45 am 
Jeff JansenNov 11, 2005 7:14 am 
Anton BasistovNov 16, 2005 3:44 am 
Jeff JansenNov 16, 2005 5:36 am 
Anton BasistovNov 16, 2005 7:21 am 
Jeff JansenNov 16, 2005 9:05 am 
Jay LeeNov 16, 2005 9:15 am 
Gordon MessmerNov 16, 2005 9:51 am 
Anton BasistovNov 17, 2005 2:25 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] user unknown problemActions...
From:Jeff Jansen (ivb_@sil.org)
Date:Nov 16, 2005 9:05:01 am
List:net.sourceforge.lists.courier-users

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Anton Basistov wrote:

I mean such address: none@phys.msu.ru, and phys.msu.ru - is local domain of my server. How can I configure Courier to accept such messages?

Create the file .courier-default in your courier aliasdir directory (usually /etc/courier/aliasdir or /usr/lib/courier/etc/aliasdir) and then put the following line in it:

| echo "User $RECIPIENT is unknown"; exit 77

Now any mail to non-existent users of domains on your server will be accepted initially but then rejected with the message "User <recipient's email address> is unknown" and a delivery failure notice sent back to the sender.

Again, if this machine is connected to the internet then you risk begin seriously spammed.

HTH

iD8DBQFDe2aoZxtYeNk78A8RAgiUAJ9mlngxtq1zOUE47ZpDbgq+HHXaeACfXF0v CnLdIeJbQA8KgKKSsBsrzxg= =eaAE -----END PGP SIGNATURE-----