Hi Peter,

To deliver [EMAIL PROTECTED] locally, you can add an entry in
'virtualdomains' rather than smtproutes:

[EMAIL PROTECTED]:localuser

You can then use .qmail files under the 'localuser' account to forward
wherever you like, e.g. create /home/localuser/.qmail-noforward with
forwarding to another local mailbox, or use something like vmailmgr
(http://www.vmailmgr.org) for virtual mailboxes.


Cheers,


Stuart


-----Original Message-----
From: Peter Rundle [mailto:[EMAIL PROTECTED] 
Sent: Friday, 1 October 2004 11:44 AM
To: slug
Subject: [SLUG] Qmail smtproutes 


Sluggers,

I have a linux box which accepts mail for my domain and scans it before 
sending it onto the real mail server behind the firewall. Qmail is 
configured with an entry in smtproutes to do this.

Now I want to stop just some e-mail addresses in the domain from being 
forwarded and instead have them stored locally on the linux box. I thought 
that if I created the user locally on the linux box with a ~/.qmail file 
that the mail would be delivered there but apparently not. So I thought 
maybe we need specific entries in smtproutes so that they are caught before 
being matching the domain line

i.e smtproutes

   [EMAIL PROTECTED]:linuxbox
   my.domain.com:realmailserver

But that doesn't work either. Have I got the syntax for smtproutes wrong or 
am I barking up the wrong tree?


Cluesticks?

TIA's

P.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to