[EMAIL PROTECTED] wrote:
- I want JAMES to relay mails from my network's private IP addresses.
Fine. Set that subnet as authorized.
Done
- I want JAMES to relay mails for SMTP authenticated users from everywhere.
Turn on authorization.
Done
- I also want JAMES to automatically add an S/MIME signature for SMTP authenticated users, from anywhere.
Use the signing mailet before doing remote delivery.
The matcher "SMTPAuthUserIs" cannot be used when my client is from the authorized subnet because the client cannot use SMTP auth because James don't provide "AUTH LOGIN" extension to "authorized" subnets... Probably I'm missing something in your answers...
I don't need only "relaying authorization": I also need Authentication and declaring a subnet as "authorized" disable the authentication mechanism.
Stefano
Stefano,
if I understand correctly, you want SMTPHandler to *always* send AUTH LOGIN, and then behave as always for allowing/disallowing relaying.
This way, if the sender MUA (or MTA) authenticates, our James server is able to SMIMESign the message because the sender user is known, independently of being or not in an authorized subnet and from becoming authorized to relay or not.
Such behaviour can be attained just changing four "if (authRequired) {...}" statements to
"if (true) {...}" in
SMTPServer.doHelo(String) and SMTPServer.doEhlo(String).Does anybody know if doing this simple change would create any problem? Should we make this behaviour optional?
Vincenzo
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
