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



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

2003-03-19 Thread Rob Short
I tried the 
|/home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

line earlier this morning. No avail - I got syntax errors on that line.
I think I'm moving this to an alternate server that calls spamassassin
and trophie from qmail-scanner.

Thanks for the suggestions.

Rob

> -Original Message-
> From: Peter Palmreuther [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 19, 2003 10:31 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] forwarding a while domain regardless of users
> 
> Hi Rob,
> 
> On Wed, 19 Mar 2003 08:10:19 -0600 "Rob Short" wrote:
> 
> > I'm using maildrop to call trophie / spamassassin on a per user /
per
> > domain basis. (I wish it were as easy as rcpthosts, and maybe it
still
> > is, but my understanding was that since vpopmail comes after qmail
in
> > the mail delivery sequence, I couldn't use it, since vpopmail does
my
> > virus / spam scanning via maildrop calls...) Apologies for not
including
> > that info in my earlier mail.
> 
> So you want SA & trophie to scan on per user basis, but don't want to
> tell the users ... good idea.
> 
> Nevertheless: give this a try:
> 
> |/home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
> 
> in
> 
> /home/vpopmail/domains/this.com/.qmail-default
> 
> How to include SA and/or trophie in this I'll leave up to you as your
> home work. Hint: read 'qmail.command.8'
> --
> Pit
> 





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

2003-03-19 Thread Peter Palmreuther
Hi Rob,

On Wed, 19 Mar 2003 08:10:19 -0600 "Rob Short" wrote:

> I'm using maildrop to call trophie / spamassassin on a per user / per
> domain basis. (I wish it were as easy as rcpthosts, and maybe it still
> is, but my understanding was that since vpopmail comes after qmail in
> the mail delivery sequence, I couldn't use it, since vpopmail does my
> virus / spam scanning via maildrop calls...) Apologies for not including
> that info in my earlier mail.

So you want SA & trophie to scan on per user basis, but don't want to
tell the users ... good idea.

Nevertheless: give this a try:

|/home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

in 

/home/vpopmail/domains/this.com/.qmail-default

How to include SA and/or trophie in this I'll leave up to you as your
home work. Hint: read 'qmail.command.8'
-- 
Pit



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

2003-03-19 Thread Rob Short
I'm using maildrop to call trophie / spamassassin on a per user / per
domain basis. (I wish it were as easy as rcpthosts, and maybe it still
is, but my understanding was that since vpopmail comes after qmail in
the mail delivery sequence, I couldn't use it, since vpopmail does my
virus / spam scanning via maildrop calls...) Apologies for not including
that info in my earlier mail.


Rob

> -Original Message-
> From: Rick Romero [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 19, 2003 8:03 AM
> To: Rob Short
> Cc: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] forwarding a while domain regardless of users
> 
> On Wed, 2003-03-19 at 07:56, Rob Short wrote:
> > 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.
> 
> You don't need vpopmail to forward domains, just add the domain in
> /var/qmail/control/rcpthosts
> and add a route in smtproutes:
> theirdomain.com:1.2.3.4
> 
> I do this at vfemail.net.  (Of course, if you're not using
qmail-scanner
> to call SpamAssassin and Trophie, the email won't get scanned.)
> 
> Does the qmail-smtpd patch work for that kind of setup?  No users
would
> exist for that domain...
> 
> Rick
> 
> >
> >
> > Rob Short
> 
> 
> 





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

2003-03-19 Thread Rick Romero
On Wed, 2003-03-19 at 07:56, Rob Short wrote:
> 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.

You don't need vpopmail to forward domains, just add the domain in 
/var/qmail/control/rcpthosts
and add a route in smtproutes:
theirdomain.com:1.2.3.4 

I do this at vfemail.net.  (Of course, if you're not using qmail-scanner
to call SpamAssassin and Trophie, the email won't get scanned.)

Does the qmail-smtpd patch work for that kind of setup?  No users would
exist for that domain...

Rick

> 
> 
> 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




[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