From owner-freebsd-questions Fri Aug 10 2:57:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.ehsrealtime.com [213.52.146.137]) by hub.freebsd.org (Postfix) with ESMTP id 1BE7837B403 for ; Fri, 10 Aug 2001 02:57:52 -0700 (PDT) (envelope-from wayne@penguinpowered.org.uk) Received: from madadmin.demon.co.uk ([193.237.103.251] helo=marvin.penguinpowered.org.uk) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 15V93A-0007Xc-01; Fri, 10 Aug 2001 10:57:53 +0100 Received: from [192.168.10.11] (helo=pan.realtime.co.uk) by marvin.penguinpowered.org.uk with esmtp (Exim 3.22 #1) id 15V8xq-0006lH-00; Fri, 10 Aug 2001 10:52:22 +0100 Received: from waynep by pan.realtime.co.uk with local (Exim 3.22 #1) id 15V92M-0008h6-00; Fri, 10 Aug 2001 10:57:02 +0100 From: Wayne Pascoe To: wayne.pascoe@realtime.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Gnus and exim - Machine name appears in headers References: <86ae1cji9r.fsf@pan.home.penguinpowered.org.uk> Reply-To: wayne.pascoe@realtime.co.uk Date: 10 Aug 2001 10:57:02 +0100 In-Reply-To: <86ae1cji9r.fsf@pan.home.penguinpowered.org.uk> Message-ID: <86pua4i6fl.fsf@pan.home.penguinpowered.org.uk> Lines: 45 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wayne Pascoe writes: > Hi all, > > I am using gnus in xemacs as my mail client and exim as my MTA. > When I do a mailq on the server after sending a message from gnus, I > get something along the lines of the following : > > 3m 1.1K 15U3fP-0006JC-01 > recipient@somedomain.com > > My problem is that the address that should show up in place of > waynep@pan.domain.com is wayne.pascoe@domain.com > Because it is using the user@host value here, I am not able to mail > certain servers. I get the following kinds of messages in my exim > mainlog: > > 2001-08-07 11:01:02 15U3fP-0006JC-01 SMTP error from remote mailer > after RCPT TO:: host smtp1.somedomain.com > [64.40.111.31]: 450 : Sender address > rejected: Domain not found Ok, this is a solution in case anyone else gets whacked with this kind of problem. The problem is mostly that *nix mailers behave as they should, not how Outlook express does :) This means that by default the envelope from address is user@hostname. What I have done to get around this is to add a rewrite rule to my exim.conf file as follows : *@pan.domain.com ${lookup{$1}lsearch{/etc/mail/email-addresses}\ {$value}fail} bcfrF This goes in the rewrite section The contents of /etc/mail/email-addresses are quite simply waynep: wayne.pascoe@realtime.co.uk This means that all outgoing mail is re-written with a returnable envelope-from address. Hope that helps someone . -- - Wayne Pascoe E-mail: wayne.pascoe@realtime.co.uk Phone : +44 (0) 20 7544 4668 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message