LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-22-2010, 10:31 AM   #1
esigande
LQ Newbie
 
Registered: Apr 2010
Posts: 14

Rep: Reputation: 0
Debian Mail server wont send or Recieve mail


Hi,
Iam new to Linux,i basically had this system installed for our mail system.The setup is as follows:
1. Operating system installed is Debian ver. 5.0.3
2. Roundcube is installed as a webmail(if its right for me to say that)
3. The server is hosted right here at our offices
4.The server uses relay system to send mail i.e. relays all our mails to our ISP
That all i can say about the configurations becuase thats as much as i understand it.
The problem now is that we are not able to send or recieve emails from both internal and external.I tried to send mail to a collegue in the office who is on our local LAN,Roundcube says sent successfully but the person does not recieve the mail.i tried to send to my yahoo address but nothing.I dont know where these mails have been trapped.
Can anyone of you gurus help me check this problem out?
Regards,
 
Old 04-22-2010, 11:10 AM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
What did you install as your mail transport agent and imap agent if anything? Based on your description you don't have a mail transport agent. Roundcube is webmail, a web imap client specifically. In other words its the web version of thunderbird, alone it doesn't know how to do much other than connect to an imap server and correctly display the given messages.
 
Old 04-22-2010, 07:46 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Try

netstat -tanp|grep 25

as root user. Whatever is listening on port 25 is your MTA aka SMTP server. Post the results.
 
Old 04-23-2010, 01:15 AM   #4
esigande
LQ Newbie
 
Registered: Apr 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
Try

netstat -tanp|grep 25

as root user. Whatever is listening on port 25 is your MTA aka SMTP server. Post the results.
Here are the results as requested:
mail:/home/ntbcadmin# netstat -tanplgrep 25
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

I have just recieved the bouncing mails,see below;
<johnmaambo@yahoo.com>: host 127.0.0.1[127.0.0.1] said: 451-4.5.0 Error in
processing, id=04778-13, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS
FAILED: ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to
talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket:
No such file or directory) at (eval 98) line 309.; ClamAV-clamscan
av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output="LibClamAV
Warning: ***********************************************************
451-4.5.0 LibClamAV Warning: *** This version of the ClamAV engine is
outdated. *** 451-4.5.0 LibClamAV Warning: *** DON'T PANIC! Read
http://www.clamav.net/support/faq *** 451-4.5.0 LibClamAV Warning:
*********************************************************** 451-4.5.0
LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version
has reached End of Life! Please upgrade to version 0.95 or later. For more
information see www.clamav.net/eol-clamav-094 and www.clamav.net/download
(length: 169) 451-4.5.0 LibClamAV Error: Problem parsing database at line
742 451-4.5.0 LibClamAV Error: Can't load daily.ndb: Malformed database
451-4.5.0 LibClamAV Error: cli_tgzload: Can't load daily.ndb 451-4.5.0
LibClamAV Error: Can't load /var/lib/clamav//daily.cld: Malformed database
451 4.5.0 ERROR: Malformed database" at (eval 98) line 527. (in reply to
end of DATA command)

Reporting-MTA: dns; mail.ntbc.co.zm
X-iRedMail-Queue-ID: 7619B33454B
X-iRedMail-Sender: rfc822; esigande@ntbc.co.zm
Arrival-Date: Thu, 22 Apr 2010 12:45:04 +0200 (CAT)

Final-Recipient: rfc822; johnmaambo@yahoo.com
Original-Recipient: rfc822;johnmaambo@yahoo.com
Action: failed
Status: 4.5.0
Remote-MTA: dns; 127.0.0.1
Diagnostic-Code: smtp; 451-4.5.0 Error in processing, id=04778-13, virus_scan
FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner
FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't
connect to UNIX socket /tmp/clamd.socket: No such file or directory) at
(eval 98) line 309.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan
unexpected exit 50, output="LibClamAV Warning:
*********************************************************** 451-4.5.0
LibClamAV Warning: *** This version of the ClamAV engine is outdated.
*** 451-4.5.0 LibClamAV Warning: *** DON'T PANIC! Read
http://www.clamav.net/support/faq *** 451-4.5.0 LibClamAV Warning:
*********************************************************** 451-4.5.0
LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version
has reached End of Life! Please upgrade to version 0.95 or later. For more
information see www.clamav.net/eol-clamav-094 and www.clamav.net/download
(length: 169) 451-4.5.0 LibClamAV Error: Problem parsing database at line
742 451-4.5.0 LibClamAV Error: Can't load daily.ndb: Malformed database
451-4.5.0 LibClamAV Error: cli_tgzload: Can't load daily.ndb 451-4.5.0
LibClamAV Error: Can't load /var/lib/clamav//daily.cld: Malformed database
451 4.5.0 ERROR: Malformed database" at (eval 98) line 527.


0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
mail:/home/ntbcadmin#

I dont understand alot of Linux so some questions will be difficulty for me to answer but i will try as much as i can to supply you with any information i have.Am trying to learn it.

Last edited by esigande; 04-23-2010 at 08:06 AM.
 
Old 04-27-2010, 04:08 PM   #5
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Let me refer you to a blog article I just wrote on this exact subject actually...

http://blog.pantek.com/opensores/201...on-faults.html
 
Old 04-27-2010, 04:09 PM   #6
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
vi /var/lib/clamav/daily.cld
:527
dd
:wq

will remove the entry for you thats causing the crash, be sure to read the blog post though, that problem WILL reoccur and you DO need to upgrade your AV engine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Evolution mail with Exchange server only sends mail.(don't recieve/download) knockout_artist Linux - Newbie 5 05-03-2012 03:42 PM
Postfix can't send or recieve mail! uiuiui172 Linux - Server 13 09-07-2011 11:36 PM
setting up a mail server: unable to recieve mail Valkyrie_of_valhalla Linux - Networking 3 09-15-2006 01:29 PM
can send and recieve local mail, but not mail from internet Caine101022 Linux - Software 2 09-09-2005 01:35 PM
I can recieve mail (outlook) but i cant send mail hal_baumgardner Linux - Networking 4 07-13-2001 08:54 AM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration