Search found 38 matches

by Khurram
2014-08-15 22:14
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

.... But there is another problem. I forward spam emails (that have x-spam-flag set to yes) to an internal address. But the rules are triggering before the OnMessageDeliver script. I can't find anything in the COM API to trigger a specific rule. I have found this https://www.hmailserver.com/documen...
by Khurram
2014-08-15 20:47
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

oMessage.ID is longint... CStr(oMessage.ID) should make it a string... Thanks, Cstr did the trick. That was the only change I made in Shelby's script and it seems to be working in the test environment. But there is another problem. I forward spam emails (that have x-spam-flag set to yes) to an inte...
by Khurram
2014-08-14 23:19
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

I found an old script for HMS 4.x on https://www.hmailserver.com/forum/viewtopic.php?p=116560 by Shelby. I have tried to use it on my installation (which is HMS 5.x). But it fails with error message: "DEBUG" 10688 "2014-08-15 01:55:32.715" "ScriptServer::FireEvent-OnMessageDeliver" "ERROR" 10688 "20...
by Khurram
2014-08-12 08:59
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

Since I am unable to use spam settings the normal way, what are my options? I already have a rule in place to forward spam messages (which have a "[Spam]" string in the subject or have X-Spam-Flag equal to yes) to a spam address. I already have spamassassin listening on port 783; so if I can get at ...
by Khurram
2014-08-11 11:08
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

Sorry, but again that screams at me AntiVirus software on your server, or on the server where the POP3 external download is connecting to. What AntiVirus software do you have installed on the machine with hMailserver installed on it? It doesn't have to be integrated in hmailserver, it just needs to...
by Khurram
2014-08-11 09:43
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

Sorry, but again that screams at me AntiVirus software on your server, or on the server where the POP3 external download is connecting to. What AntiVirus software do you have installed on the machine with hMailserver installed on it? It doesn't have to be integrated in hmailserver, it just needs to...
by Khurram
2014-08-09 23:58
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

you could try the current development 5.5 version which is being tested at the moment. But I have to warn it is very much a development version and not yet beta. And there is no downgrade path. I'm running 5.5 without problems but I have a very small system so its no problem for me if I have proble...
by Khurram
2014-08-09 23:13
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

percepts wrote:which version of hmail are you running?
I was running hMailServer-5.4.1-B1951 till yesterday. I downloaded and installed hMailServer-5.4.2-B1964 today but it made no difference. I will report it to the link you posted. Thanks.
by Khurram
2014-08-09 22:59
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

I think Matt is correct or at least barking up the right tree. Impossible for us to be sure without seeing actual raw emails causing the problem ...... It seems you have now managed to download the mails so I would monitor how it goes from here with antispam switched on. If it happens again then us...
by Khurram
2014-08-09 09:47
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

I'd hazzard a guess that the next message (the first one NOT downloaded) is SPAM, and /or contains a virus Delete the first unread message via web mail, and then see what hMailserver external POP3 does I have already downloaded all messages indicated in the first post by turning anti-spam off. All ...
by Khurram
2014-08-09 00:23
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

