[vchkpw] Delivery Status Notification (Failure)

2008-04-24 Thread Andras Kende
Hello,

 

Can you tell me what is the best way to 

deal with "Delivery Status Notification (Failure)" 

notices if due to spammers faking sender from field?

 

 

Thanks,

 

Andras Kende

 



!DSPAM:4810e681120509070263458!


Re: [vchkpw] Re: Qmail Tap tap only incoming mail

2008-04-24 Thread Andrew Niemantsverdriet
That is what I was looking for thanks!

On Thu, Apr 24, 2008 at 12:39 PM, Robin Bowes
<[EMAIL PROTECTED]> wrote:
>
> Andrew Niemantsverdriet wrote:
>
> > Is it possible to make Qmail tap only tap the incoming mail? My
> > problem is that I am trying to get mail to deliver to two places to
> > ease the transition to a new mail server. Qmail tap allows that
> > functionality but breaks down on inter-domain email. The person who
> > sends it typically gets the mail in the new mail box and the person
> > receiving it does not get a copy depending on where the names are in
> > the qmail  tap control file. Is there a way to make qmail tap do what
> > I want it to do or is there a better solution?
> >
>
>  There's a better solution.
>
>  Set up qmail-qmqpd on the new server.
>
>  Replace qmail-queue with a symlink to qmail-qmqpc in the old server.
>
>  See [1], and [2].
>
>  R.
>
>  1. http://cr.yp.to/qmail/mini.html
>  2. "qmail", John R. Levine, O'Reilly
>
>
>  
>
>

!DSPAM:4810e2b9120501949112959!



[vchkpw] Re: Qmail Tap tap only incoming mail

2008-04-24 Thread Robin Bowes

Andrew Niemantsverdriet wrote:

Is it possible to make Qmail tap only tap the incoming mail? My
problem is that I am trying to get mail to deliver to two places to
ease the transition to a new mail server. Qmail tap allows that
functionality but breaks down on inter-domain email. The person who
sends it typically gets the mail in the new mail box and the person
receiving it does not get a copy depending on where the names are in
the qmail  tap control file. Is there a way to make qmail tap do what
I want it to do or is there a better solution?


There's a better solution.

Set up qmail-qmqpd on the new server.

Replace qmail-queue with a symlink to qmail-qmqpc in the old server.

See [1], and [2].

R.

1. http://cr.yp.to/qmail/mini.html
2. "qmail", John R. Levine, O'Reilly


!DSPAM:4810d3e7120501023650739!



Re: [vchkpw] Qmail Tap tap only incoming mail

2008-04-24 Thread Rick Romero

Maybe just rsync at regular intervals after initial replication?

