Search found 343 matches

by LesD
2013-10-10 07:30
Forum: General discussions
Topic: Attachment removal (zip) failed
Replies: 35
Views: 11253

Re: Attachment removal (zip) failed

Was filename suffix zip in lower or upper or mixed case and was it the same case as you specified in block attachments? All text was lower case - both in the message and in hMS. I haven't yet studied you code but it has triggered a thought. I would ideally like to actually reject the email rather t...
by LesD
2013-10-09 21:36
Forum: General discussions
Topic: Attachment removal (zip) failed
Replies: 35
Views: 11253

Re: Attachment removal (zip) failed

I received some 9 minutes ago an email notification of a new post (3 minutes after my last post) but I cannot see any further post.

The header shows the send time as <Date: Wed, 09 Oct 2013 21:26:15 +0200>
by LesD
2013-10-09 21:23
Forum: General discussions
Topic: Attachment removal (zip) failed
Replies: 35
Views: 11253

Re: Attachment removal (zip) failed

Perhaps you should think about using some AV software. MS Security Essentials is easy to install. The server where the emails are saved by hMS does a good job but lately most of these zipped viruses have been zero-day types which then take up to three days to be reliably detected. I have been using...
by LesD
2013-10-09 21:11
Forum: General discussions
Topic: Attachment removal (zip) failed
Replies: 35
Views: 11253

Re: Attachment removal (zip) failed

Yes my post was intended to indicate a possible problem with hMS. hMS clearly detected the zip file as evidenced by it adding a new attachment of its own stating: --__=_Part_Boundary_006_008974.006987 Content-Disposition: inline; filename="INVOICE-9837461039847 pdf.zip.txt" The attachment INVOICE-98...
by LesD
2013-10-09 19:25
Forum: General discussions
Topic: Attachment removal (zip) failed
Replies: 35
Views: 11253

Re: Attachment removal (zip) failed

AV is set to 200 MB AS is 1024 KB I am not using AS or AV settings, except for Block Attachments on the AV page. The total email is 56.6 KB so the zip attachment is probably about 50 KB Since then I have had 20-30 of such emails and this is the only example where it has gone wrong. I have kept the e...
by LesD
2013-10-08 13:51
Forum: General discussions
Topic: Attachment removal (zip) failed
Replies: 35
Views: 11253

Attachment removal (zip) failed

A few days ago I set hMS to remove zip file attachments to deal with the recent flood of virus exe files. It has been doing this fine and replacing it with its own txt attachment. Today I noticed a larger email arriving in my spam folder and I found that it had the hMS txt attachment tagged on the e...
by LesD
2013-08-18 21:59
Forum: General discussions
Topic: WebMail in separate VM?
Replies: 23
Views: 8355

Re: WebMail in separate VM?

# AddDefaultCharset UTF-8 AddType text/x-component .htc <IfModule mod_php5.c> php_flag display_errors Off php_flag log_errors On # php_value error_log logs/errors php_value upload_max_filesize 5M php_value post_max_size 6M php_value memory_limit 64M php_flag zlib.output_compression Off php_flag mag...
by LesD
2013-08-18 00:50
Forum: General discussions
Topic: WebMail in separate VM?
Replies: 23
Views: 8355

Re: WebMail in separate VM?

