Re: mail (un)delivery
On Mon, 2007-09-03 at 11:59 -0400, Douglas A. Tutty wrote:
> On Mon, Sep 03, 2007 at 04:26:49PM +0100, michael wrote:
> > On Mon, 2007-09-03 at 11:05 -0400, Douglas A. Tutty wrote:
> > > On Mon, Sep 03, 2007 at 03:47:31PM +0100, michael wrote:
> > here's the o/p when I try to email myself:
> > 2007-09-03 16:13:43 Start queue run: pid=3893
> > 2007-09-03 16:13:43 End queue run: pid=3893
> > 2007-09-03 16:23:32 1ISDm0-00010w-6z <= email@example.com
> > U=michael
> > P=local S=409
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z => firstname.lastname@example.org
> > R=smarthos
> > t T=remote_smtp_smarthost H=mailrouter.mcc.ac.uk [22.214.171.124]
> > X=TLS-1.0:RSA_
> > AES_256_CBC_SHA1:32
> > DN="C=GB,126.96.36.199=#13074d36302031514,ST=England,L=Manchester
> > ,STREET=Manchester,188.8.131.52=#1302383,O=Manchester University,OU=Internet
> > Service
> > s,OU=Issued through UMIST E-PKI Manager,OU=InstantSSL
> > Pro,CN=mailrouter.mcc.ac.u
> > k"
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z Completed
> OK. So, IIRC, the problem was that local mail wasn't being delivered
> locally, correct?
Yes. If I 'mail email@example.com' it gets delivered there, but 'mail me'
doesn't get delivered to 'me' on my machine (ratty)
> But its sending your mail to the smarthost. How do
> you get mail from the smarthost? If its by fetchmail, it will pull it
> from the smarthost and give it to exim to deliver which will send it
> back to the smarthost. The smarthost is probably recognizing a mail
> loop and dropping the message.
It's poss I've forgotten something but it all worked once (famous last
> At least we know that exim4 itself is working OK.
> I've forgotton the details, but isnt' ratty.phy.umist.ac.uk both your
> local name and the name of the smarthost? I'm missing something (I
> haven't had enough sleep).
ratty.phy.umist.ac.uk is the local machine name:
(outgoing) smarthost is mailrouter.mcc.ac.uk
> Try filling in the blanks for me:
> Name of the box on which you send mail to yourself:
> Name of the smarthost that you told exim to use:
> Names of hosts/domains that you told exim to treat as local; that it is
> the final destination:
err... not sure what you mean. Do you mean (from `sudo dpkg-reconfigure
exim4-config`) ''other dest for which mail is accepted'' for which I
and nothing for machines to relay
> contents of the /etc/email-addresses file.
michael@ratty:~$ cat /etc/email-addresses
# This is /etc/email-addresses. It is part of the exim package
# This file contains email addresses to use for outgoing mail. Any local
# part not in here will be qualified by the system domain as normal.
# It should contain lines of the form:
> I think we're getting close to figuring out what is going on.