[Javaemailserver-user] message relaying - elaboration
Brought to you by:
edaugherty,
mfg8876
|
From: <jav...@li...> - 2011-08-23 14:32:42
|
Hi Andreas, Thanks for your feedback on my previous questions. Here follows a more elaborate record of the relaying issue. >> >> 3) Mail to other (non local) domains gets relayed, even with relay.ipaddresses disabled (see setting) >> >> How can i prevent relaying ? >> >>>> Could you plz elaborate a bit more? The "relay" entries in mail.conf concern exclusively >>>> the recipient list of incoming messages and are only >> taken into account should the >>>> connecting sender not have authenticated during the active session. >> In our JES test mail.conf setup the domains 'agfa.com', 'agfahealthcare.com' are not local domains. Only 'eps.agfa.be'is local E.g. I want to prevent relaying any mail destined for '@agfa.com' A mail , sent by user 'ra...@ep...' to 'rap...@ag...' however is relayed successfully. Given the fact that (AFAIK) i've not enable relaying anywhere in mail.conf, i wasn't expecting this message to be relayed. However, the JES log shows that it was relayed via server 'morswhv64.agfahealthcare.com'. Even using the global 'block=agfa.com' feature in the rcptPolicy.conf file did not prevent relaying mail to the 'agfa.com' addresses. At which mail.conf setting should i be looking to prevent relaying ? Thx, Raf +++++++++++++++++ jes .log +++++++++++++++++++ 2011-08-03 15:09:57,937 - [SMTP:5] PlainServerMode$FinalizeAuthenticationSMTP - User: ra...@ep... logged in successfully. 2011-08-03 15:09:57,937 - [SMTP:5] SMTPProcessor - Writing Output: 235 Authentication Successful 2011-08-03 15:09:57,937 - [SMTP:5] SMTPProcessor - Read Input: MAIL FROM:<ra...@ep...> 2011-08-03 15:09:57,937 - [SMTP:5] SMTPProcessor$FullTransferMode - MAIL FROM: ra...@ep... 2011-08-03 15:09:57,937 - [SMTP:5] SMTPProcessor - Writing Output: 250 OK 2011-08-03 15:09:57,953 - [SMTP:5] SMTPProcessor - Read Input: RCPT TO:<rap...@ag...> 2011-08-03 15:09:57,953 - [SMTP:5] ConfigurationManager - Tried to load non-existent user: rap...@ag... 2011-08-03 15:09:57,953 - [SMTP:5] SMTPProcessor - Writing Output: 250 OK 2011-08-03 15:09:57,953 - [SMTP:5] SMTPProcessor - Message from domain eps.agfa.be to Domain agfa.com is ACCEPTED! 2011-08-03 15:09:57,953 - [SMTP:5] SMTPProcessor$FullTransferMode - RCTP TO: rap...@ag... accepted. 2011-08-03 15:09:57,953 - [SMTP:5] SMTPProcessor - Read Input: DATA 2011-08-03 15:09:57,953 - [SMTP:5] SMTPProcessor - Writing Output: 354 Start mail input; end with <CRLF>.<CRLF> 2011-08-03 15:09:57,984 - [SMTP:5] SMTPProcessor - Writing Output: 250 OK 2011-08-03 15:09:57,984 - [SMTP:5] SMTPProcessor - Message 688d9005 accepted for delivery. 2011-08-03 15:10:04,531 - [SMTPSender] IncrementalFileIOProccessor - Loading SMTP Message smtp688d9005.ser version 1.0 2011-08-03 15:10:04,531 - [Deliver Standard 2] SMTPSenderStandard$StandardDeliver - Delivering Message to remote domain: agfa.com 2011-08-03 15:10:04,562 - [Deliver Standard 2] SMTPRemoteSender - Read Input: 220 morswhv64.agfahealthcare.com ESMTP Service (Lotus Domino Release 8.5.2FP2 HF380) ready at Wed, 3 Aug 2011 15:10:04 +0200 2011-08-03 15:10:04,562 - [Deliver Standard 2] SMTPRemoteSender - Writing: EHLO eps.agfa.be 2011-08-03 15:10:04,562 - [Deliver Standard 2] SMTPRemoteSender - Read Input: 250-morswhv64.agfahealthcare.com Hello eps.agfa.be ([10.232.50.144]), pleased to meet you 2011-08-03 15:10:04,562 - [Deliver Standard 2] SMTPRemoteSender - Read Input: 250-SIZE 2011-08-03 15:10:04,562 - [Deliver Standard 2] SMTPRemoteSender - Read Input: 250-8BITMIME 2011-08-03 15:10:04,578 - [Deliver Standard 2] SMTPRemoteSender - Read Input: 250 PIPELINING 2011-08-03 15:10:04,578 - [Deliver Standard 2] SMTPRemoteSender - Writing: MAIL FROM:<ra...@ep...> SIZE=716 2011-08-03 15:10:04,578 - [Deliver Standard 2] SMTPRemoteSender - Read Input: 250 ra...@ep...... Sender OK 2011-08-03 15:10:04,578 - [Deliver Standard 2] SMTPRemoteSender - Writing: RCPT TO:<rap...@ag...> 2011-08-03 15:10:04,578 - [Deliver Standard 2] SMTPRemoteSender - Read Input: 250 rap...@ag...... Recipient OK 2011-08-03 15:10:04,578 - [Deliver Standard 2] SMTPRemoteSender - Writing: DATA 2011-08-03 15:10:04,578 - [Deliver Standard 2] SMTPRemoteSender - Read Input: 354 Enter message, end with "." on a line by itself 2011-08-03 15:10:04,718 - [Deliver Standard 2] SMTPRemoteSender - Read Input: 250 Message accepted for delivery 2011-08-03 15:10:04,718 - [Deliver Standard 2] SMTPRemoteSender - Writing: QUIT 2011-08-03 15:10:04,718 - [Deliver Standard 2] SMTPRemoteSender - Read Input: 221 morswhv64.agfahealthcare.com SMTP Service closing transmission channel 2011-08-03 15:10:04,718 - [Deliver Standard 2] SMTPRemoteSender - Session has ended 2011-08-03 15:10:04,718 - [Deliver Standard 2] SMTPSenderStandard$StandardDeliver - Delivery complete for message 688d9005 to recipient(s) at domain: agfa.com +++++++++++++++++++++++++++++++++++++ |