Checked the httpd error_log and it shows [Sun Aug 18 01:36:26 2013] [error] [client 82.80.53.34] (13)Permission denied: access to /roundcubemail/ denied [Sun Aug 18 01:36:27 2013] [error] [client 82.80.53.34] File does not exist: /var/www/html/favicon.ico Restarting httpd service generated [Sun Aug ...
by LesD
2013-08-18 00:27
Forum: General discussions
Topic: WebMail in separate VM?
Replies: 23
Views: 8355

Re: WebMail in separate VM?

I have added <Directory "/var/www/html/roundcubemail"> Options -Indexes +SymlinksIfOwnerMatch ExecCGI AllowOverride All Order deny,allow Allow from all </Directory> into httpd.conf I have run <chmod -R 777 /var/www/html/roundcubemail> I have added a dummy index.html into the roundcubemail folder for...
by LesD
2013-08-13 20:51
Forum: General discussions
Topic: WebMail in separate VM?
Replies: 23
Views: 8355

Re: WebMail in separate VM?

Enabled public access but on port 5080 <http://www.dessergroup.com:5080/> works and shows the info.php I created. Below that is the roundcubemail folder but it does not show - presumably due to lack of permission. <http://www.dessergroup.com:5080/roundcubemail/setup/> gives the same error as using p...
by LesD
2013-08-13 19:53
Forum: General discussions
Topic: WebMail in separate VM?
Replies: 23
Views: 8355

Re: WebMail in separate VM?

just use the apache/conf/httpd.conf file. Setup everything using your public domain name. i.e. servername=www.mydomain.com and run your roundcube installation from http://www.mydomain.com/roundcubemail/installer......... I do not currently have a servername= entry. For testing I will be using my lo...
by LesD
2013-08-13 19:02
Forum: General discussions
Topic: WebMail in separate VM?
Replies: 23
Views: 8355

Re: WebMail in separate VM?

Looks like there is more to setting up a web server than I thought/hoped. I do remember during the setup making a config change so that Apache would run for any IP. I think I just specified port 80 without any IP. As to your other comments, at the moment they do not mean much to me. I will do some m...
by LesD
2013-08-13 17:28
Forum: General discussions
Topic: WebMail in separate VM?
Replies: 23
Views: 8355

Re: WebMail in separate VM?

I am using the instructions at http://lintut.com/install-roundcube-webmail-software-on-centos-rhel-fedora/ to install RoundCube. I have executed the following so far: wget http://sourceforge.net/projects/roundcubemail/files/roundcubemail/0.9.3/roundcubemail-0.9.3.tar.gz/download tar zxvf roundcubema...
by LesD
2013-08-13 08:18
Forum: General discussions
Topic: WebMail in separate VM?
Replies: 23
Views: 8355

Re: WebMail in separate VM?

Thank you. I have managed to install CentOs in a VirtualBox VM together with LAMP applications and Webmin. For anyone else doing the same I would point out the following. VirtualBox defaults to 512 MB for CentOS. This then results in CentOS flashing up a brief message that there is not enough memory...
by LesD
2013-08-11 21:33
Forum: General discussions
Topic: WebMail in separate VM?
Replies: 23
Views: 8355

Re: WebMail in separate VM?

Thank you. Downloading now ...
by LesD
2013-08-11 21:06
Forum: General discussions
Topic: WebMail in separate VM?
Replies: 23
Views: 8355

WebMail in separate VM?

I have been running hMS (5.4-B1950) for many years in a VirtualBox VM (Windows XP) and it runs very well. I would now like to implement WebMail (Roundcube?) using a separate VM. I do not have a web server installed on any of my machines and I do not really want to mess them up with implementing a Wi...
by LesD
2013-08-05 08:38
Forum: General discussions
Topic: Rules
Replies: 3
Views: 1176

Re: Rules

I second mattg's suggestion for greylisting. While I would not put it as high as 99% it does get rid of a very substantial proportion. Unfortunately, more and more spammers are becoming immune to greylisting but it is still a simple and effective tool. I use ASSP as a front-end to hMS and that is ve...
by LesD
2013-08-01 21:26
Forum: General discussions
Topic: Can't collect mail with iPhone. Sends ok.
Replies: 19
Views: 5504

Re: Can't collect mail with iPhone. Sends ok.

For the benefit of others, could you explain your last two posts. What was the problem and what was the solution?
by LesD
2013-07-23 08:12
Forum: General discussions
Topic: Behaviour of Backup server
Replies: 2
Views: 1152

Re: Behaviour of Backup server

Some spammers try to use backup MX as a backdoor, as a work around some mail admin do stuff like mx 10 Mainserver.domain.com mx 20 Backupserver.domain.com mx 30 mainserver.domain.com I actually do that. It helps I suppose but spam is getting more robust. Greylisting used to kill most but I now see ...
by LesD
2013-07-22 21:58
Forum: General discussions
Topic: Behaviour of Backup server
Replies: 2
Views: 1152

Behaviour of Backup server

I am using an other site running hMS as my backup MX in case my system is down. There I have defined a Route entry for each of my domains pointing to my server. Both servers have ASSP as the front end doing all the spam checking so that hMS does not do any. We try and keep the list of valid users up...
by LesD
2013-07-21 12:44
Forum: General discussions
Topic: Spammer authenticates successfully
Replies: 10
Views: 2003

Re: Spammer authenticates successfully

mattg wrote:For future reference Dooms wonderful log analyser does this Base 64 decoding on the fly - http://log.damnation.org.uk/
Thank you - first time I have come across it. The way it consolidates sessions is very useful.
by LesD
2013-07-20 22:54
Forum: General discussions
Topic: Spammer authenticates successfully
Replies: 10
Views: 2003

Re: Spammer authenticates successfully

@LesD: I've checked the corresponding function with authentication, so that shouldn't be the problem. I was thinking to remove the tick till you sorted the problem - assuming that having external authentication may not be that critical for you. I have also wondered why the log does not show the acc...
by LesD
2013-07-20 22:14
Forum: General discussions
Topic: Spammer authenticates successfully
Replies: 10
Views: 2003

Re: Spammer authenticates successfully

What are your settings for Settings > Advanced > IP Ranges > Internet?

Remove the tick allowing delivery from external to external.
by LesD
2012-12-25 00:37
Forum: General discussions
Topic: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)
Replies: 15
Views: 11832

