December 18, 2007

 Removing the default password length in @Mail

Question: Where would I go about changing or removing the 8 digit password requirement from the @mail server?

Answer: @mail version 5.2 uses a password complexity requirement. Meaning that all passwords must meet a certain requirement. If you would like to remove this from your @mail installation please do the following.

Go to webmail/webadmin/js/newuser-validate.js in the @mail directory and remove the following

if (theForm.password.value.length < 5)
{
alert("Please enter at least 5 characters in the \"password\" field.");
theForm.password.focus();
return (false);
}

This is for when a new user is created in the @mail WebAdmin > new user.

Go to html/english/javascript/validate_password.js in the @mail directory and remove the following

if (theForm.newpass.value.length < 8 )
{
alert("Please enter at least 8 characters in the 'New Password' field.");
theForm.newpass.value = "";
theForm.newpass2.value = "";
theForm.newpass.focus();
return (false);
}

This is for when a user decides to change their password via the WebMail interface.


Filed under: Customization, PHP version — info @ 9:21 am

 

December 6, 2007

 Upgrading SpamAssassin

When you want to upgrade SpamAssassin 2.63 for @Mail to 3.0, keep in mind that the two versions have different SQL querying schemas. Also, you may need to take out some lines in the local.cf file, as many options have been deprecated.

To upgrade your SpamAssassin installation, just run through the following steps:

(more...)


Filed under: Anti-Spam — info @ 3:36 pm

 

 Testing SpamAssassin

Should you want to see if your Spam filter is working, just send an email with the following string:

XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X

This is the GTUBE - the Generic Test for Unsolicited Bulk Email. If your spam filter supports it, the GTUBE provides a test by which you can verify that the filter is installed correctly and is detecting incoming spam, in a similar fashion to the EICAR anti-virus test file.


Filed under: Anti-Spam — info @ 3:34 pm

 

 Error: \”undefined reference to `mpz_powm\’\&

When you recieve an error like this, when compiling ClamAV:

../libclamav/.libs/libclamav.so: undefined reference to `mpz_powm'
../libclamav/.libs/libclamav.so: undefined reference to `mpz_get_ui'

Just do the following:

(more...)


Filed under: Anti-Virus, Linux version — info @ 3:32 pm

 

 Disable SpamAssassin filtering for some users or d

Should you want to disable SpamAssassin for some domains or users, just do the following:

- open up your /usr/local/atmail/mailserver/configure
- find the following lines:

domains = ${lookup mysql {MYSQL_CHECKSPAM}{$value}}

(more...)


Filed under: Anti-Spam, Linux version — info @ 3:30 pm

 

 Security warning: No support for digital signature

When using @Mail with the inbuilt ClamAV module, if you receive the warning message via the @Mail Webadmin -> AV settings:

"Security warning: No support for digital signatures"

This is just a warning that GMP development headers/libs are missing from your compiled Clam. These are used for verfiying the digital signature of the download AV definition files.

(more...)


Filed under: Anti-Virus, Linux version — info @ 3:28 pm

 

 ERROR: Verification: Broken or not a CVD file

Using the AV module of @Mail, the Webadmin reports the following via the Anti-Virus tab:

"ERROR: Verification: Broken or not a CVD file Giving up on database.clamav.net..."

This can occur if you have a HTTP proxy / firewall or filter in front of the machine running @Mail.

If you are running a filter or a transparent proxy that requires authentication, edit the following file:

(more...)


Filed under: Anti-Virus — info @ 3:27 pm

 

 Adding AV scanned in Message-header

Question:

We are using @Mail in the mail-server mode with the AV scanner. We'd like all incoming messages that are clean via the AV scanner to append a header "X-Virus-Scanned: Clean" to each message in the users mailbox.

Answer:

This is possible by editing the transport router in Exim to append the new header for each incoming message.

(more...)


Filed under: Anti-Virus, Linux version — info @ 3:25 pm

 

 Keeping a process running even if it drops out

You might find yourself in the following dilemma; you're working on something via SSH, and it's a long process, and might be at risk of stopping, in case you log out.

Furthermore, you might have forgotten to nohup the process. In this case, this is what you should do:

(more...)


Filed under: OS, Linux version — info @ 3:17 pm

 

 Multiserver NFS Configuration

f you want the Maildir email message database to be stored on a remote server, the most practical means of doing this is to install it on a remote NFS mount. The webserver can access this mount everytime a user accesses an email; which can distribute the load over multiple servers.

The /usr/local/atmail/tmp/ directory must be shared via NFS. This is required for each frontend to access the single directory storage for attachments and temporary messages.

For this example, we will use the domains webserver.com (as the domain of the webserver) and database.com (for the database server).

(more...)


Filed under: Multiserver — info @ 3:16 pm