Best Way to Control Relaying?

Muhammad Nauman nauman at worldcall.net.pk
Fri Apr 20 07:04:00 IST 2007


I Have No Ip In the Access file - and i am Using SMTP Auth - with SASL.

It is that - When i do check the box in my e-mail setting to ask for 
Authentication - its works fine.

But when i uncheck the box, it still do'nt block sending - which it should 
!!!

Is there any other way - Sendmail - auto matically starts building the 
whitelist ???

Thanks and Regards,

M.Nauman Habib
Network Engineer


----- Original Message ----- 
From: "Azher Amin" <azher at niit.edu.pk>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Friday, April 20, 2007 10:25 AM
Subject: Re: Best Way to Control Relaying?


> Further you can also configure SASL to authenticate from MYSQL for 
> allowing SMTP-AUTH to everyone or not.
>
> -Azher
>
> Muhammad Nauman wrote:
>> Is there Any Other Relay Controlling Mechanism in Sendmail, which can 
>> over ride the access file ?
>>  And What if i want to Force Sendmail to Authenticate Every User Before 
>> sending any mail , once you start your OUTLOOK .
>>  Like when you Exit you outlook and then login again and then try to send 
>> a new mail - it should again ask for AUTH.
>>  Any HELP !!!
>>  # The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
>>             # package.
>>             #
>>             # by default we allow relaying from localhost...
>>             localhost.localdomain           RELAY
>>             localhost                       RELAY
>>             AUTH    : OK
>>             *       : REJECT
>>
>>             # makemap hash /etc/mail/access.db < /etc/mail/access
>>
>>             and i can clearly see the my sendmail is compiled with AUTH 
>> options - As i telnet from another machine
>>
>>             250-ENHANCEDSTATUSCODES
>>             250-PIPELINING
>>             250-8BITMIME
>>             250-SIZE 15000000
>>             250-AUTH LOGIN PLAIN
>>             250-DELIVERBY
>>             250 HELP
>>
>>             Its still Not blocking the mail

>>
>>             I m Really Worried Beacause Even When i Empty my Access file 
>> and then Makemap hasth Access.db file it still allows mail as :
>>
>>             >telnet 192.168.1.9 25
>>
>>             220  ESMTP
>>             ehlo qmail
>>             250-worldcall.net.pk Hello noc.worldcall.net.pk [203.81.1] 
>> you
>>             250-ENHANCEDSTATUSCODES
>>             250-PIPELINING
>>             250-8BITMIME
>>             250-SIZE 25000000
>>             250-AUTH LOGIN PLAIN
>>             250-DELIVERBY
>>             250 HELP
>>             mail from:anyone at what.com
>>             250 2.1.0 anyone at what.com <mailto:anyone at what.com>... Sender 
>> ok
>>             rcpt to:all at all.com
>>             250 2.1.5 all at all.com <mailto:all at all.com>... Recipient ok
>>             data
>>
>>             354 Enter mail, end with "." on a line by itself
>>             .
>>
>>             354 Enter mail, end with "." on a line by itself
>>             250 2.0.0 l3JFQaWT004671 Message accepted for delivery
>>
>>             Please HELP !!
>>



More information about the MailScanner mailing list