[vchkpw] forwarding a while domain regardless of users

2003-03-19 Thread Rob Short


I have a client asking me to act as a sort of bypass for their mail. I
have spam and virus checking installed using spamassassin and trophie,
and need to forward all users that come in addressed to a certain domain
to another. They add and delete up to 20 users a day, but they don't
want to have to add and delete them on their server *and* on my server. 

i.e., I receive a mail for [EMAIL PROTECTED], and I need to forward it to
[EMAIL PROTECTED], but I can't have vpopmail look to see if
[EMAIL PROTECTED] exists on my server - it just needs to know that
this.com exists, and all users are valid for that domain. The client
will handle that on their mailserver when I forward them the mail. Is
there a way to do this with vpopmail? I'm using qmail with maildrop,
BTW.



Rob Short




[vchkpw] forwarding a while domain regardless of users

2003-03-19 Thread Rob Short
Should read forwarding a WHOLE domain...apologies.

Rob Short




Re: [vchkpw] forwarding a while domain regardless of users

2003-03-19 Thread Peter Palmreuther
Hi Rob,

On Wed, 19 Mar 2003 10:36:24 -0600 Rob Short wrote:

 I tried the 
 |/home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
 
 line earlier this morning. No avail - I got syntax errors on that line.

So _who exactly_ reported that syntax error?

I've just set up an additional domain, for testing purposes only, that
was modified to have a .qmail-default exactly as given above (execept
'that.com' replaced by another domain).

What should I say ... it worked _immediately_.

'pitpalme.de' is the primary domain, 'asdfg.pitpalme.de' the new
test domain.

,-
| info msg 945386: bytes 246 from [EMAIL PROTECTED] qp 4783 uid 0
| starting delivery 52: msg 945386 to local \
|   [EMAIL PROTECTED]
| status: local 1/10 remote 0/20
| new msg 945395
| info msg 945395: bytes 358 from [EMAIL PROTECTED] qp 4788 uid 89
| starting delivery 53: msg 945395 to remote [EMAIL PROTECTED]
`-

Line wrapping escaped with '\' inserted manually to avoid ugly wrapping
in this email.

So you see ... it works.

 I think I'm moving this to an alternate server that calls spamassassin
 and trophie from qmail-scanner.

If you like ... do that. But be assured it would work without that work
araound. :-)
-- 
Pit