I am using the idea of having a domain alias, and then having the following
in the .qmail-domain-default

----
|vbscheck
|preline -dr /var/qmail/bin/qmail-remote mail.domain2.com $SENDER $RECIPIENT
----

Where vbscheck scans for typical vbs scripts/virus's in attachments and
returns an exit status whether to continue or not. That part isn't the issue
though.

The issue is that mailer-daemon bounce messages never go back to the
original sender, and I see the following in the logs.

----
deferral: DI_(qmail-remote)_was_invoked_improperly._(#5.3.5)/
----

If anyone has any idea's how to get around this problem, I would be forever
grateful.

(By the way, I can't use the QMAILQUEUE filter patch because I'm using
qmail+pgsql, and applying the two patches together fails.)

Regards,

Andrew P Blogg

System Administrator
GPL (Aust) Pty Ltd
BrightFox Internet Solutions
http://www.gpl.com.au
http://www.brightfox.com.au
mailto:[EMAIL PROTECTED]


To: Someone <one@xxxxxxxxxxxxxxxxxx <mailto:[EMAIL PROTECTED]>>,
qmail@xxxxxxxxxxxxx <mailto:[EMAIL PROTECTED]> 
Subject: Re: Forward Domain 
From: David Krix <krix@xxxxxxxxxxxxxxx <mailto:[EMAIL PROTECTED]>> 
Date: Tue, 20 Feb 2001 08:37:32 +0100 
Delivered-to: mailing list [EMAIL PROTECTED] 
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm 
References: <[EMAIL PROTECTED]
<msg01128.html>><002001c09b3c$0cd4f580$[EMAIL PROTECTED] <msg01129.html>>


You can do it with qmail. But a line like

domain2.com:alias-domain2

into virtualhosts

and create a file in ~alias named .qmail-domain2-default looking like this
(all in one line)

|preline -dr /var/qmail/bin/qmail-remote mail.domain2.com $SENDER $RECIPIENT

That should do it.

David


----- Original Message -----
From: "Someone" <[EMAIL PROTECTED]>
To: "Hubbard, David" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 1:52 PM
Subject: Re: Forward Domain


> Thank you,
> But you mean set on DNS server ?
> Qmail can't do it ?
>
> someone
> ----- Original Message -----
> From: Hubbard, David <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 20, 2001 5:17 AM
> Subject: RE: Forward Domain
>
>
> > Yes, they're called MX records:
> >
> > domain1.com. IN MX 1 domain1.mail.server.
> > domain2.com. IN MX 1 domain2.mail.server.
> >
> > Dave
> >
> > -----Original Message-----
> > From: Someone [<mailto:[EMAIL PROTECTED]>]
> > Sent: Tuesday, February 20, 2001 7:05 AM
> > To: [EMAIL PROTECTED]
> > Subject: Forward Domain
> >
> >
> > Hi, All
> >
> > Qmail can check and forward domain to other mail server ?
> > such as
> > in mail server
> > If [EMAIL PROTECTED] forward to xxx mail server
> > else If [EMAIL PROTECTED] forward to yyy mail server
> > How ?
> >
> > thank-you
> > someone
> >
>

Reply via email to