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...)
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...)
When using CentOS, you may find yourself requiring to use the "yum" package manager, when you do not have Internet access, or your link to download packages is to slow.
(more...)
When using the mail-server mode of @Mail, all messages are stored in "maildir" format on the system.
This creates the ability to share folders between other users, creating a "Public" folder feature where users can view/add/delete messages.
To implement, login to a local @Mail account where you want to share a specific folder.
(more...)
Question: I have an SSL certificate signed by Verisign for my SSL Webserver. I would like to use the same certificate for my POP3/IMAP server using @Mail via SSL.
How can I used the certificate files generated from my SSL provider? This is required so users will not receive a security popup message when connecting via SSL, since the connection will be trusted automatically.
Answer: Obtain the certficiate.key and certificate.crt files that are generated by your SSL provider, these can be used to create the .pem format the POP3/IMAP server require when running via SSL.
(more...)
Excluding MySQL tables is not included in some versions of MySQL. Here's a bash script that can do just that:
- create a file called mysqldump.sh
- in the file, put:
#!/bin/sh
for TABLE in $(echo "show tables" | mysql -u [mysqluser] -p[mysqlpassword] [atmaildatabase] | grep -v Tables_in_ | grep -v [Excluded Tables])
do
mysqldump -v --add-drop-table -u [mysqluser] -p[mysqlpassword] [atmaildatabase] ${TABLE} > [mysqldumpfile.sql]
done
(more...)
Some users expressed the need to have the RBL-checking done on a per-domain basis. This can be done by running through the following steps:
- locate the following line in your /usr/local/atmail/mailserver/configure file;
MYSQL_CATCHALL = select AliasTo from MailAliases where AliasName='$domain'
- add the following below:
MYSQL_RBL = select Hostname from Domains where RBL='1'
(more...)
After restarting @Mail via the sysv init, or init.d, you may have some errors with the clamdsocket not being able to connect. It looks like this:
malware acl condition: clamd: unable to connect to UNIX socket /usr/local/atmail/av/clamdsocket (Connection refused)
This may be caused by a stale clamd socket not being deleted. To fix, you can go through the following steps: (more...)
To enable Greylists in Exim:
- open up /usr/local/atmail/mailserver/configure, and find this line:
hide mysql_servers = localhost/atmail/root/
- add the following below:
.include /usr/local/atmail/mailserver/greylistconf
- find this line:
begin acl
(more...)
By default @Mail will append the Spam-score of an email-message, only if it matches as Spam.
To configure all incoming messages to attach the Spam-score and report, useful for debugging and to check "real" messages for their Spam-score edit:
/usr/local/atmail/mailserver/configure
Locate:
(more...)