Re: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)

Yes I do have full logging on, even Debug, though I cut out the debug logs from the post. I agree that the rejection of the connection is correct. I am just trying to understand what is actually going on by reading the logs. My understanding of the logs is that ASSP is doing the rejection (as there ...
by LesD
2012-12-24 21:58
Forum: General discussions
Topic: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)
Replies: 15
Views: 11832

Re: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)

Now let me show you what is confusing me: My hMS log just shows "SMTPD" 1520 20437 "2012-12-17 00:05:00.103" "10.27.27.35" "SENT: 220 DesserGroup.com" while my ASSP log shows Dec-17-12 00:05:00 Connected: 173.9.62.249:1664 -> 10.27.27.35:25 (listenPort) -> 10.27.27.35:4128 > 10.27.27.35:125; Dec-17-...
by LesD
2012-12-24 15:03
Forum: General discussions
Topic: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)
Replies: 15
Views: 11832

Re: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)

I took the plunge and installed 5.4. All seems to be working fine. logging situation is still the same.

Could you let me see a sample of the hMS log? Do you have ASSP as a front-end?
by LesD
2012-12-23 23:25
Forum: General discussions
Topic: Shared Email Functionallity
Replies: 4
Views: 1239

Re: Shared Email Functionallity

Just some details of how we deal with this using IMAP as per matg's advice. We use Thunderbird but I assume the same can be done with Outlook. 1. Create an account in hMS for the web address. 2. Create private accounts for each of your four users. This is to allow them to have their own private addr...
by LesD
2012-12-23 22:59
Forum: General discussions
Topic: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)
Replies: 15
Views: 11832

Re: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)

Thank you. There was one clue there indicating that possibly logging has changed in 5.4

What are the risks in installing 5.4 in place of 5.3.2 for a lightly loaded system? I am tempted to do so.
by LesD
2012-12-23 21:56
Forum: General discussions
Topic: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)
Replies: 15
Views: 11832

Re: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)

I have been told on the ASSP forum that "There is no code in ASSP that can produce a '501 reply'" so these error messages are coming, quite correctly, from hMS. I would just like to understand one thing and that is why this error does not appear in the hMS log. Rather I am seeing an 'echo' of the re...
by LesD
2012-12-22 19:55
Forum: General discussions
Topic: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)
Replies: 15
Views: 11832

