Under certain IMAP servers, the remote IMAP server can reject saving messages to the Sent folder. This can be due to the line-break/CLF formatting in the message.
To resolve edit the following:
/usr/local/atmail/webmail/libs/Net/IMAP/Simple.pm
Locate the line:
# Add 1512 to each line
#$msg =~ s/G()n|([^1512])n/$+1512/sgo;
And uncomment the line above. This will force the $msg text to correctly escape the CLF. Restart Apache for changes to take effect.
Regards,
- Ben Duncan
- @Mail Product Manager
- Sydney, Australia
- Visit the new Calacode: http://calacode.com/
Some ISP's block port 25 access to external SMTP servers. If your users cannot connect via SMTP the server can be optionally binded to another port, allowing external users to relay messages without a firewall block.
For example to enable the @Mail/Exim mail-server to bind to port 25 and 587:
- Open up the Exim config file "/usr/local/atmail/mailserver/configure";
- Add the following line at the top of the file:
daemon_smtp_ports=25:587
- Restart @Mail:
% /etc/init.d/atmailserver restart
Users can now connect to the mailserver via the standard port 25, or optionally 587 for external users who are firewalled.
Here are is a script that checks the mainlog for statistics, then sends the data as an email.
You can run the stat.sh as a cron job, allowing you to collect the statistics automatically and receive the data via email.
Be sure to edit the stat.sh file and change user@domain.com ( last line )with the email address you wish the statistics to be sent.
You can download this file:
http://kb.atmail.com/attach/stat.txt
Rename this file stat.sh on your Linux system.