I'm not sure if there is anything to fix or solve.
When a mail is delivered to the account, the mail will be stamped with a
Delivered-To: tag. That way qmail knows that the mail is looped, and will
bounce the mail.
I see from the ChangLog that vdelivermail supports Delivered-To back to at
least 3.4.11-2, so this is supported in 4.9.10.
Remove the forwarding or .qmail file in
/home/vpopmail/domains/xyz.com/sales/, send [EMAIL PROTECTED] a mail. Check the
heading for this:
Delivered-To: [EMAIL PROTECTED]
If it's not there on top of the heading, there is something wrong. If it's
there, no way that the mail is looping.
NB! I'm using extra scripts delivering mail directly to subfolders with help
from maildirdeliver. This piece of software does not add the Delivered-To
line to the mailheader, so in front of this program I have to use preline -f
like this:
|preline -f maildirdeliver
/home/vpopmail/domains/bordewich.net/postmaster/Maildir/
to get the Delivered-To added.
PS! I prefer replies to the list, not directly to my address. Other might
need the info!
--
--------------------------------------------
IDG New Media Einar Bordewich
Development Manager Phone: +47 2336 1420
E-Mail: eibo(at)newmedia.no
Lat: 59.91144 N Lon: 10.76097 E
--------------------------------------------
----- Original Message -----
From: "Divyank Turakhia" <[EMAIL PROTECTED]>
To: "Einar Bordewich" <[EMAIL PROTECTED]>
Sent: Wednesday, August 22, 2001 8:14 PM
Subject: RE: Forward causes mail to go into Infinite loop
> i have qmail-1.03 / vpopmail-4.9.10 / qmailadmin0.45 -
>
> is this solved in the development release???
>
> Divyank
>
> > -----Original Message-----
> > From: Einar Bordewich [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 22, 2001 6:46 PM
> > To: vpopmail
> > Subject: Re: Forward causes mail to go into Infinite loop
> >
> >
> > Which versions of software are you running?
> >
> > My qmail-1.03/vpopmail-4.10.32/qmailadmin-0.76ac3 composition detected
the
> > loop, and bonced it based on the Delivered-To: information.
> >
> > --
> > --------------------------------------------
> > IDG New Media Einar Bordewich
> > Development Manager Phone: +47 2336 1420
> > E-Mail: eibo(at)newmedia.no
> > Lat: 59.91144 N Lon: 10.76097 E
> > --------------------------------------------
> >
> > ----- Original Message -----
> > From: "Divyank Turakhia" <[EMAIL PROTECTED]>
> > To: "vpopmail" <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 22, 2001 11:12 AM
> > Subject: Forward causes mail to go into Infinite loop
> >
> >
> > > I have a virtual domain called xyz.com and a pop account called
> > sales . I
> > > have installed vpopmail + qmailadmin . In qmail admin I can login as
the
> > > user sales and create a redirect for my pop account. This would create
a
> > > .qmail file with the email address that I choose to forward all mails
> > coming
> > > to this POP Account.
> > >
> > > The Problem arises when i choose my redirect as the same as my POP
Mail
> > > Address. i.e. the contents of my
> > /home/vpopmail/domains/xyz.com/sales/.qmail
> > > is [EMAIL PROTECTED] , then all mail coming to [EMAIL PROTECTED] will go in an
> > > infinite loop. This will keep adding to the disk space usage
> > and make the
> > > disk completely full. this happened to one of my servers - a small
text
> > > mail managed to cover up 16gb of HDD space all in
/var/qmail/queue/mess
> > dir
> > > in just one night.
> > >
> > > How do i make sure that the email is cleaned up if it forwards to
itself
> > and
> > > not go into an infinite loop???
> > >
> > > Divyank
> > >
> > >
> > >
> > >
> > >
> >
>
>