No remaining recipients

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
agatha
Normal user
Normal user
Posts: 49
Joined: 2015-10-30 11:13

No remaining recipients

Post by agatha » 2016-10-27 09:10

Hello,

I need some hint where I have to look for this issue:

Sometimes - about once a week - the following error occurs:

"ERROR" 4904 "2016-10-25 08:17:05.777" "Severity: 3 (Medium), Code: HM5007, Source: SMTPDeliverer::DeliverMessage(), Description: Message 781666 could not be delivered. No remaining recipients. File: D:\hMailServer\Data\{CF941051-DAFB-41D0-B83F-1387D4C5EDE1}.eml"

Is this just a normal behaviour, that sometimes happens or should I investigate it? I am not sure, what "No remaining recipients" should tell me. Why is this an error - in my opinion, when an e-mail is delivered to all the recipients, everything is done. There should be no need for an error message?

Thanks
Agatha

User avatar
jimimaseye
Moderator
Moderator
Posts: 8707
Joined: 2011-09-08 17:48

Re: No remaining recipients

Post by jimimaseye » 2016-10-27 09:17

This is likely due to a script that you have implemented. What scripts and rules have you implemented?
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

agatha
Normal user
Normal user
Posts: 49
Joined: 2015-10-30 11:13

Re: No remaining recipients

Post by agatha » 2016-10-27 10:00

No scipts but indeed some forwarding rules.

The problem is, that it happens so unfrequently. 10000 Mails are processed without this error.

I tried to find the mentioned file within the data file system but (of course it is a sended message) it does not appear. So I do not know, which rule might be affected.

Edit: Within the Logfile, the message number appeares only once with the mentioned error.
"APPLICATION" 4408 "2016-10-25 08:17:05.743" "SMTPDeliverer - Message 781665: Delivering message from *************** to *****************. File: D:\hMailServer\Data\{0906CA28-D253-4A40-8BD8-1A1C5E401287}.eml"
"ERROR" 4904 "2016-10-25 08:17:05.777" "Severity: 3 (Medium), Code: HM5007, Source: SMTPDeliverer::DeliverMessage(), Description: Message 781666 could not be delivered. No remaining recipients. File: D:\hMailServer\Data\{CF941051-DAFB-41D0-B83F-1387D4C5EDE1}.eml"
"APPLICATION" 4408 "2016-10-25 08:17:05.875" "SMTPDeliverer - Message 781665: Message delivery thread completed."

User avatar
jimimaseye
Moderator
Moderator
Posts: 8707
Joined: 2011-09-08 17:48

Re: No remaining recipients

Post by jimimaseye » 2016-10-27 10:16

do you have SMTP logging enabled?

do you collect emails via POP3 External Download?
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
mattg
Moderator
Moderator
Posts: 21025
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: No remaining recipients

Post by mattg » 2016-10-27 10:27

What criteria do you use for forwarding rules
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

agatha
Normal user
Normal user
Posts: 49
Joined: 2015-10-30 11:13

Re: No remaining recipients

Post by agatha » 2016-10-27 15:01

No SMPT logging yet. But I already activated it for the next time.

And yes, I download mails via POP3 froman external server.

The forwarding rules are like:
From -> Not contains [mail address to which is forwarded] -> Forward email

User avatar
jimimaseye
Moderator
Moderator
Posts: 8707
Joined: 2011-09-08 17:48

Re: No remaining recipients

Post by jimimaseye » 2016-10-27 15:19

agatha wrote: And yes, I download mails via POP3 froman external server.
Thought so. I suspect this is the problem. It is an email downloaded but without a valid recipient (probably a spam message). If you have access to the original receiving server then maybe you could look in to that to see what that message was to confirm.

Personally, I wouldnt worry about it.
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

agatha
Normal user
Normal user
Posts: 49
Joined: 2015-10-30 11:13

Re: No remaining recipients

Post by agatha » 2016-10-27 16:28

As it is a very rare error, I am not worry. I just do not like unsolved problems ...

But thanks for the hints.

If I find something out, I will tell. Maybe logging SMTP and POP3 will help.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8707
Joined: 2011-09-08 17:48

Re: No remaining recipients

Post by jimimaseye » 2016-10-27 16:34

I also download from External server (retaining copies on that server for 30 days - a double security backup). And that initial server has access via a webmail system so I could just use that to view the original inbound email (prior to HMS picking it up). Perhaps you have a similar option.
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

agatha
Normal user
Normal user
Posts: 49
Joined: 2015-10-30 11:13

Re: No remaining recipients

Post by agatha » 2016-10-27 17:42

Perhaps you have a similar option.
Hm, not really. There is not only a catch all account on the remote server but above this several accounts that are downloaded. And within the hmail logs, I only have an ID (and of course a time stamp) to identify the relevant mail. I can not see, how I could find the matching mail on the remote system. There is no information regarding the account.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8707
Joined: 2011-09-08 17:48

Re: No remaining recipients

Post by jimimaseye » 2016-10-27 17:54

Fair ebough. Yes, very tricky (nigh on impossible). Not worth logging POP for this - this will just FILL up your logs with meaningless stuff. Just enable SMTP and APPLICATION (if you use smtp).
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

agatha
Normal user
Normal user
Posts: 49
Joined: 2015-10-30 11:13

Re: No remaining recipients

Post by agatha » 2016-10-28 08:51

OK, SMTP only. Thank you.

Post Reply