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" [EMAIL PROTECTED]" >> >> 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 [EMAIL PROTECTED], the second one > to [EMAIL PROTECTED]) > >> and ziltch if either command is run as "root". > > Mails to [EMAIL PROTECTED] get redirected to [EMAIL PROTECTED], > which does not work; mails to [EMAIL PROTECTED] 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 "[EMAIL PROTECTED]". It looks as though I would have spared myself a lot of headaches, if I had selected "[EMAIL PROTECTED]" > > 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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]