Re: Configure sendmail to reject mail for unknown users?



On Mon, 2006-03-13 at 18:10, Timothy Alberts wrote:

It should always reject email to invalid users. Is this a
separate machine configured as an internet relay that
doesn't have the actual accounts? If so, you might set
up the valid users in the virtusers table with explict
forwarding if there aren't too many instead of blindly
forwarding for the domain. A nicer approach is to install
MimeDefang which has an option to check recipients via smtp
on the final destination host before accepting on the relay.
And it can do whatever virus and spam checks you might want, too:
http://www.mimedefang.org/


There's only one server, there's only one domain, it has all the
accounts on it and no I'm not using the virtusers (should I be?).

If the server isn't set up to relay to a hub machine or
forward via mailertable, then it should automatically
reject any address that is not a local account. Maybe
you have PostmasterCopy enabled. Look in sendmail.cf
to be sure that
#O PostmasterCopy=Postmaster
has the leading # to comment it out. I've forgotten the
sendmail.mc invocation that would enable it but these
days you probably don't want it on.

Virtusers is mostly useful if you forward or accept for more
than one domain or wish to appear to.

--
Les Mikesell
lesmikesell@xxxxxxxxx


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: MS Exchange Relay Authentication
    ... Make sure you are logging Exchange SMTP interface events. ... Relay restrictions are set to "allow all computers ... > eventlog errors to track down the compromised accounts. ...
    (NT-Bugtraq)
  • MailMessage() and relay
    ... I have been at odds with our network guy over an application that is designed ... to send alert emails to accounts outside of our domain to users. ... account outside of our domain server gets rejected by the SMTP. ... 550 5.7.1 Unable to relay for myaddress@xxxxxxxxxxxxxxx ...
    (microsoft.public.dotnet.general)
  • Re: Using Sendmail/MailScanner to filter e-mail for Exchange.
    ... I do not see how the OP will be able to have local accounts in a given domain AND remote accounts in the same domain. ... With out going in to something like LDAP routing the only way that I know of to have both local and remote accounts in the same domain is to have all of them be local and then forward the desired ones on to the other domain / system. ... by a relay, and it doesn't care about individual users. ... ANY outbound message, relayed or locally originated, will cause Sendmail to consult the MailerTable to identify which Mailer to use. ...
    (comp.mail.sendmail)
  • Re: Recipient address rejected: Relay access denied
    ... Access denied for a relay attempt is normally a server setting rather than a ... setting in the Outlook client. ... says "Allow any authenticated user to relay" - or something to that effect ... I've been into Tools> Email Accounts> View or change existing e-mail ...
    (microsoft.public.outlook)