[ 
http://issues.apache.org/jira/browse/JAMES-465?page=comments#action_12373991 ] 

Stefano Bagnara commented on JAMES-465:
---------------------------------------

I changed the MailCmdHandler to lookup for a DNSServer service removing the 
dependencies from Xbill.
In the SMTPServerTest I created a mock DNSServer that only provide results when 
the host is "james.apache.org".
Please review/check my patch.

About your last comment, IMHO, 1 is included in 2. The default configuration is 
to relay mail from localhost.

> Check for valid sender domain in mail from
> ------------------------------------------
>
>          Key: JAMES-465
>          URL: http://issues.apache.org/jira/browse/JAMES-465
>      Project: James
>         Type: New Feature

>     Reporter: Norman Maurer
>     Assignee: Stefano Bagnara
>  Attachments: MailCmdHandler-Resolv-Fixed.patch, 
> MailCmdHandler-Resolv-V2.patch, MailCmdHandler-Resolv.patch, 
> SMTPServerTest-Resolv.patch, SMTPTestConfiguration-Resolv.patch, 
> james-config.xml-Resolv.patch
>
> I wrote a patch to support checking for resolvable domain in sender before 
> accept "mail from:"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to