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

Re: eximconfig

On Mon, Apr 30, 2001 at 01:25:28AM +0000, Robin Gerard wrote:
> On Sat, Apr 28, 2001 at 08:04:59PM -0500, ktb wrote:
> > On Sun, Apr 29, 2001 at 01:24:33AM +0100, Brian Potkin wrote:
> > > On Sat, Apr 28, 2001 at 06:12:40PM -0500, ktb wrote:
> > > 
> > > > You can also cheat and put something similar in your ~/.muttrc -
> > > > my_hdr From: ktb <x.y.f@home.com>
> > > > kent
> > > 
> > > I would say that the response in your previous email is more
> > > appropriate.   That method can be used to rewrite the envelope From
> > > address which I think is used to form the sender line.  The my_hdr From:
> > > in .muttrc only touches the from: header within the message body.
> > 
> > Ya that's why it's a "cheat."  He said his mail is working.  Having
> > "Reply-To:" or "From:" written by mutt would at least allow people to
> > reply to him.  Course I don't see "toto@free.fr" in his header anyway.
> > kent 
> I thank you to spend your time with my problem.
> I did not give my true login_on_my_machine, it is not "toto",
> it is "robi" and it appears in the file .H of my message
> in var/spool/exim/input. I put in attached document this
> file.H.
> The header of the message that I receive by debian-user contains:
> Delivered-To:online.fr-robin.jag@free.fr (this is correct) 
> X envelope-Sender:robi@free.fr 
> (this is not correct because "robi" is my_login-on_my_machine 
> (the true) and "free.fr" is the domain name of my ISP. 
> The correct envelope is:
> X envelope-Sender:robin.jag@free.fr
> /etc/exim.conf:
> *debian    ${loockup{$1}lsearch{/etc/email-addresses}\
>                                                     {$value}fail} bcfrF
> /etc/host : debian
> in email-addresses I wrote:
> robi:robin.jag@free.fr
> but the change in this file takes no effect.
> Sorry to make trouble in your mailboxes with this matter.

I'm kind of blury eyed here at the moment but I will take a stab at
this.  Just to make sure it is "/etc/hosts" not "/etc/host" my default
/etc/hosts had something like -       localhost      debian.local       debian
IP for your box.  So my rewrite rule would look something like -
*debian.local    ${loockup{$1}lsearch{/etc/email-addresses}\
                                        {$value}fail} bcfrF

In my email-addresses I have the following.  My user name on the machine
is "kent" Note the space between the user name and email address.  Don't
know if it matters but... 
kent: ktb@nixnotes.org 

Now restart exim with -
# /etc/init.d/exim restart

If that doesn't work.  Run the command "hostname" and if it is different
than what you have in /etc/hosts run  -
hostname debian
         If that is the hostname in your /etc/hosts.
Restart exim.

If that doesn't work comment out the rewrite stuff at the bottom of
/etc/exim.conf and add this in it's place -

Restart exim.

If that doesn't work comment out the rewrite stuff at the bottom of
/etc/exim.conf and add this in it's place -
#*@debian.local    ktb@nixnotes.org    bcfrF
^^^^^^^^^^^^^	    ^^^^^^^^^^^^^
Local machine address.    Email you want your mail to go out with.

Restart exim.

Maybe I'm missing something here.  I'm a little worn out at the end of
the day.

 From seeing and seeing the seeing has become so exhausted
     First line of "The Panther" - R. M. Rilke

Reply to: