[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: proper mailname



On 2008-02-23, Andrei Popescu <andreimpopescu@gmail.com> wrote:
>
> --pfTAc8Cvt8L6I27a
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> On Sat, Feb 23, 2008 at 04:37:33PM +0000, Tyler Smith wrote:
>> Hi,
>>=20
>> I'm using exim/fetchmail/mutt to send and receive mail. However, I've
>> noticed that several programs that try and send me messages are
>> confused - things like sudo and at, which try and mail messages to
>> root@sedgenet or tyler@sedgenet. sedgenet is just a made-up domain I
>> picked when I set up my laptop, but now I see that I need to tweak
>> something so that system-generated emails are properly routed. So
>> should I change my etc/mailname, or is there some way to set an alias
>> such that tyler@sedgenet and root@sedgenet are actually delivered to
>> real email addresses.
>
> You could also setup your mail client to check your local mailbox. =20
> Sylpheed and Claws-Mail can do this and I bet others as well. Or you=20
> could just use 'mail' on the console, or are you expecting a lot of=20
> local mail?
>
> If your exim is properly setup to send mail to the internet you could=20
> also add an alias in /etc/aliases, but that would make all local mail go=20
> across the internet, through your mailserver. Do you want that?
>

I think this is the problem - when at finishes a job it tries to send
a message through my mailserver to the address tyler@sedgenet, instead
of just dropping it in my local mailbox, var/mail/tyler. At least,
that's what I think is happening. One of the messages I got is copied
below, in case I'm misinterpreting the message and headers. My
mailname is sedgenet, but my hostname is blackbart. Should these
match? They're both invented names, and don't correspond to an actual
mail server anywhere.

Thanks!

Tyler

>From MAILER-DAEMON Sat Feb 23 12:52:02 2008
Return-path: <>
Envelope-to: tyler@localhost
Delivery-date: Sat, 23 Feb 2008 12:52:02 -0400
Received: from localhost ([127.0.0.1] helo=blackbart.sedgenet)
	by blackbart.sedgenet with esmtp (Exim 4.69)
	id 1JSxbW-00008V-JR
	for tyler@localhost; Sat, 23 Feb 2008 12:52:02 -0400
Received: from elf.mcgill.ca
	by blackbart.sedgenet with POP3 (fetchmail-6.3.8)
	for <tyler@localhost> (single-drop); Sat, 23 Feb 2008 12:52:02 -0400 (AST)
Received: from torrent.cc.mcgill.ca (torrent.cc.mcgill.ca [132.206.27.49])
 by elf.mcgill.ca (PMDF V6.2 #30764)
 with ESMTP id <0JWP00I3CAR96Q@elf.mcgill.ca> for tyler.smith@msg.elf.mcgill.ca
 (ORCPT tyler.smith@mail.mcgill.ca); Sat, 23 Feb 2008 11:49:57 -0500 (EST)
Received: from asmx4.McGill.CA (zocho.McGill.CA [132.206.27.63])
	by torrent.cc.mcgill.ca (8.12.11.20060308/8.12.3) with ESMTP id m1NGnvuH012736
	for <tyler.smith@mail.mcgill.ca>; Sat, 23 Feb 2008 11:49:57 -0500
Received: from asmx4.McGill.CA (localhost.localdomain [127.0.0.1])
	by localhost (Postfix) with SMTP id E9870F4405E	for
 <tyler.smith@mail.mcgill.ca>; Sat, 23 Feb 2008 11:49:56 -0500 (EST)
Received: from simmts5-srv.bellnexxia.net
 (simmts5-qfe0.srvr.bell.ca [206.47.199.163])	by asmx4.McGill.CA (Postfix)
 with ESMTP id AA179F44011	for <tyler.smith@mail.mcgill.ca>; Sat,
 23 Feb 2008 11:49:56 -0500 (EST)
Received: from simip9.srvr.bell.ca ([206.47.199.87])
 by simmts5-srv.bellnexxia.net
 (InterMail vM.5.01.06.13 201-253-122-130-113-20050324)
 with ESMTP id <20080223164956.MZHM11874.simmts5-srv.bellnexxia.net@simip9.srvr.bell.ca> for
 <tyler.smith@mail.mcgill.ca>; Sat, 23 Feb 2008 11:49:56 -0500
Received: from localhost by simip9.srvr.bell.ca; Sat, 23 Feb 2008 11:49:41 -0500
Date: Sat, 23 Feb 2008 11:49:41 -0500
From: Mail Delivery System <MAILER-DAEMON@simip9-icn.isp.intranet.bell.ca>
Subject: Delivery Status Notification (Failure)
To: tyler.smith@mail.mcgill.ca
Message-id: <6m3tvg$tof84@simip9-icn.isp.intranet.bell.ca>
MIME-version: 1.0
Content-type: multipart/report;
 boundary="Boundary_(ID_KthlYq3kaQlI1oWpU+Y24A)"; report-type=delivery-status
X-PMX-Version: 5.4.0.320885, Antispam-Engine: 2.5.2.313940,
 Antispam-Data: 2008.2.23.83429
X-McGill-WhereFrom: External
X-PerlMx-Spam: Probability=7%, RuleHits=__CT 0, __CTYPE_HAS_BOUNDARY 0,
 __CTYPE_MULTIPART 0, __FRAUD_419_SUBJ_A 0, __HAS_MSGID 0, __MIME_VERSION 0,
 __SANE_MSGID 0
Status: RO
Content-Length: 1444
Lines: 37


--Boundary_(ID_KthlYq3kaQlI1oWpU+Y24A)
Content-type: text/plain; CHARSET=us-ascii

The following message to <tyler@sedgenet> was undeliverable.
The reason for the problem:
5.1.1 - Bad destination email address 'invalid domain "sedgenet": no dot found'

--Boundary_(ID_KthlYq3kaQlI1oWpU+Y24A)
Content-type: message/delivery-status

Final-Recipient: rfc822;tyler@sedgenet
Action: failed
Status: 5.0.0 (permanent failure)
Diagnostic-Code: smtp; 5.1.1 - Bad destination email address 'invalid domain "sedgenet": no dot found' (delivery attempts: 0)
Reporting-MTA: dns; simip9-icn.isp.intranet.bell.ca

--Boundary_(ID_KthlYq3kaQlI1oWpU+Y24A)
Content-type: message/rfc822

Received: from hlfxns0149w-142068243041.pppoe-dynamic.ns.aliant.net
 (HELO blackbart.sedgenet) ([142.68.243.41])  by alconsout.srvr.bell.ca with
 ESMTP; 23 Feb 2008 11:49:39 -0500
Received: from hlfxns0149w-142068243041.pppoe-dynamic.ns.aliant.net
 (HELO blackbart.sedgenet) ([142.68.243.41])  by alconsout.srvr.bell.ca with
 ESMTP; 23 Feb 2008 11:49:39 -0500
Received: from tyler by blackbart.sedgenet with local (Exim 4.69)
	(envelope-from <tyler.smith@mail.mcgill.ca>)
	id 1JSxZQ-0008U2-2T	for tyler@sedgenet; Sat, 23 Feb 2008 12:49:52 -0400
Date: Sat, 23 Feb 2008 12:49:52 -0400
From: tyler <tyler.smith@mail.mcgill.ca>
Subject: Output from your job        3
To: tyler@sedgenet
Message-id: <E1JSxZQ-0008U2-2T@blackbart.sedgenet>


--Boundary_(ID_KthlYq3kaQlI1oWpU+Y24A)--


Reply to: