Re: exim question

2002-02-21 Thread Peter Billson
Ward,
  Yes, it really does work for me.

  I thought the point of the original poster is that he wanted any
address that didn't match a real user (and I assume another alias) to be
delivered to a particular mailbox. He wanted the alias file to never
fail.

  The original poster didn't mention that he was doing virtual domains
on the box. To do virtual hosts I configure exim to use multiple alias
files (one for each domain) and then the *: rule would go in the
appropriate alias file. Trying to do virtual domains in one alias file
is troublesome and the *: rule in that case would probably be bad.

Pete

  

Ward Willats wrote:
> 
> Pete:
> 
> >In your alias file, as your last rule, put
> >
> >*:   username
> >
> 
> Does that really work for you? I had trouble with it because
> with a line like this, the alias file can never fail. Exim would
> qualify "username" and run it through again, it would also run
> any aliases generated by other rules in the file through a
> second time, and wind up mapping lots of addresses to
> "[EMAIL PROTECTED]"
> 
> Maybe I just ran into trouble since I have include_domain on
> and explicitly handle several virtual domains in my aliases
> filebut the *: construct was a big enough gun that I
> sure blew my foot off with it!
> 
> -- Ward
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting




Re: exim question

2002-02-21 Thread Peter Billson

Ward,
  Yes, it really does work for me.

  I thought the point of the original poster is that he wanted any
address that didn't match a real user (and I assume another alias) to be
delivered to a particular mailbox. He wanted the alias file to never
fail.

  The original poster didn't mention that he was doing virtual domains
on the box. To do virtual hosts I configure exim to use multiple alias
files (one for each domain) and then the *: rule would go in the
appropriate alias file. Trying to do virtual domains in one alias file
is troublesome and the *: rule in that case would probably be bad.

Pete

  

Ward Willats wrote:
> 
> Pete:
> 
> >In your alias file, as your last rule, put
> >
> >*:   username
> >
> 
> Does that really work for you? I had trouble with it because
> with a line like this, the alias file can never fail. Exim would
> qualify "username" and run it through again, it would also run
> any aliases generated by other rules in the file through a
> second time, and wind up mapping lots of addresses to
> "username@qualify_domian"
> 
> Maybe I just ran into trouble since I have include_domain on
> and explicitly handle several virtual domains in my aliases
> filebut the *: construct was a big enough gun that I
> sure blew my foot off with it!
> 
> -- Ward
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim question

2002-02-21 Thread Ward Willats
Pete:
In your alias file, as your last rule, put
*:   username
Does that really work for you? I had trouble with it because
with a line like this, the alias file can never fail. Exim would
qualify "username" and run it through again, it would also run
any aliases generated by other rules in the file through a
second time, and wind up mapping lots of addresses to
"[EMAIL PROTECTED]"
Maybe I just ran into trouble since I have include_domain on
and explicitly handle several virtual domains in my aliases
filebut the *: construct was a big enough gun that I
sure blew my foot off with it!
-- Ward



Re: exim question

2002-02-21 Thread Ward Willats

Pete:

>In your alias file, as your last rule, put
>
>*:   username
>

Does that really work for you? I had trouble with it because
with a line like this, the alias file can never fail. Exim would
qualify "username" and run it through again, it would also run
any aliases generated by other rules in the file through a
second time, and wind up mapping lots of addresses to
"username@qualify_domian"

Maybe I just ran into trouble since I have include_domain on
and explicitly handle several virtual domains in my aliases
filebut the *: construct was a big enough gun that I
sure blew my foot off with it!

-- Ward


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim question

2002-02-21 Thread brad

Can anyone tell me how you'd do same in postfix?

b.

On Thu, 2002-02-21 at 11:31, Peter Billson wrote:
> In your alias file, as your last rule, put
> 
> *:   username
> 
> where username is the account the mail should goto. Username can also be
> a remote address i.e. [EMAIL PROTECTED]
> 
> Pete
> -- 
> http://www.elbnet.com
> ELB Internet Services, Inc.
> Web Design, Computer Consulting, Internet Hosting
> 
> 
> Bernie Berg wrote:
> > 
> > im running potato with the unstable packages.  How do I get exim to spit 
> > all mail that there isn't a user defined for to a certain mail box? so 
> > "[EMAIL PROTECTED]" goes to "[EMAIL PROTECTED]"
> > 
> > thanks!
> > bernie
> > 
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
-- 