Re: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)

It is about some email client issuing broken command on smtp server. ehlo and helo commands require at least one parameter. HELO checks kick in later and they check value provided in that parameter. There is no such thing as "allow ehlo/helo without hostname argument". It would be direct violation ...
by LesD
2012-12-22 19:38
Forum: General discussions
Topic: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)
Replies: 15
Views: 11832

Re: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)

mattg wrote:It is local host name in SMTP settings >> Delivery of email

Try mail.dessergroup.com and see what happens
What change in behaviour would you expect to see after that change?
by LesD
2012-12-21 17:00
Forum: General discussions
Topic: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)
Replies: 15
Views: 11832

Re: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)

Is there a setting in hMS server that controls the checking of the HELO command?
by LesD
2012-12-21 15:43
Forum: General discussions
Topic: [SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)
Replies: 15
Views: 11832

[SMTP Error] 501 Syntax: helo needs hostname (V 5.3.2)

I have an issue since upgrading ASSP to the latest version. I have been on the ASSP forum but need some help here. ASSP is now generating hundreds of rejections with the message: [SMTP Error] 501 Syntax: helo needs hostname I actually got some complaints that valid mail was being rejected (gmail?). ...
by LesD
2012-12-04 23:16
Forum: General discussions
Topic: Delete mail keeps coming back in Thunderbird (using IMAP)
Replies: 9
Views: 3571

