Rejecting clients that are not valid users only

Troy McKinnon TroyMcKinnon at
Tue Jan 20 04:35:10 EST 2004

I am basically trying to configure my mail system so:

1) remote clients (cyrus mail users) can send from any location to any
location with no restrictions
2) incoming mail will be routed to local users (i.e. if it is final
destination)... from anywhere

I want my remote clients to be able to send whereever from whereever they
may be but I want to protect myself from ppl (Non users) just using my
server to send email.

While looking in my logs I noticed however that I was getting the following

NOQUEUE: reject: RCPT from unknown[]: 450 Client host
rejected: cannot find your hostname, [];
from=<troy at> to=<troy at> proto=ESMTP

I found this possible solution:

i.e. the removal of:   smtpd_client_restrictions = reject_unknown_client

I am not sure if I like that solution.  Will that basically give me what I
am looking for? I don't want my users to not receive email from someone just
because their mail servers reverse lookup was not set up correctly. I want
to make sure they get all the email sent to them.  But I only want my cyrus
users to be able to send or relay email thru my system.

What setting should I set for this?

ALSO!! :) while I am on the subject...

Is there a way to have any rejected email for any of my virtual domains, to
any user be directed to my postmaster account... if it fails to find a valid
match elsewhere?

More information about the Info-cyrus mailing list