Mailscanner Gateway does not reject unknown users (more of asendmail question, I think) (Ken A)

Ken A ka at pacific.net
Fri Jul 20 22:23:28 IST 2007


Kevin Miller wrote:
> I've never used local-host-names (unless you mean /etc/hosts) but I do
> have entries in relay-domains to/for which I'll relay mail.  Try adding
> your internal domains there...

or in access:

To:domain.tld    RELAY

Both should get things going. And if you don't already have a way to 
check for valid users, then use smf-sav or milter-ahead, unless you want 
to list them ALL in your access list.
Ken

>  
> 
> ...Kevin
> --
> Kevin Miller                Registered Linux User No: 307357
> CBJ MIS Dept.               Network Systems Admin., Mail Admin.
> 155 South Seward Street     ph: (907) 586-0242
> Juneau, Alaska 99801        fax: (907 586-4500
>   
> 
>  
> 
> ________________________________
> 
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Jeff
> Ramsey
> Sent: Friday, July 20, 2007 12:41 PM
> To: mailscanner at lists.mailscanner.info
> Subject: Re: Mailscanner Gateway does not reject unknown users (more of
> asendmail question, I think) (Ken A)
> 
> 
> 
> 
> On Jul 20, 2007, at 11:08 AM, mailscanner-request at lists.mailscanner.info
> wrote:
> 
> 
> 
> 	Jeff Ramsey wrote:
> 
> 		I have read a few places on the net that claim this has
> been well 
> 		covered, but I cannot seem to find a configuration that
> works.
> 
> 		It either forwards all nonspam email on to my internal
> sendmail server, 
> 		or it rejects the unknown user messages but then does
> not relay any 
> 		email onto the internal email server.
> 
> 		If I list my domains in local-host-names, it does not
> relay any more 
> 		email for those domains, period. If I don't list the
> domains there, it 
> 		does not check incoming mail for a valid email address.
> 
> 		Can anyone point me in the right direction?
> 
> 
> 	mailertable
> 
> 	domain.tld    esmtp:[mailhub.otherdomain.tld]
> 
> 	Ken
> 
> 
> 
> I checked, and my mailertable is already populated just like you
> suggest. Here is a copy of my mailertable:
> 
> tubafor.com             esmtp:[imap.tubafor.com]
> imap.tubafor.com        esmtp:[imap.tubafor.com]
> smtpgw.tubafor.com      esmtp:[imap.tubafor.com]
> tmiforestproducts.com   esmtp:[imap.tubafor.com]
> tmiforestproducts.net   esmtp:[imap.tubafor.com]
> tmiforestproducts.org   esmtp:[imap.tubafor.com]
> tmiforestproducts.info  esmtp:[imap.tubafor.com]
> tmiforestproducts.biz   esmtp:[imap.tubafor.com]
> 
> --- END /etc/mail/mailertable ---
> 
> 
> So I must have something else not set correctly. Just to clarify, should
> I have my local-host-names populated as well as mailertable, or just
> mailertable? I'll check out all other sendmail files and see if I can
> come up with anything. Most Internet forums suggest to put each email
> address in the access file with a RELAY status. I hope this is not the
> only way to accomplish this task. I'd have about a thousand to enter.
> 
> Thanks for the help.
> 
> Jeff Ramsey
> MIS Administrator
> TMI Forest Products, Inc.
> jefframsey at tubafor.com
> 360.477.0738
> 
> 
> 
> 
> 
> 


-- 
Ken Anderson
Pacific.Net


More information about the MailScanner mailing list