Re: Delete mail keeps coming back in Thunderbird (using IMAP

I have just been following this up. The user still seems to think he has a problem but all my tests seem to be OK. However I have been doing some checking and have found something rather odd. I have checked and he is subscribed to all folders (using Thunderbird IMAP) and the sum total of all the ema...
by LesD
2012-11-04 02:51
Forum: General discussions
Topic: Using Add Delivered-To Header setting with Mirror
Replies: 14
Views: 4878

Re: Using Add Delivered-To Header setting with Mirror

Understood. I had read up about it but as I have never used them the efficiency savings did not sink in. Thanks for the long and clear post. Having made your case so well, why make it optional? If the archive is to an other drive then the harlinking will anyway be ignored and if it stays on the same...
by LesD
2012-11-04 02:32
Forum: General discussions
Topic: Delete mail keeps coming back in Thunderbird (using IMAP)
Replies: 9
Views: 3571

Re: Delete mail keeps coming back in Thunderbird (using IMAP

The purge setting is the normal 'Move it to folder Deleted'.

I have not managed to get a clear response from the user as to whether the problem is fixed or not, but my own limited testing on his system (not a lot I can deleted without his say so) seems to indicate it is OK.
by LesD
2012-11-04 02:29
Forum: General discussions
Topic: Using Add Delivered-To Header setting with Mirror
Replies: 14
Views: 4878

Re: Using Add Delivered-To Header setting with Mirror

I have seen mention of the preference of using the NTFS Hardlinks option with Archiving. What is the advantage of using Hardlinks?
by LesD
2012-11-03 22:31
Forum: General discussions
Topic: 5.4 on line documentation out of date?
Replies: 3
Views: 1039

5.4 on line documentation out of date?

I presume the image at

http://www.hmailserver.com/documentatio ... me_network

is old rather than changed for 5.4?
by LesD
2012-11-03 22:22
Forum: General discussions
Topic: misconfigured mail server
Replies: 25
Views: 6072

Re: misconfigured mail server

Your comments have forced me to re-read the IP ranges settings page as I now see that my understanding has been superficial. My brain has just been seeing 'External to Internal' and the 'e-mail addresses' bit did not really sink in. So I was thinking of connections rather than addresses. So to clari...
by LesD
2012-11-03 22:06
Forum: General discussions
Topic: misconfigured mail server
Replies: 25
Views: 6072

Re: misconfigured mail server

2. anyone can connect via SMTP to your hMailserver without authentication - (That's the how of receiving mail really). The sender (SPAMMER!!!) can pretend that you are sending from your locally hosted domain. But surely not if he has not authenticated. Doesn't hMS check that? Isn't IP ranges all ab...
by LesD
2012-10-31 23:13
Forum: General discussions
Topic: Delete mail keeps coming back in Thunderbird (using IMAP)
Replies: 9
Views: 3571

Re: Delete mail keeps coming back in Thunderbird (using IMAP

While I was hoping that all was now well, I am now a little confused. The user emailed me after I told him that I thought the problem was solved, that he had deleted over 1000 and they came back! I asked him to mark a couple of hundred emails to be deleted with a star and let me run some tests. This...
by LesD
2012-10-31 20:51
Forum: General discussions
Topic: misconfigured mail server
Replies: 25
Views: 6072

Re: misconfigured mail server

If I were to authenticate as 'account@domain.com' and send FROM 'account@domain.com' to 'president@whitehouse.org' then the connection would be local to external, with authentication. What about: FROM 'account2@domain.com' to 'president@whitehouse.org' FROM 'account@domain2.com' to 'president@white...
by LesD
2012-10-30 17:38
Forum: General discussions
Topic: Delete mail keeps coming back in Thunderbird (using IMAP)
Replies: 9
Views: 3571

Re: Delete mail keeps coming back in Thunderbird (using IMAP

Looks like problem is solved. Thank you very much for the suggestions. After I created the user on the server, about 1500 messages disappeared from the Inbox. (Looks like there is a 'delete flag' that is retained by hMS even if it fails to delete a message and subsequently actions it when it can) Th...
by LesD
2012-10-30 16:56
Forum: General discussions
Topic: misconfigured mail server
Replies: 25
Views: 6072

Re: misconfigured mail server

I did not realise that an authenticated external connect becomes an 'internal' one.

So the OP basically appears to have an open relay.
by LesD
2012-10-30 02:24
Forum: General discussions
Topic: misconfigured mail server
Replies: 25
Views: 6072

Re: misconfigured mail server

Why do you say 'unauthenticated'? Wouldn't authenticated do the same? If it was unauthenticated then he would have an open relay which would have been blacklisted for that reason alone.
by LesD
2012-10-30 02:15
Forum: General discussions
Topic: Delete mail keeps coming back in Thunderbird (using IMAP)
Replies: 9
Views: 3571

Re: Delete mail keeps coming back in Thunderbird (using IMAP

Does sound like a security issue but the other user, admittedly a light user, does not seem to suffer from this problem. Maybe he never deletes anything! The hMS service is running under a user name (not system) that does not actually exist on the server (I have created it now with a matching passwo...
by LesD
2012-10-29 23:34
Forum: General discussions
Topic: problems
Replies: 3
Views: 1570

Re: problems

If External to Local is not ticked then get more info by turning on logging and checking the logs. Do a timed test and then check the log at that time.
by LesD
2012-10-29 22:11
Forum: General discussions
Topic: hmailserver, exchange, relay, enterprise..
Replies: 8
Views: 9681

Re: hmailserver, exchange, relay, enterprise..

Has the OP considered using ASSP?

I believe many use it as a front end to hMS.

I believe it has richer anti-spam facilities than hMS and should be much simpler to implement.

hMS is a mail server rather than an anti-spam engine.

http://sourceforge.net/apps/mediawiki/a ... =Main_Page
by LesD
2012-10-29 20:49
Forum: General discussions
Topic: misconfigured mail server
Replies: 25
Views: 6072

Re: misconfigured mail server

Currently it accepts mails from various domains and attempts to deliver it locally later. I do not understand the above. What is meant by "accepts mails ... and attempts to deliver .. later"? As I understand it, hMS will either reject the mail immediately or deliver it to a mailbox. What is this bu...
by LesD
2012-10-29 20:11
Forum: General discussions
Topic: problems
Replies: 3
Views: 1570

Re: problems

Assuming that indeed your hMS is responsible for the domain and the reject message, it means that the domain has been set up in hMS as requiring authentication. Turn on SMTP logging in hMS and do a test message and you should see some relevant entries in the log. Have a look at: Settings > Advanced ...
by LesD
2012-10-29 18:20
Forum: General discussions
Topic: Delete mail keeps coming back in Thunderbird (using IMAP)
Replies: 9
Views: 3571

Delete mail keeps coming back in Thunderbird (using IMAP)

I am at my wits end with this problem so I thought I would try here as a last resort. I have about six installations using hMS (running in a cloned VM so all are basically the same) with Thunderbird clients, using IMAP. A user on one of the systems has a problem in that whatever emails he deletes, t...
by LesD
2012-03-26 11:25
Forum: General discussions
Topic: Can't delete messages via MySQL Workbench
Replies: 4
Views: 1390

Re: Can't delete messages via MySQL Workbench

Thanks for the responses. Looks like I need the MySQL forum. I'll report back if there is anything relevant to hMS.
by LesD
2012-03-26 10:20
Forum: General discussions
Topic: Can't delete messages via MySQL Workbench
Replies: 4
Views: 1390

Re: Can't delete messages via MySQL Workbench

There is no new mail arriving - the mail server is not yet functional. The numbers I was quoting were the two character folders in which mail is stored. In any event the domain/account to which the mail relates has been deleted from the database. It seems that there is no referential integrity check...
by LesD
2012-03-25 17:04
Forum: General discussions
Topic: Can't delete messages via MySQL Workbench
Replies: 4
Views: 1390

Can't delete messages via MySQL Workbench

I needed to transfer a complicated domain which was being hosted on my server (together with other unrelated domains) to an other server. So I cloned the system on the basis that I will then delete the domains that were not relevant. (hMS runs in a VM so I considered that to be the most practical). ...
by LesD
2012-03-04 02:42
Forum: General discussions
Topic: How to check all lines in header for a string
Replies: 12
Views: 2211

Re: How to check all lines in header for a string

Just know that it DOES NOT mean your post was saved, just ignore the error & go back to the forum. I'm sure it will be fixed eventually.Bill Well for me it was saved. I ignored the error, went back to the thread page and pressed F5 and my post was there. Previously I assumed there was an error in p...
by LesD
2012-03-04 02:37
Forum: General discussions
Topic: How to check all lines in header for a string
Replies: 12
Views: 2211

Re: How to check all lines in header for a string

Sorry for not having stated the problem in full and thus confused you all. I am trying to move a message coming into one account into an other if the headers contain a certain string. (Basically the user has two accounts - one public and one private. If mail that ought to have been sent to the priva...
by LesD
2012-03-04 01:08
Forum: General discussions
Topic: How to check all lines in header for a string
Replies: 12
Views: 2211

Re: How to check all lines in header for a string

Point taken but thinking about this some more I don't see the advantage of your way. Your way also requires that the action to be taken - forward the email and then delete the original - has to be done in code so running the code from a Rule is basically the same. Am I missing something? ===========...
by LesD
2012-03-02 18:15
Forum: General discussions
Topic: How to check all lines in header for a string
Replies: 12
Views: 2211

Re: How to check all lines in header for a string

Sorry about the double post. I keep getting "The service is unavailable." when I post a message so I try again.

I now see that the post has in fact been sent.
by LesD
2012-03-02 18:14
Forum: General discussions
Topic: How to check all lines in header for a string
Replies: 12
Views: 2211

Re: How to check all lines in header for a string

Thank you very much. Just one point. I have a sub sub SendAlertMessage(oMessage) in EventHandlers.vbs which is called from a rule Action for a particular account and it seems to work. So while the sub has a parameter (oMessage) and the rule Action has just <SendAlertMessage> without a parameter, the...
by LesD
2012-03-02 15:43
Forum: General discussions
Topic: How to check all lines in header for a string
Replies: 12
Views: 2211

Re: How to check all lines in header for a string

Thanks.

I was hoping for some trick '*.*' like thing that might match all header types.

Doing my own function seems to be the only option.

Can either of you point me to some sample code?