Skip to Content

Category Archives: exim

webmail error : The server was not able to find the document (./502.shtml)

Written on July 29, 2012 at 6:05 PM, by

When you logged into webmail, you usually see the options choose Horde, Squirrel, Round Cube. But when when you click any of them you get the following Not Found Error. ===================== Content of Error: *************** Not Found The server was not able to find the document (./502.shtml) you requested. Please check the url and try […]

temporarily rejected RCPT : remote host address is the local host

Written on July 1, 2012 at 8:16 PM, by

While receiving emails to a domain in our server. We could notice that the email was rejected with the following error log: ————————————————— 2012-07-01 12:58:37 [14484] H=test.com[*.*.*.*]:37179 I=[*.*.*.*]:25 F=<[email protected]> temporarily rejected RCPT <[email protected]>: remote host address is the local host —————————————-   To fix this we had to perform the following:   created a file […]

Berkeley DB error in exim log

Written on June 12, 2012 at 8:21 PM, by

Error: 2009-04-02 10:26:47 Berkeley DB error: PANIC: Invalid argument 2009-04-02 10:26:47 Berkeley DB error: PANIC: fatal region error detected; run recovery Fix: 1. Stop exim in the server 2. remove the files in /var/spool/exim/db/ 3. start exim to regenerate those files freshly.   Check logs again. You will see that the error disappeared.  

Sample SMTP MAIL Script

Written on June 12, 2012 at 5:25 PM, by

<?php //new function $to = “[email protected]”; $nameto = “Who To”; $from = “[email protected]”; $namefrom = “Who From”; $subject = “Hello World Again!”; $message = “World, Hello!”; authSendEmail($from, $namefrom, $to, $nameto, $subject, $message); ?> <?php /* * * * * * * * * * * * * * SEND EMAIL FUNCTIONS * * * * […]

fix for spamd not starting in server

Written on June 11, 2012 at 7:12 PM, by

In some cases spamd wont start along with exim im in the server. Use the following commands to fix it: sa-learn -D –force-expire sa-update -D /usr/local/cpanel/scripts/spamassassin_dbm_cleaner f/usr/local/cpanel/scripts/fixspamassassinfailedupdate /scripts/restartsrv_spamd If this does not fix the issue, use the following script in the server which installs spamd: /scripts/installspam It is also necessary that interface l0[localhost] is UP […]

set number of receipints in email

Written on March 4, 2012 at 8:49 PM, by

set number of receipints in email ———————————- Edit exim conf /etc/exim.conf recipients_max = 100 RELAY_RCPT_LIMIT_NUM = 100

exim error: failed to expand ACL string “${perl{surblspamcheck}}”:

Written on March 4, 2012 at 7:54 PM, by

This has been solved by adding the line require “/etc/exim/perl/exim_check_surbl.perl”; at the end of exim’s perl startup script (/etc/exim.pl). surblspamcheck plugin was defined in exim_check_surbl.perl and the line require “/etc/exim/perl/exim_check_surbl.perl”; was missing from the startup script after the cPanel upgrade.