The culprit seems to be the anti-spam check on the external account. If I dont have it enabled, everything is fine (except that I don't have any spam checking). If I turn it on with spam assassin, it gets stuck on the oldest email. If spam assassin is off, then it retrieves 1 (read the oldest) email...
by Khurram
2014-08-08 22:11
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

An update. If I turn off anti-spam check for the external account, it retrieves the emails ok. Time to check the anti-spam settings. I am using the settings from doom's post in the thread https://www.hmailserver.com/forum/viewtopic.php?f=12&t=15442 with a few changes (only zen and b.barracuda DNS bl...
by Khurram
2014-08-08 19:17
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

percepts wrote:I would suggest the problem is with your email client.
The client in this case is hmailserver as I am fetching emails through an external account. Thanks for your help.
by Khurram
2014-08-08 18:58
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

I have been working on this problem and would like to amend my first post. hmailserver is retrieving the oldest email only over and over again from the external account (not the latest ones). I have configured the external account settings to delete the email upon retrieval, but hmailserver does not...
by Khurram
2014-08-08 16:38
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Re: Modify last message UID for external account

They are all unread in the webmail interface. The log snippet shows that hmailserver see 146 messages but only retrieves 1 of them (the latest one). Is their no way to force hmailserver to download all messages regardless of the message read status?
by Khurram
2014-08-08 11:53
Forum: General discussions
Topic: Modify last message UID for external account
Replies: 26
Views: 4981

Modify last message UID for external account

Is it possible to change the UID/timestamp for POP3 retrieval from an external account? I need to do this as I have 146 messages in my external account but hmailserver is not retrieving the messages that are have their date in the last 2 days; it only retrieves messages from today. The log file show...
by Khurram
2012-10-03 16:40
Forum: General discussions
Topic: Failed to create COM object `hMailServer.Application':
Replies: 12
Views: 8202

Re: Failed to create COM object `hMailServer.Application':

I know its an old thread, but I fixed the same problem (Failed to create COM object `hMailServer.Application'.....) I had with php 5.4.7 on XP. So I am posting it here for others. Giving the anonymous user permissions in DCOM does not do anything because the newer PHPs don't run under that account. ...
by Khurram
2011-06-08 14:55
Forum: General discussions
Topic: How do you mark email with jpg attachments as spam
Replies: 2
Views: 736

Re: How do you mark email with jpg attachments as spam

Thanks, I have done that by a "always_add_report 1" to local.cf. It adds an X-Spam-Status header which show what it is doing. I will look at for a couple of days to see what it is doing for these "jpg emails".
by Khurram
2011-06-05 23:08
Forum: General discussions
Topic: How do you mark email with jpg attachments as spam
Replies: 2
Views: 736

How do you mark email with jpg attachments as spam

I seem to be getting quite a few emails with little or no text in the body but which contain attachment of jpgs. These emails are usually junk as they are advertising their products (car scratch remover, mosquito swatter, electronic cigarette, etc.). How can I mark such emails as spam? I am running ...
by Khurram
2011-06-02 22:07
Forum: General discussions
Topic: Change smart host name through a script
Replies: 4
Views: 1141

Re: Change smart host name through a script

Thanks for the replies guys. I'd have to look to see if there was a COM interface for that but even if there isn't you could change the sql database setting directly. Odds are you'd need to restart hmailserver server though. Something you'll have to play with. Bill I would like to do it through the ...
by Khurram
2011-06-01 15:04
Forum: General discussions
Topic: Change smart host name through a script
Replies: 4
Views: 1141

Change smart host name through a script

Is it possible to change the smart host name through a script? Thanks in advance.
by Khurram
2011-05-02 13:20
Forum: General discussions
Topic: hMailServer not fetching all emails from external account...
Replies: 4
Views: 1296

Re: hMailServer not fetching all emails from external accoun

Check logs and find why connections are failing. If email program fetches same email from POP3 server over and over again, it means that program could not close pop3 connection correctly. Capture traffic between hmailserver and remote pop3 server. Check if LIST or UIDL is used to get email ids. Cou...
by Khurram
2011-04-25 14:40
Forum: General discussions
Topic: hMailServer not fetching all emails from external account...
Replies: 4
Views: 1296

Re: hMailServer not fetching all emails from external accoun

telnet to pop3 server and check list of emails available there. telnet mail.example.org 110 +OK greeting from pop3 server user some-user-name +OK something pass some-password +OK something list .. list of emails quit ... connection closed what you can see in webmail is not same thing that you can s...
by Khurram
2011-04-25 11:43
Forum: General discussions
Topic: hMailServer not fetching all emails from external account...
Replies: 4
Views: 1296

hMailServer not fetching all emails from external account...

I have configured external accounts for my mailboxes. I have noticed that hMailServer is either not fetching all the emails from the external accounts or if it does, it does not delete them at the server. I have configured it to fetch emails from the external accounts every 5/10 mins (depending upon...
by Khurram
2011-04-07 10:08
Forum: SpamAssassin implementation discussions
Topic: Anti Spam Settings
Replies: 68
Views: 101352

Re: Anti Spam Settings

People often ask what anti spam settings I use so I have compiled a list. This list also uses SpamAssassin but also works pretty well without it enabled. These settings will not delete email marked as spam this only marks potential email where upon users can set filters in their clients or ask me t...
by Khurram
2011-04-05 19:42
Forum: Feature requests
Topic: Different retry times for smtp delivery [90%]
Replies: 42
Views: 16523

Re: Different retry times for smtp delivery

A flexible delivery/retry schedule would be a welcome feature but with an additional feature: an option to send a "warning email" after a set number of tries to indicate that the email has not yet been delivered.
by Khurram
2009-06-02 08:51
Forum: User contributed hMailServer 5 scripts
Topic: Database delivery log
Replies: 22
Views: 20376

Re: Database delivery log

I believe this script is for incoming messages only. Am I right? If so, is there a script for outgoing messages?
by Khurram
2009-06-01 20:16
Forum: General discussions
Topic: hMailServer 5.x and delivery receipts
Replies: 5
Views: 1697

Re: hMailServer 5.x and delivery receipts

Why do you need delivery receipt? Surely if the email is accepted and sent on it is delivered, after that your obligation has ended or am i not understanding what you mean by delivered? I dont know what do you mean by "obligation". I just need a confirmation email that the email has been delivered+...
by Khurram
2009-06-01 13:49
Forum: General discussions
Topic: hMailServer 5.x and delivery receipts
Replies: 5
Views: 1697

hMailServer 5.x and delivery receipts

I had posted this question way back in dec 2007 about hMailServer and "delivery receipts" (see http://www.hmailserver.com/forum/viewtopic.php?f=7&t=11081&p=59747&hilit=delivery+receipt#p59747). At that time, hMailServer version 4.x did not support "delivery receipts". Is this now possible with versi...
by Khurram
2008-01-08 03:35
Forum: General discussions
Topic: Move hMailServer setup to a new pc
Replies: 15
Views: 3593

Thanks for pointing me to the correct link.
by Khurram
2008-01-07 21:06
Forum: General discussions
Topic: Move hMailServer setup to a new pc
Replies: 15
Views: 3593

Move hMailServer setup to a new pc

I would like to move my hMailServer setup to a new pc (the setup is using the builtin MySql server). Is the following enough:

1) Backup hMailServer thru its admin utility just in case.
2) Copy the folder to the new pc and install hMailServer in this folder.

Thanks.
by Khurram
2007-12-10 16:02
Forum: General discussions
Topic: SPAM filter for POP3
Replies: 9
Views: 2324

No I dont mean the google link . The working link (I tested it before posting this and it is still working) is on page 2 in a post by GlenC: http://64.142.36.76/howtosa310.html As I said in my previous post, you dont really need to go thru the howto in the above link if you can use spamd+spamc. You ...
by Khurram
2007-12-08 14:13
Forum: General discussions
Topic: SPAM filter for POP3
Replies: 9
Views: 2324

You dont really need link 6 anymore if you use win32 binaries for spamd and spamc. If you read thru the pages, you will find an updated link in one of the posts.
by Khurram
2007-12-07 03:38
Forum: General discussions
Topic: SPAM filter for POP3
Replies: 9
Views: 2324

You use SpamAssassin to check mail coming for external accounts if you dont have high email volume. Details are at http://www.hmailserver.com/forum/viewto ... &start=180, 2nd post on this page by Shelby.
by Khurram
2007-12-06 21:00
Forum: General discussions
Topic: No delivery receipt when using outlook
Replies: 8
Views: 3397

VBscript is no problem. But I cant find any event that would be appropriate for this. The closest is OnDeliverMessage but at this stage, the delivery is not yet completed.
by Khurram
2007-12-06 07:40
Forum: General discussions
Topic: No delivery receipt when using outlook
Replies: 8
Views: 3397

Hmm, our previous server was not Exchange Server but I was still able to get delivery receipts. I hope hMailServer gets around to implementing this as an option.

In the meantime, can I use some script to accomplish this?
by Khurram
2007-12-05 19:39
Forum: General discussions
Topic: No delivery receipt when using outlook
Replies: 8
Views: 3397

Well, outlook is already configured as it was before (we were using another email server before) and I was getting delivery receipts. I have changed nothing at the client end in outlook.

Thanks.
by Khurram
2007-12-05 16:01
Forum: General discussions
Topic: No delivery receipt when using outlook
Replies: 8
Views: 3397

No delivery receipt when using outlook

I am using outlook to send email and have selected the "delivery receipt" option in outlook. But I am getting no delivery receipts. Is there some setting in hMailServer that will turn this on? hMailServer is configured to send email via my ISP SMTP server.

Thanks.