[sf-lug] problems with exim4 on ubuntu server 8.04.1

jim jim at well.com
Thu Dec 18 14:17:22 PST 2008


many thanks, tom. 
   no. to add to the story, we can't send 
mail from one local account to another. 

$ mail -s "boo" gooduser 
bah! 
.
cc:
$ 
$ su - gooduser 
gooduser $ mail 
no mail for gooduser 
$ bah! 
-bash: bah! : command not found 

# mail -s "not me, too?" gooduser 
<... same story for root, who can't get mail 
to another user; sending's okay, i can't find 
error messages at all, it's as if the user's 
mail program looks in one place to get mail but 
sends mail to another place.> 

using some other system to send mail gets the 
mail to exim4, or at least to the ubuntu10 box 
(hostname for the one box in the systemateka.com 
domain), but soon after the sender gets rejected 
(per bottom of email trail below). 


On Thu, 2008-12-18 at 13:26 -0800, Tom Haddon wrote:
> On Thu, 2008-12-18 at 08:54 -0800, jim wrote:
> > host runs ubuntu server 8.04.1 and exim4. 
> > 
> > logged into the host we can send mail "out there" 
> > but cannot send mail from "out there" into the box 
> > and to a valid user: mail gets to the box and the 
> > mailer daemon returns it because "the following 
> > address(es) failed: " (complete transcript is at 
> > the bottom of this message; address seems to be 
> > a valid user, i.e. one that can ssh to the host 
> > specified by the domain name jim at systemateka.com ).
> > 
> 
> Hi Jim,
> 
> Tried this test:
> 
> ------------------------------
> 
> mthaddon at halfdome:~$ telnet 64.81.61.126 25
> Trying 64.81.61.126...
> Connected to 64.81.61.126.
> Escape character is '^]'.
> 220 ubuntu10 ESMTP Exim 4.69 Thu, 18 Dec 2008 13:33:46 -0800
> HELO greenleaftech.net
> 250 ubuntu10 Hello li26-250.members.linode.com [67.18.89.250]
> MAIL FROM:tom at greenleaftech.net
> 250 OK
> RCPT TO:jim at systemateka.com 
> 250 Accepted
> DATA
> 354 Enter message, ending with "." on a line by itself
> Subject: Test from Tom
> 
> This is a test
> 
> .
> 250 OK id=1LDQWf-0000bJ-7K
> quit
> 221 ubuntu10 closing connection
> Connection closed by foreign host.
> 
> ----------------------------
> 
> Did you get it?
> 
> Cheers, Tom
> 
> > 
> > 
> > <onthebox> 
> > $ who am i 
> > jim .... 
> > $ mail -s "<BADWORD>" jim at well.com 
> > 
> > <BADWORD>!<BADWORD>!<BADWORD>! 
> > 
> > . 
> > cc: 
> > $ 
> > </onthebox> 
> > 
> > <onadifferentbox> 
> > <GUI getsmail="fromthebox" subject="<BADWORD>"/> 
> > <GUI sendsmail="tothebox" successfulsend="true"/> 
> > </onadifferentbox> 
> > 
> > <ontheboxagain time="gonebylongenoughformailtogetthere"> 
> > $ mail 
> > no mail for jim 
> > </ontheboxagain> 
> > 
> > <onthedifferentbox>
> > <GUI getsmail="seemstohavemadetheboxbutnottargetuser" seebelow/> 
> > </onthedifferentbox> 
> > 
> > 
> > where to look on the box? 
> > 
> > $ dig systemateka.com MX 
> > shows mx record. 
> > 
> > router has NAT set to port 25 for inbound email to the box. 
> > 
> > /etc/exim4/* files may be missing some vital parameter, 
> > though so far we can't see what. 
> > 
> > /var/lib/exim4/* files, owners, and permissions seem to work 
> > 
> > /var/mail/ 
> > drwxrwsr-x  2 root mail  4096 2008-12-17 19:15 mail
> > 
> > /var/spool/ 
> > lrwxrwxrwx 1 root        root           7 2008-09-25 22:24 mail
> > -> ../mail
> > (one line, wrapped in this email) 
> > 
> > /var/spool/exim4
> > drwxr-x--- 5 Debian-exim Debian-exim 4096 2008-11-19 21:15 exim4
> > lrwxrwxrwx 1 root        root           7 2008-09-25 22:24 mail
> > -> ../mail
> > 
> > /var/spool/exim4
> > total 12
> > drwxr-x--- 2 Debian-exim Debian-exim 4096 2008-12-15 12:52 db
> > drwxr-x--- 2 Debian-exim Debian-exim 4096 2008-12-18 01:24 input
> > drwxr-x--- 2 Debian-exim Debian-exim 4096 2008-12-18 01:24 msglog
> > 
> > 
> > below is the entire transcript of the bounceback message. 
> > ----------------------------------------------------------
> >                               From: 
> > Mail Delivery System
> > <Mailer-Daemon at systemateka.com>
> >                                 To: 
> > jim at well.com
> >                            Subject: 
> > Mail delivery failed: returning
> > message to sender
> >                               Date: 
> > Thu, 18 Dec 2008 08:50:25 -0800
> > 
> > This message was created automatically by mail delivery software.
> > 
> > A message that you sent could not be delivered to one or more of its
> > recipients. This is a permanent error. The following address(es) failed:
> > 
> >   jim at systemateka.com
> > 
> > ------ This is a copy of the message, including all the headers. ------
> > 
> > Return-path: <jim at well.com>
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4v-0004ZR-JI
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:25 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4v-0004ZO-7t
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:25 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4u-0004ZL-Ss
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:24 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4u-0004ZI-HU
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:24 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4u-0004ZF-6J
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:24 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4t-0004ZC-RJ
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:23 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4t-0004Z9-G2
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:23 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4t-0004Z6-4X
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:23 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4s-0004Z3-PO
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:22 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4s-0004Z0-Dy
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:22 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4s-0004Yx-2l
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:22 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4r-0004Yu-Nd
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:21 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4r-0004Yr-CM
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:21 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4r-0004Yo-16
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:21 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4q-0004Yl-M3
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:20 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4q-0004Yi-Ap
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:20 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4p-0004Yf-Vi
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:19 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4p-0004Yc-KO
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:19 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4p-0004YZ-9L
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:19 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4o-0004YW-UL
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:18 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4o-0004YT-JL
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:18 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4o-0004YQ-8J
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:18 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4n-0004YN-T7
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:17 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4n-0004YK-Hm
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:17 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4n-0004YH-6b
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:17 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4m-0004YE-RW
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:16 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4m-0004YB-GO
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:16 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4m-0004Y8-5U
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:16 -0800
> > Received: from [192.168.1.1] (helo=ubuntu10)
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4l-0004Y5-Qf
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:15 -0800
> > Received: from smtp.well.com ([208.17.81.207])
> >         by ubuntu10 with esmtp (Exim 4.69)
> >         (envelope-from <jim at well.com>)
> >         id 1LDM4l-0004Y2-6l
> >         for jim at systemateka.com; Thu, 18 Dec 2008 08:50:15 -0800
> > X-WELL-Auth: Yes
> > Received: from [192.168.1.100] (dsl081-061-126.sfo1.dsl.speakeasy.net
> > [64.81.61.126])
> >         by smtp.well.com (8.14.2/8.14.2) with ESMTP id mBIGdrqr013434
> >         for <jim at systemateka.com>; Thu, 18 Dec 2008 08:39:53 -0800
> > Subject: trying thursday 20081218:8:39
> > From: jim <jim at well.com>
> > To: jim stockford <jim at systemateka.com>
> > Content-Type: text/plain
> > Date: Thu, 18 Dec 2008 08:39:55 -0800
> > Message-Id: <1229618395.6454.75.camel at jim-laptop>
> > Mime-Version: 1.0
> > X-Mailer: Evolution 2.22.3.1 
> > Content-Transfer-Encoding: 7bit
> > X-Virus-Scanned: ClamAV 0.94.2/8781/Thu Dec 18 06:24:06 2008 on
> > wodehouse.well.com
> > X-Virus-Status: Clean
> > 
> > 
> > trying, trying, it's trying. 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > sf-lug mailing list
> > sf-lug at linuxmafia.com
> > http://linuxmafia.com/mailman/listinfo/sf-lug





More information about the sf-lug mailing list