Escolar Documentos
Profissional Documentos
Cultura Documentos
Exim is an open source mail transfer agent (MTA), which is a program responsible for receiving,
routing, and delivering e-mail messages. MTAs receive e-mail messages and recipient
addresses from local users, remote hosts and deliver the messages to their destinations.
Exim was developed in 1995, by Philip Hazel at the University of Cambridge for the use of Unix
systems connected over the Internet. The software feature more straightforward configuration
and task management.
Early MTAs were usually run as open relays, just routing and delivering mail without applying
many rules or security controls. Exim features include user options for defense against mail
bombs and unsolicited junk mail. Exim can be run on any TCP/IP network, in conjunction with
any combination of host and user software, and is the default MTA included on most Linux
systems.
Each mail handled by Exim will have a unique message-ID. Most commands related to
managing the queue and logging use these message-ids. Exim log files are stored in
/var/spool/exim/msglog and are named the same as the message-id. Files in
/var/spool/exim/input are named after the message-id.
Exim
===
Config:/etc/exim.confMail:
/home/<username>/mail/domain
/usr/lib/mailman
/var/spool/mail
Logs:/var/log/exim_mainlogs
root@dipu11161/~#telnet gittopaul.com 25
Trying 192.168.1.218...
Connected to gittopaul.com.
Escape character is '^]'.
220 dipu11161 ESMTP Exim 4.43 Wed, 13 Aug 2008 20:25:37 +0400
mail from:gitto@gittopaul.com
250 OK
rcpt to:gitto@gittopaul.com
1 / 11
Exim
Configuration file
/etc/exim/exim.conf
Configuration file
/etc/exim/exim.conf
>> Listing the messages in the queue (time queued, size, message-id, sender, recipient).
root@localhost# exim -bp
>> Print a summary of messages in the queue (count, volume, oldest, newest, domain, and
totals).
2 / 11
Exim
>> Print messages older than the specified number of seconds. Eg: messages older than 1
hour.
root@localhost# exiqgrep -o 3600 [...]
>> Print messages younger than the specified number of seconds. Eg: messages less than an
hour old.
root@localhost# exiqgrep -y 3600 [...]
>> Match the size of a message with a regex. Eg: Messages between 500-599 bytes.
root@localhost# exiqgrep -s '^5..$' [...]
3 / 11
Exim
>> Deliver a message, whether it's frozen or not, whether the retry time has been reached or
not.
root@localhost# exim -M <message-id> [ <message-id> ... ]
>> Deliver a message, but only if the retry time has been reached.
root@localhost# exim -Mc <message-id> [ <message-id> ... ]
>> Remove all messages older than five days (86400 * 2 = 172800 seconds).
root@localhost# exiqgrep -o 172800 -i | xargs exim -Mrm
mail -v bender_holly@charter.net
4 / 11
Exim
dfdsfsd
fdssdf.
.
Cc: .
LOG: MAIN
cwd=/var/cpanel/userhomes 5 args: send-mail -i -v . bender_holly@charter.net
LOG: MAIN
<= root@bludomain6.bludomain6.com U=root P=local S=408 T="test"
[root@bludomain6 userhomes]# LOG: MAIN
cwd=/var/spool/exim 4 args: /usr/sbin/exim -v -Mc 1KVUAL-000206-90
delivering 1KVUAL-000206-90
LOG: MAIN
** .@bludomain6.bludomain6.com: Unrouteable address
Connecting to ib1.charter.net [216.33.127.20]:25 ... connected
SMTP<< 220 charter.net ESMTP server ready Tue, 19 Aug 2008 12:34:42 -0400
SMTP>> EHLO bludomain6.bludomain6.com
SMTP<< 250-charter.net
250-HELP
250-VRFY
250-XREMOTEQUEUE
250-ETRN
250-PIPELINING
250-DSN
250-8BITMIME
250 SIZE 15728640
SMTP>> MAIL FROM:<root@bludomain6.bludomain6.com> SIZE=1443
SMTP>> RCPT TO:<bender_holly@charter.net>
SMTP>> DATA
1. Do you have root access to the box to run scripts? You can try running some fix scripts if you
do.
2. Have you tried telneting to that pop3 server and logging in through the telnet session? There
are many walkthroughs on the net on how to do this, just google it.
5 / 11
Exim
3. Are any other POP3 accounts having the same issue or is it just a specific account? If this is
the case delete the account and recreate it. Also delete all of your temp files, including your
temp internet files, on your PC. That will usually flush out any bad or garbled password files that
are saved.
I have opened a ticket with configservers; it was suggested to try the following commands.
/scripts/updateuserdomains
/scripts/mailperm
killall -9 cppop
/scripts/restartsrv cppop
Is the mail spooling in the mail server?Try login to the WHM > Manage Mail Queue to check it
out.
/scripts/restartsrv cppop
service exim restart
exim -v -qff &
The mail server is up and is running fine. We confirmed it by sending and receiving mails
between v2host@gmail.com (our test account) and the email account damien@threesixes.com.
The mails were successfully delivered. The session logs are given below for your reference.
We tried to send and receive mails from outlook express itself. We could not locate any issue.
6 / 11
Exim
1. Step one is to check your Outlook Express settings, making sure that the POP3 and SMTP
servers are as in the screen shots, and that your full user name and password are correct. Then
try to connect again.
2. If the settings are fine, but you are still having problems test your connection by following this
procedure: Logon to the Internet in the normal way. Click the START button, then RUN
Type in cmd on Windows NT/2000/XP or command on Windows 95/98/ME. This opens a new
window, with black text on a white screen, or the opposite. Type in the following command
exactly as it appears. You will not see what you are entering so take it slowly, and if you make a
mistake, start again. Now first type the following
and hit the Enter key, you will then be connected to the email server. Type in USER
your_username and hit the Enter key. You will then get a message +OK Please enter your
pass, with the PASS command Type in PASS your_password and click the Enter key. If it is
correct, you will get an OK MAILBOX OPEN
3. If you can't get in this way either, it could be that your email password has somehow become
corrupted. Try changing it in the domain manager. If you have just upgraded to use our web
mail system, you will need to reset your email password once before start using it. Then try
again and see if the Outlook Express error message vanishes.
4. Are you running anti-virus software or personal firewalls? If so disable them and try again. If
the problem has vanished, configuration of these products could be the problem, particularly if
they are set to automatically scan incoming and outgoing emails.
5. Are you running Windows XP? If so, disable the firewall there too and try again because the
firewall function in XP is enabled by default.
The basic checks have now been completed. If you are still getting this error message, there
are two more drastic options to try. If you cannot even get connected to the Internet, then you
will need to reinstall TCP/IP from scratch because some components of Windows has somehow
become corrupted.
7 / 11
Exim
If you're still having problems, it could be that Outlook Express is itself corrupt. Microsoft's
instructions on how to delete it and reinstall it, along with making a backup of your address
books etc, are available for Windows 95, 98, and ME and for Windows 2000.
Please check if everything works fine for you and if the issue persist, please do let us know the
following details so that we can check the issue in detail.
In case you have any further queries or troubles, please get back to us. We'll be right here 24x7
to help you out.
/scripts/addpop
/tmp full
df
go to cd /tmp
du -sch .
then you can find that eventhough /tmp is not full, still showing /tmp full in df -h
cd /var/lib/mysql
touch mysql.sock
chown mysql:mysql mysql.sock
chmod 1777 mysql.sock
8 / 11
Exim
/etc/init.d/mysql restart
crontab -e
Hello,
Error is only in horde. Squirrelmail and round cube are working fine.
------------------------------
080901 8:31:39 [ERROR] /usr/sbin/mysqld: Can't find file: './horde/horde_sessionhandler.frm'
(errno: 13)
-------------------------------
---------------------------------
root@jet5 [/backup/cpbackup/weekly/dirs/_var_lib_mysql_]# mysqldump horde > horde.sql2
mysqldump: Got error: 1017: Can't find file: 'horde_sessionhandler' (errno: 2) when using LOCK
TABLES
----------------------------------
----------------------------------------
Creating Horde database
ERROR 1007 (HY000) at line 48: Can't create database 'horde'; database exists
Updating Pear modules ...Done
Horde updated to 3.1.7p7
Restoring previous Horde data
ERROR 1146 (42S02) at line 13: Table 'horde.horde_datatree' doesn't exist
ERROR 1146 (42S02) at line 14: Table 'horde.horde_datatree' doesn't exist
9 / 11
Exim
moved the file horde_sessionhandler.frm and then created the table horde_sessionhandler.
After that i got the error "Failed to write session data (sqlite)".
10 / 11
Exim
session.save_path
session.save_handler
It should be like
session.save_handler = files
session.save_path = /tmp
11 / 11