<authorizedAddresses>

127.0.0.0/8, 220.227.165.246/8,192.168.102.17/8,59.144.163.82/8

</authorizedAddresses>

 

Uncommenting authorizedAddresses as given would mean that I am allowing some
addresses to relay without Authentication. But I need to set authentication
for all IP address from where the server is used to send mails. I should not
allow any IP address to use SMTP port to send mails without authentication
(neither internal nor external). 

 

Comment about <authorizedAddresses> is given as:

 

"If you use SMTP AUTH, addresses that match those specified here will be
permitted to relay without SMTP AUTH."

 

This is the behavior that I am getting if I leave <authorizedAddresses> tag
empty and SMTP AUTH enabled:

 

 

>From internal network (192.168.*):

 

User is asked to authenticate before sending mails. After proper
authentication, user is allowed to send mails.

 

Traces Printed on system console:

 

VALUE OF PARAMETER command is AUTH LOGIN

argument carried forward = LOGIN

doLoginAuth method would be called now.

value of variable "argument" is LOGIN

initialResponse is passed in doLoginAuth method call.

initialResponse = null

next statement - doLoginAuth(initialResponse)

 

 

 

>From External network (any External IP addresses):

 

User when trying to send mails, is asked to authenticate and is not
successful. User is getting System Administrator notification with error
code of 530 - Authentication Required.

 

 

The log messages I am printing to console are as follows:

 

VALUE OF PARAMETER command is XXXX notebook

VALUE OF PARAMETER command is HELO notebook

VALUE OF PARAMETER command is MAIL FROM: <[EMAIL PROTECTED]>

user value in mailAddress method : mailUser

user value in mailAddress method : mailserver.net

VALUE OF PARAMETER command is RCPT TO: <[EMAIL PROTECTED]>

####################### have fun in doRCPT
#################################TO: <[EMAIL PROTECTED]>

user value in mailAddress method : mailUser

user value in mailAddress method : mailserver.net

VALUE OF PARAMETER command is QUIT

 

 

Regards,

Gaurav Handa

 

 

 

-----Original Message-----
From: BJ [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 10, 2005 10:59 PM
To: James Users List
Subject: Re: 530 - Authentication Required

 

looks like you have the addresses commented out.

should be

 

  < authorizedAddresses>

127.0.0.0/8, 220.227.165.246/8,192.168.102.17/8,59.144.163.82/8

</authorizedAddresses>

Reply via email to