Re: Exim4 - local mail deliveries



On Fri, 07 Mar 2008 20:02:22 +0100, Florian Kulzer wrote:

On Thu, Mar 06, 2008 at 21:22:40 +0000, Felix Karpfen wrote:


After switching to mbox format, I can receive

"echo "just a test..." | mail -s "test-local" $USER@localhost"

when run from a "user" terminal.

ziltch for

"echo "just a test..." | mail -s "test-local 2" $USER"

That means that exim4 knows how to do local deliveries, but it does not
seem to realize that carrot.cabbagepatch is "local".

(The first command above sends mail to felixk@localhost, the second one
to felixk@xxxxxxxxxxxxxxxxxxxx)

and ziltch if either command is run as "root".

Mails to root@localhost get redirected to felixk@xxxxxxxxxxxxxxxxxxx,
which does not work; mails to root@xxxxxxxxxxxxxxxxxxx get stuck
immediately.


SNIP

Logcheck and other demons use the hostname in /etc/mailname. Exim does
not realize that this is the same machine, which means that you have to
fix your exim configuration and/or your /etc/hosts file.

logcheck.conf offers a choice of where to send notifications. I had
set it to "felixk@xxxxxxxxxxxxxxxxxxxx". It looks as though I would
have spared myself a lot of headaches, if I had selected
"felixk@localhost"


I would try this:

Run "dpkg-reconfigure exim4-config" and make sure that "system mail
name" is set to "carrot.cabbagepatch" and "other destinations for which
mail is accepted" is set to "localhost;carrot.cabbagepatch". Then try
the mail commands again.

Did that (although the screen indicated that exim4 already recognised
"localhost" and "carrot.cabbage.patch").

Now everything works. Thank you for the help.

Felix Karpfen



--
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Are Sendmail-style Alias Lists Possible in exim4?
    ... Is there anything like that in exim4? ... exim4 has a /etc/aliases file and a newaliases command, ... It didn't complain when I added a similar alias line, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Mail Issues (pt 2 )
    ... I handle the sorting with .forward rules, though I suppose you could also use exim4 pipe/process filters or an external ''delivery agent'' for more sophisticated filtering. ... I think funny things can happen on ext2 filesystems when directory nodes contain>2^15 entries. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: smtp to bytemark.co.uk smarthost (was: using a remote IMAP server and smarthost)
    ... These dsn settings do not help. ... any more than I did with my previous attempt to configure exim4. ... the courier MTA in place of exim4 -- I already have courier IMAP. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Monitor daemon for exim4 logs
    ... > Would anybody have recommendations of lightweight monitors for exim4 ... > logs, something appropriate to a standalone machine with a single ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)