You could also create a second local qmail install with an smtproutes
entry for the local domain to point to the new server.  Then add a
forward within a global maildrop filter using /var/qmail2/bin/forward
(which will use your 2nd install's smtproutes to hit the new box)

Either should get all incoming mail replicated.

Rick

On Thu, 2008-04-24 at 09:22 -0600, Andrew Niemantsverdriet wrote:
> That will not work for this particular migration. They need two
> separate systems for 6months as they test the new and be able to use
> the old one at any time.
> 
> That is why qmail tap looked ideal.
> 
> On Thu, Apr 24, 2008 at 8:57 AM, Wouter van der Schagt
> <[EMAIL PROTECTED]> wrote:
> > What i did was...
> >
> >  old server
> >  - Change TTL values in zonefile to 5 minutes and wait till it is propagated
> > (normally 1 day)
> >  - Create domain and popboxes on new server
> >  - Copy contents from old server to new server with scp (popboxes)
> >  - remove domain and popboxes from old server
> >  - Disable pop access on old server (with vmoduser -p domain.com)
> >  - change DNS settings and MX records for domains to point to new server
> >  - place domainname in /var/qmail/control/morercptshosts on old server so
> > qmail will still accept incoming mail
> >  - place domainname:ip_address_of_new server in
> > /var/qmail/control/smtproutes on old server to forward incoming mail to the
> > new server
> >  - after dns has propagated remove entries on old server from
> > /var/qmail/control/morercptshosts and /var/qmail/control/smtproutes files.
> >  - Change TTL back to normal
> >
> >  During a window of 5 minutes its possible clients (users) will try to
> > connect using pop to the old server, just tell them to try again later.
> >
> >
> >
> >  - Original Message - From: "Andrew Niemantsverdriet"
> > <[EMAIL PROTECTED]>
> >  To: 
> >  Sent: Thursday, April 24, 2008 10:48 PM
> >  Subject: [vchkpw] Qmail Tap tap only incoming mail
> >
> >
> >
> >
> >
> > > Is it possible to make Qmail tap only tap the incoming mail? My
> > > problem is that I am trying to get mail to deliver to two places to
> > > ease the transition to a new mail server. Qmail tap allows that
> > > functionality but breaks down on inter-domain email. The person who
> > > sends it typically gets the mail in the new mail box and the person
> > > receiving it does not get a copy depending on where the names are in
> > > the qmail  tap control file. Is there a way to make qmail tap do what
> > > I want it to do or is there a better solution?
> > >
> > > Thanks,
> > > _
> > > /-\ ndrew
> > >
> > >
> > >
> > >
> > >
> >
> >
> >  
> >
> >
> 
> 
> 


!DSPAM:4810b2c6120501403623091!



Re: [vchkpw] Qmail Tap tap only incoming mail

2008-04-24 Thread Wouter van der Schagt

Sorry, personally im not familiar with qmail-tap, just thought this could
help you. Goodluck in your endavors.

- Wouter
- Original Message - 
From: "Andrew Niemantsverdriet" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, April 24, 2008 11:22 PM
Subject: Re: [vchkpw] Qmail Tap tap only incoming mail



That will not work for this particular migration. They need two
separate systems for 6months as they test the new and be able to use
the old one at any time.

That is why qmail tap looked ideal.

On Thu, Apr 24, 2008 at 8:57 AM, Wouter van der Schagt
<[EMAIL PROTECTED]> wrote:

What i did was...

 old server
 - Change TTL values in zonefile to 5 minutes and wait till it is 
propagated

(normally 1 day)
 - Create domain and popboxes on new server
 - Copy contents from old server to new server with scp (popboxes)
 - remove domain and popboxes from old server
 - Disable pop access on old server (with vmoduser -p domain.com)
 - change DNS settings and MX records for domains to point to new server
 - place domainname in /var/qmail/control/morercptshosts on old server so
qmail will still accept incoming mail
 - place domainname:ip_address_of_new server in
/var/qmail/control/smtproutes on old server to forward incoming mail to 
the

new server
 - after dns has propagated remove entries on old server from
/var/qmail/control/morercptshosts and /var/qmail/control/smtproutes 
files.

 - Change TTL back to normal

 During a window of 5 minutes its possible clients (users) will try to
connect using pop to the old server, just tell them to try again later.



 - Original Message - From: "Andrew Niemantsverdriet"
<[EMAIL PROTECTED]>
 To: 
 Sent: Thursday, April 24, 2008 10:48 PM
 Subject: [vchkpw] Qmail Tap tap only incoming mail





> Is it possible to make Qmail tap only tap the incoming mail? My
> problem is that I am trying to get mail to deliver to two places to
> ease the transition to a new mail server. Qmail tap allows that
> functionality but breaks down on inter-domain email. The person who
> sends it typically gets the mail in the new mail box and the person
> receiving it does not get a copy depending on where the names are in
> the qmail  tap control file. Is there a way to make qmail tap do what
> I want it to do or is there a better solution?
>
> Thanks,
> _
> /-\ ndrew
>
>
>
>
>













!DSPAM:4810af1a12050192660!



Re: [vchkpw] Qmail Tap tap only incoming mail

2008-04-24 Thread Andrew Niemantsverdriet
That will not work for this particular migration. They need two
separate systems for 6months as they test the new and be able to use
the old one at any time.

That is why qmail tap looked ideal.

On Thu, Apr 24, 2008 at 8:57 AM, Wouter van der Schagt
<[EMAIL PROTECTED]> wrote:
> What i did was...
>
>  old server
>  - Change TTL values in zonefile to 5 minutes and wait till it is propagated
> (normally 1 day)
>  - Create domain and popboxes on new server
>  - Copy contents from old server to new server with scp (popboxes)
>  - remove domain and popboxes from old server
>  - Disable pop access on old server (with vmoduser -p domain.com)
>  - change DNS settings and MX records for domains to point to new server
>  - place domainname in /var/qmail/control/morercptshosts on old server so
> qmail will still accept incoming mail
>  - place domainname:ip_address_of_new server in
> /var/qmail/control/smtproutes on old server to forward incoming mail to the
> new server
>  - after dns has propagated remove entries on old server from
> /var/qmail/control/morercptshosts and /var/qmail/control/smtproutes files.
>  - Change TTL back to normal
>
>  During a window of 5 minutes its possible clients (users) will try to
> connect using pop to the old server, just tell them to try again later.
>
>
>
>  - Original Message - From: "Andrew Niemantsverdriet"
> <[EMAIL PROTECTED]>
>  To: 
>  Sent: Thursday, April 24, 2008 10:48 PM
>  Subject: [vchkpw] Qmail Tap tap only incoming mail
>
>
>
>
>
> > Is it possible to make Qmail tap only tap the incoming mail? My
> > problem is that I am trying to get mail to deliver to two places to
> > ease the transition to a new mail server. Qmail tap allows that
> > functionality but breaks down on inter-domain email. The person who
> > sends it typically gets the mail in the new mail box and the person
> > receiving it does not get a copy depending on where the names are in
> > the qmail  tap control file. Is there a way to make qmail tap do what
> > I want it to do or is there a better solution?
> >
> > Thanks,
> > _
> > /-\ ndrew
> >
> >
> >
> >
> >
>
>
>  
>
>

!DSPAM:4810ac80120501054450223!



Re: [vchkpw] Qmail Tap tap only incoming mail

2008-04-24 Thread Wouter van der Schagt

What i did was...

old server
- Change TTL values in zonefile to 5 minutes and wait till it is propagated 
(normally 1 day)

- Create domain and popboxes on new server
- Copy contents from old server to new server with scp (popboxes)
- remove domain and popboxes from old server
- Disable pop access on old server (with vmoduser -p domain.com)
- change DNS settings and MX records for domains to point to new server
- place domainname in /var/qmail/control/morercptshosts on old server so 
qmail will still accept incoming mail
- place domainname:ip_address_of_new server in /var/qmail/control/smtproutes 
on old server to forward incoming mail to the new server
- after dns has propagated remove entries on old server from 
/var/qmail/control/morercptshosts and /var/qmail/control/smtproutes files.

- Change TTL back to normal

During a window of 5 minutes its possible clients (users) will try to 
connect using pop to the old server, just tell them to try again later.




- Original Message - 
From: "Andrew Niemantsverdriet" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, April 24, 2008 10:48 PM
Subject: [vchkpw] Qmail Tap tap only incoming mail



Is it possible to make Qmail tap only tap the incoming mail? My
problem is that I am trying to get mail to deliver to two places to
ease the transition to a new mail server. Qmail tap allows that
functionality but breaks down on inter-domain email. The person who
sends it typically gets the mail in the new mail box and the person
receiving it does not get a copy depending on where the names are in
the qmail  tap control file. Is there a way to make qmail tap do what
I want it to do or is there a better solution?

Thanks,
_
/-\ ndrew







!DSPAM:48109ffb120509988676439!



[vchkpw] Maildrop autorespond problem

2008-04-24 Thread Jonathan Selander

Hi,

I run maildrop to sort spam into a special folder, but for some  
reason, it doesn't take the domain/user/.qmail file into account for  
autorespond etc. Perhaps vdelivermail requires an environment variable  
which i could import? Does anyone know which one if so?



This is my (somewhat hackish) maildroprc:
--

import EXT
import HOST

VPOPBIN="/var/lib/vpopmail/bin"
QMAILDIRMAKE="/var/qmail/bin/maildirmake"
VPOP="| /var/lib/vpopmail/bin/vdelivermail '' bounce-no-mailbox"

VUSERDIR=`$VPOPBIN/vuserinfo -d [EMAIL PROTECTED] | grep -v '^no such'`

`test -z $VUSERDIR`

if ($RETURNCODE == 0)
{
	ALIASUSER=`$VPOPBIN/valias -s [EMAIL PROTECTED] | /usr/bin/awk -F' -> '  
'{print $2}' | /bin/sed 's/^&//'`

VUSERDIR=`$VPOPBIN/vuserinfo -d $ALIASUSER`
}

VMAILDIR="$VUSERDIR/Maildir"
SPAMDIR="$VUSERDIR/Maildir/.Spam"

`test -d "$VUSERDIR/Maildir"`
if ($RETURNCODE == 1)
{
`exit 77`
}   

logfile "/var/log/maildrop.log"

if (/^X-Spam-Status: *YES/)
{
`test -d $SPAMDIR`
if ($RETURNCODE == 1)
{
		`/usr/bin/maildirmake.courier -f Spam $VMAILDIR && echo INBOX.Spam  
>> $VMAILDIR/courierimapsubscribed`

}
to $SPAMDIR/
}
else
{
#to $VMAILDIR/
to "$VPOP"
}


!DSPAM:48109efd120509039189208!



[vchkpw] Qmail Tap tap only incoming mail

2008-04-24 Thread Andrew Niemantsverdriet
Is it possible to make Qmail tap only tap the incoming mail? My
problem is that I am trying to get mail to deliver to two places to
ease the transition to a new mail server. Qmail tap allows that
functionality but breaks down on inter-domain email. The person who
sends it typically gets the mail in the new mail box and the person
receiving it does not get a copy depending on where the names are in
the qmail  tap control file. Is there a way to make qmail tap do what
I want it to do or is there a better solution?

Thanks,
 _
/-\ ndrew

!DSPAM:48109da6120501680752143!