cheers,

Brad Thomson
[EMAIL PROTECTED]
phone: 0421 920 497


signature.asc
Description: This is a digitally signed message part


Re: exim question

2002-02-21 Thread Peter Billson
In your alias file, as your last rule, put

*:   username

where username is the account the mail should goto. Username can also be
a remote address i.e. [EMAIL PROTECTED]

Pete
-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting


Bernie Berg wrote:
> 
> im running potato with the unstable packages.  How do I get exim to spit all 
> mail that there isn't a user defined for to a certain mail box? so "[EMAIL 
> PROTECTED]" goes to "[EMAIL PROTECTED]"
> 
> thanks!
> bernie
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim question

2002-02-21 Thread brad


Can anyone tell me how you'd do same in postfix?

b.

On Thu, 2002-02-21 at 11:31, Peter Billson wrote:
> In your alias file, as your last rule, put
> 
> *:   username
> 
> where username is the account the mail should goto. Username can also be
> a remote address i.e. [EMAIL PROTECTED]
> 
> Pete
> -- 
> http://www.elbnet.com
> ELB Internet Services, Inc.
> Web Design, Computer Consulting, Internet Hosting
> 
> 
> Bernie Berg wrote:
> > 
> > im running potato with the unstable packages.  How do I get exim to spit all mail 
>that there isn't a user defined for to a certain mail box? so 
>"[EMAIL PROTECTED]" goes to "[EMAIL PROTECTED]"
> > 
> > thanks!
> > bernie
> > 
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
-- 

cheers,

Brad Thomson
[EMAIL PROTECTED]
phone: 0421 920 497



signature.asc
Description: This is a digitally signed message part


Re: exim question

2002-02-20 Thread Peter Billson

In your alias file, as your last rule, put

*:   username

where username is the account the mail should goto. Username can also be
a remote address i.e. [EMAIL PROTECTED]

Pete
-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting


Bernie Berg wrote:
> 
> im running potato with the unstable packages.  How do I get exim to spit all mail 
>that there isn't a user defined for to a certain mail box? so 
>"[EMAIL PROTECTED]" goes to "[EMAIL PROTECTED]"
> 
> thanks!
> bernie
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim question

2002-02-20 Thread Ward Willats
At 6:30 PM -0600 2/20/02, Bernie Berg wrote:
im running potato with the unstable packages.  How do I get exim to 
spit all mail that there isn't a user defined for to a certain mail 
box? so "[EMAIL PROTECTED]" goes to 
"[EMAIL PROTECTED]"
1. An alias file:
system_aliases:
  driver = aliasfile
  file   = /etc/aliases
  file_transport = address_file
  search_type= lsearch*@
  include_domain = true
where /etc/aliases contains:
[EMAIL PROTECTED]: [EMAIL PROTECTED]
2. A catch all at the end of the director chain (after localuser):
catch_all:
  driver = smartuser
  domains= domain.com
  new_address= [EMAIL PROTECTED]
-- Ward



Re: exim question

2002-02-20 Thread Ward Willats

At 6:30 PM -0600 2/20/02, Bernie Berg wrote:
>im running potato with the unstable packages.  How do I get exim to 
>spit all mail that there isn't a user defined for to a certain mail 
>box? so "[EMAIL PROTECTED]" goes to 
>"[EMAIL PROTECTED]"

1. An alias file:

system_aliases:
   driver = aliasfile
   file   = /etc/aliases
   file_transport = address_file
   search_type= lsearch*@
   include_domain = true

where /etc/aliases contains:

*@domain.com: [EMAIL PROTECTED]


2. A catch all at the end of the director chain (after localuser):

catch_all:
   driver = smartuser
   domains= domain.com
   new_address= [EMAIL PROTECTED]


-- Ward


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]