Re: [Javaemailserver-user] Messages rejected
Brought to you by:
edaugherty,
mfg8876
From: <jav...@li...> - 2013-08-27 15:21:25
|
Hmm, I tried that but no luck. I have tried to send it from a different domain, setting mailfromoverride, it does except, but not as expected. It receives, accepts, but never delivers to the "admin" user. Instead it tries to reply with a default message it seems…. Plus, my CPU is now constantly pegged at 98% because of the java process….. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - 172.16.66.10(172.16.66.10) socket connected via SMTP. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: EHLO ad-server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello ad-server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...> 2013-08-27 10:13:52,491 - [SMTP:5] FullTransferModeAction - Receiving mail from iiq...@sa... 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<pi...@sa...> 2013-08-27 10:13:52,491 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: pi...@sa... 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 10:13:52,491 - [SMTP:5] FullTransferModeAction - Recipient pi...@sa... accepted. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: DATA 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 354 Start mail input; end with <CRLF>.<CRLF> I am not after any security at all. I just want to be able to send from anyone to anyone at my bogus domain and receive those emails in the admin dropbox. Any more I can check? Kind regards, From: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Reply-To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Date: dinsdag 27 augustus 2013 13:41 To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Subject: Re: [Javaemailserver-user] Messages rejected Hi HRV, it is a clear cut case of authenticated session vs open relay access. sailpointdemo.com is a JES local domain. User admin is a registered user, whereas iiq-noreply is not. In the accept case, the user authenticates at the start of the session, so is allowed to send mail to any recipient. In the reject case, the non-registered user belonging to a local domain attempts to send a mail. It will fail. Masquerading as a local user is a pretty naive way of using a mail server as an open relay. I have setup access control in such a manner so that sender rejection happens after the recipients have been validated, so that it will be a bit harder for someone trying to bypass access control to figure out what's going on. In simple words, add iiq-noreply to user.conf. Alternatively, you can either allow access to individual IP addresses or range of addresses or e-mail addresses or entire domains by using the subelements IPOverride, MailFromOverride in mail/SMTP/authentication. Regards, Andreas ________________________________ To: jav...@li...<mailto:jav...@li...> Date: Tue, 27 Aug 2013 09:36:16 +0000 From: jav...@li...<mailto:jav...@li...> Subject: [Javaemailserver-user] Messages rejected Hi Andreas, I still have a few issues. One, email from outside is rejected. Outside is relative, its from a different process on the same box and from outside of the VM. A message sent by the default admin user to a non-existent user is being sent to the dropbox correctly and not rejected. Please see log details below. I do not understand why it is being rejected. Accept: 2013-08-27 04:30:58,339 - [SMTP:4] UserFile - Authenticating User: ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:30:58,339 - [SMTP:4] PlainServerMode$FinalizeAuthenticationSMTP - User ad...@sa...<mailto:ad...@sa...> logged in successfully and authorized as ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:30:58,340 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 235 Authentication successful 2013-08-27 04:30:58,342 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<ad...@sa...<mailto:ad...@sa...>> SIZE=385 2013-08-27 04:30:58,343 - [SMTP:4] FullTransferModeAction - Receiving mail from ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:30:58,344 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,345 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<no...@sa...<mailto:no...@sa...>> 2013-08-27 04:30:58,345 - [SMTP:4] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:30:58,346 - [SMTP:4] RecipientPolicyHandler - Message from domain "sailpointdemo.com" to domain "sailpointdemo.com" is ACCEPTED! 2013-08-27 04:30:58,346 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,346 - [SMTP:4] FullTransferModeAction - Recipient no...@sa...<mailto:no...@sa...> accepted. 2013-08-27 04:30:58,346 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: DATA 2013-08-27 04:30:58,347 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 354 Start mail input; end with <CRLF>.<CRLF> 2013-08-27 04:30:58,350 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,351 - [SMTP:4] TransactionControl - Message 3e9e217f accepted for delivery. 2013-08-27 04:30:58,352 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:30:58,353 - [SMTP:4] RFC5321SMTPServerSessionControl - Client [IPv6:::1] with actual address 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:55568 has QUIT the session. 2013-08-27 04:30:58,353 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 221 ESMTP server signing off 2013-08-27 04:31:04,727 - [DelS:2] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivering Message to local user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - User not found, checking for default delivery options 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivering message addressed to: no...@sa...<mailto:no...@sa...> to default user: ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] SimpleFileIOProcessor - Delivering to: admin\3e9e217f.tmp 2013-08-27 04:31:04,730 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivery complete for message 3e9e217f to: no...@sa...<mailto:no...@sa...> 2013-08-27 04:32:24,712 - [JES Status Monitor] Mail$Status - Time active: 6 minutes. Rejects: 2013-08-27 04:25:54,709 - [main] Mail - JES started successfully. 2013-08-27 04:26:19,752 - [SMTP:1] RFC5321SMTPServerSessionControl - 172.16.66.10(172.16.66.10) socket connected via SMTP. 2013-08-27 04:26:19,752 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: EHLO ad-server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello ad-server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 04:26:19,754 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 04:26:19,755 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...<mailto:iiq...@sa...>> 2013-08-27 04:26:19,755 - [SMTP:1] FullTransferModeAction - Receiving mail from iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:26:19,755 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:26:19,756 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<pi...@sa...<mailto:pi...@sa...>> 2013-08-27 04:26:19,760 - [SMTP:1] ConfigurationManagerBackend - Tried to load non-existent user: pi...@sa...<mailto:pi...@sa...> 2013-08-27 04:26:19,760 - [SMTP:1] ConfigurationManagerBackend - Tried to load non-existent user: iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:26:19,760 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 550 Requested action not taken: mailbox unavailable 2013-08-27 04:26:19,760 - [SMTP:1] TransactionControl - RCTP TO: pi...@sa...<mailto:pi...@sa...> rejected. 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: RSET 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Client ad-server with actual address 172.16.66.10/172.16.66.10:55529 has QUIT the session. 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 221 ESMTP server signing off 2013-08-27 04:26:24,714 - [JES Status Monitor] Mail$Status - Time active: 2013-08-27 04:26:24,714 - [JES Status Monitor] MailServicesControl - Active Modules: SMTPSender Deliver Standard:4/4 SMTP:5/5 POP3: 5/5 2013-08-27 04:27:23,753 - [SMTP:5] RFC5321SMTPServerSessionControl - 172.16.66.1(172.16.66.1) socket connected via SMTP. 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: EHLO HRV-MacBook-Pro-2.local 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello HRV-MacBook-Pro-2.local 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 04:27:23,756 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...<mailto:iiq...@sa...>> 2013-08-27 04:27:23,757 - [SMTP:5] FullTransferModeAction - Receiving mail from iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:27:23,757 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:27:23,758 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<tr...@sa...<mailto:tr...@sa...>> 2013-08-27 04:27:23,759 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: tr...@sa...<mailto:tr...@sa...> 2013-08-27 04:27:23,759 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:27:23,759 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 550 Requested action not taken: mailbox unavailable 2013-08-27 04:27:23,759 - [SMTP:5] TransactionControl - RCTP TO: tr...@sa...<mailto:tr...@sa...> rejected. 2013-08-27 04:27:23,760 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RSET 2013-08-27 04:27:23,760 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:27:23,761 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:27:23,761 - [SMTP:5] RFC5321SMTPServerSessionControl - Client HRV-MacBook-Pro-2.local with actual address 172.16.66.1/172.16.66.1:65114 has QUIT the session. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Javaemailserver-user mailing list Jav...@li...<mailto:Jav...@li...> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |