Re: exim rewrite, sorry

2001-09-27 Thread Giulio Morgan
> "Osamu" == Osamu Aoki <[EMAIL PROTECTED]> writes:

Osamu> On Wed, Sep 26, 2001 at 11:09:15PM -0700, Osamu Aoki wrote:
>> I had similar issue with my machine.  If qualify domain is pointing to
>> domain I set up system for it did not work.  But using alternative
>> domain name which match with filter entry activated filter.
Osamu> Oops, many typo and broken English.  Well to follow-up, I am making
Osamu> hostname/domain name seen by "hostname -f" and exim config qualify
Osamu> domain name different.  I hope it is clear.  -- ~\^o^/~~~ ~\^.^/~~~
Osamu> ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ + Osamu Aoki
Osamu> <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D + + My debian
Osamu> quick-reference, http://www.aokiconsulting.com/quick/ +


Thank you for the replies and the help - I eventually solved the problem, in
case you are interested, the error was with the upper and lower case "SanMarco"
local host/domain. Exim wouldn't rewrite the addresses because of a case
problem. Thanks again,

-- 
Giulio



Re: exim rewrite, sorry

2001-09-27 Thread Osamu Aoki
On Wed, Sep 26, 2001 at 11:09:15PM -0700, Osamu Aoki wrote:
> I had similar issue with my machine.  If qualify domain is pointing to
> domain I set up system for it did not work.  But using alternative
> domain name which match with filter entry activated filter.
Oops, many typo and broken English.  Well to follow-up, I am making
hostname/domain name seen by "hostname -f" and exim config qualify
domain name different.  I hope it is clear.
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://www.aokiconsulting.com/quick/+



Re: exim rewrite, sorry

2001-09-27 Thread Osamu Aoki
I had similar issue with my machine.  If qualify domain is pointing to
domain I set up system for it did not work.  But using alternative
domain name which mach with filter entry activated filter.

It looks like in smarthost environment, local mail without domain
descrioption always forwarded to host.  ( I got error from @home MTA)

Suppose your host domain is set to "SanMarco"

On Wed, Sep 26, 2001 at 06:38:34PM -0400, Giulio Morgan wrote:
> I can't make my exim rewrite line work...on a dial-up machine, no domain
> 
> Here are what I think are the pertinent parts of my exim.conf
> 
qualify_domain = noSanMarco.fake

> 
># qualify_recipient =
> 
local_domains = localhost:noSanMarco.fake
> 
[EMAIL PROTECTED]${lookup{$1}lsearch{/etc/email-addresses}\
> {$value}fail} bcfrF
> 
Try some variation until you get exim -brw right. 

Good luck.
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://www.aokiconsulting.com/quick/+



Re: exim rewrite, sorry

2001-09-26 Thread ktb
On Wed, Sep 26, 2001 at 06:38:34PM -0400, Giulio Morgan wrote:
> I can't make my exim rewrite line work...on a dial-up machine, no domain
> 
> Here are what I think are the pertinent parts of my exim.conf
> 
>qualify_domain = SanMarco
> 
># qualify_recipient =
> 
>local_domains = localhost:SanMarco
> 
>[EMAIL PROTECTED]${lookup{$1}lsearch{/etc/email-addresses}\
   ^
   should be your hostname + local domain
> {$value}fail} bcfrF
> 
> >From /etc/email-addresses
> giulio: [EMAIL PROTECTED] 
  ^  
this should be your username


> 
> I know this is a problem which has been asked many times before, but after two
> frustrating days...I'm sorry for one more time
> 
> Thank you very much for any help

My computer's hostname = scab
 domain= nixnotes.org
 user name = kent
  email address I want = [EMAIL PROTECTED]

So I have the following -

/etc/email-addresses
kent: [EMAIL PROTECTED]

/etc/exim.conf
qualify_domain = scab.nixnotes.org
local_domains = localhost:scab.nixnotes.org

[EMAIL PROTECTED]${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} bcfrF

Make sure you restart exim -
# /etc/init.d/exim reload

hth,
kent

-- 
"The significant problems we face cannot be solved at the
   same level of thinking we were at when we created them."
 --Albert Einstein