sendmail question

Matt Kettler mkettler at
Wed Nov 29 16:54:21 GMT 2006


Use SPF and a SPF milter.

If you private IPs in use, and have split-dns you can have your SPF records be
different when queried from the inside vs outside. That way only inside hosts
(including your mailserver) will see the SPF records containing your private IPs.

Furnish, Trever G wrote:
> I don't have a solution for you, but that would be a very useful
> feature.  I'd love to limit the domains my internal users can send from,
> to combat the problem of ignorant developers who, for example, set the
> envelope sender to an address we don't own in mail sent from web forms.
>> -----Original Message-----
>> From: mailscanner-bounces at 
>> [mailto:mailscanner-bounces at] On Behalf 
>> Of Matt Hampton
>> Sent: Wednesday, November 29, 2006 11:13 AM
>> To: MailScanner discussion
>> Subject: OT: sendmail question
>> Evening
>> Does anyone know how to configure sendmail to restrict which 
>> domains an IP can send from?
>> I.e.
>> is allowed to send email from,
>> is allowed to send email from, 
>> (I could do this in a milter but would prefer to do this in 
>> an database file like the access map)
>> regards
>> Matt
>> --
>> MailScanner mailing list
>> mailscanner at
>> Before posting, read
>> Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list