Re: Stopping sendmail from relaying mail for user%somedomain.com@xxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Santosh Narayanan wrote:

> I use sendmail 8.11.6 on a Redhat Linux system (kernel 2.4.20). I find that
> even with relay checking enabled, sendmail is relaying email for addresses
> which are formatted as follows,
> 
> To: user%somedomain.com@mydomain.com
> 
> where "mydomain.com" is my local host name.
> 
> If someone were to try relaying email to user@somedomain.com - it is
> rejected as per my relaying rules. But if someone uses the "%" technique it
> passes through the relaying rules and gets relayed anyway.
> 
> I would appreciate any help I could get in preventing sendmail from doing
> this (perhaps even by completely stop accepting "%" in the recipient
> field?).

Was your sendmail.cf built with FEATURE(loose_relay_check)?

	loose_relay_check
		Normally, if % addressing is used for a recipient, e.g.
		user%site@othersite, and othersite is in class {R}, the
		check_rcpt ruleset will strip @othersite and recheck
		user@site for relaying.  This feature changes that
		behavior.  It should not be needed for most installations.

-- 
Glynn Clements <glynn.clements@virgin.net>
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux