Have anybody this working properly?

Wagner: It scares me the part where you said "We need to do it cause if you
create or modify an autoresponder and delete the autoresponder name all your
domain is deleted !!"  :)

The solution looks perfect to what I need but it will be installed in a
production server and it's not funny have the possibility of delete the
whole domain.

Please, let me know if someone have this working or any other similar
solution.

thanks in advance,
Pedro

-----Original Message-----
From: Wagner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 5:21 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: turning autoresponder to vacation


Hi Lu:

Here are the changes, good work!

Any problem, send me a message.

Wagner Garcia Campagner

----- Original Message -----
From: "Wagner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 4:44 PM
Subject: Re: QmailAdmin and Vpopmail and autoresponder problem


>
> ----- Original Message -----
> From: "Wagner" <[EMAIL PROTECTED]>
> To: "Oden Eriksson" <[EMAIL PROTECTED]>
> Sent: Wednesday, February 28, 2001 10:41 AM
> Subject: Re: QmailAdmin and Vpopmail and autoresponder problem
>
>
> > Good Morning Rick:
> >
> > I think i have the solution for your problem.
> >
> > To solve it i'll have to edit the autorespond.c file and the
> > add_forward.html and mod_autorespond.html files.
> >
> > First of all in the alias.c file:
> >
> > In the function addautorespondnow()      (about line 112)
> >
> > you have to coment the following lines:
> >
> > if ( check_local_user(ActionUser)) {
> >    fprint(actout, "<h2>%s %s</h2>\n", get_html_text("175"), ActionUser);
> >    addautorespond();
> >    exit(0);
> >    }
> >
> > To coment the line just put // in the begining of the line or you can
> delete
> > it if you want. Now you can create an autoresponder with the name of a
> user.
> >
> > Add the following lines in the addautorespond function:
> >
> > if ( strlen(ActionUser) == 0) {
> >    fprint(actout, "<h2>%s %s</h2>\n", get_html_text("176"), ActionUser);
> >    addautorespond();
> >    exit(0);
> >    }
> >
> > We need to do it cause if you create or modify an autoresponder and
delete
> > the autoresponder name all your domain is deleted !!
> >
> > Add this lines in the modautorespondnow() function  (about line 248)
too.
> >
> > if ( strlen(ActionUser) == 0) {
> >    fprint(actout, "<h2>%s %s</h2>\n", get_html_text("176"), ActionUser);
> >    addautorespond();
> >    exit(0);
> >    }
> >
> >
> > Now you just have to edit the .html files as follows:
> >
> > Add_autorespond.html => you have to delete the Owner Email Address field
> > cause it is not necessary.
> >
> > Mod_autorespond.html => you have to delete the Modify Autoresponder
field
> > cause it is not necessary.
> >
> > And it is ready for use just as you wish, you just have to compile it
> again
> > to make the changes.
> >
> > Example of use:  for example you have a domain called TEST.COM
> >                           and the following user: USER1, USER2, USER3
> >
> >                           with the changes above you can create an
> > autoresponder for USER1 (for example) telling that he/she is on a
> vacation.
> >
> >                           and you can create an autoresponder called
INFO
> > (for example) with some information, so everyone who sends e-mail for
> > [EMAIL PROTECTED] will receive the information you wrote on the
autoresponder.
> >
> >
> > I hope it is userfull for you and if you do these changes and have
> success,
> > plese write me back.
> >
> > Thank you       Wagner and Leandro.
> >
> >
> > ----- Original Message -----
> > From: "Oden Eriksson" <[EMAIL PROTECTED]>
> > To: "Rick Macdougall" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Tuesday, February 27, 2001 11:07 AM
> > Subject: Re: QmailAdmin and Vpopmail and autoresponder problem
> >
> >
> > > Rick Macdougall writes:
> > >
> > > > Hi,
> > > >
> > > > I'll look into doing that myself as it's a much requested feature.
> > Might
> > > > take awhile being new to qmail et al and being a little rusty in my
C.
> > > >
> > >
> > > One idea is to make a new maildir to pile up the mail in instead of
just
> > > forward the incoming mail. That maildir should mave the same name as
the
> > > autoresponder. The dot qmail file should in that case contain.
> > >
> > > User: john
> > > Domain: test.com
> > >
> > > Dot qmail file:
> > >
> > > |autorespond 10000 5 help_message help_autorespond
> > > /home/vpopmail/domains/test.com/john/.help_autorespond/Maildir
> > >
> > >
> > > What do you think?
> > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Ken Jones" <[EMAIL PROTECTED]>
> > > > To: "Rick Macdougall" <[EMAIL PROTECTED]>
> > > > Cc: <[EMAIL PROTECTED]>
> > > > Sent: Monday, February 26, 2001 6:03 PM
> > > > Subject: Re: QmailAdmin and Vpopmail and autoresponder problem
> > > >
> > > >
> > > > Rick Macdougall wrote:
> > > > >
> > > > > Hi Ken,
> > > > >
> > > > > But then what is the use of the autoresponder?  It acts as a
> vacation
> > type
> > > > > message, no?
> > > >
> > > > No. It's not for vacation type message.
> > > >
> > > > It's for automatically sending information back to the sender.
> > > > Like, "here are the directions to our location and hours we are
open".
> > > >
> > > > A vacation package would be really nice. Especially if users could
> > > > log into qmailadmin and turn it on/off.
> > > >
> > > > What might be a good change to the autoresponder code would be
> > > > to check if the from address = address of the autoresponder.
> > > > So it could prevent loops. Just my 2 cents
> > > >
> > > > Ken Jones
> > > >
> > > > >
> > > > > and if so, wouldn't the
> > > > > ./<username>/Maildir/
> > > > > instead of
> > > > > &<user>@somedomain.com
> > > > > fix the problem?
> > > > >
> > > > > REgards,
> > > > >
> > > > > Ric
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Ken Jones" <[EMAIL PROTECTED]>
> > > > > To: "Rick Macdougall" <[EMAIL PROTECTED]>
> > > > > Cc: <[EMAIL PROTECTED]>
> > > > > Sent: Monday, February 26, 2001 2:48 PM
> > > > > Subject: Re: QmailAdmin and Vpopmail and autoresponder problem
> > > > >
> > > > > Rick Macdougall wrote:
> > > > > >
> > > > > > Hi All,
> > > > > >
> > > > > > I'm using the latest version of QmailAdmin, Qmail, vpopmail and
> > > > > > autoresponder.
> > > > > >
> > > > > > I'm having a slight problem I can't seem to wrap my head around
> > using
> > > > > > vpopmail and the autoresponder.  If mail sent to a vpop user has
> an
> > > > > > autoresponder setup, the autoresponse works, but the original
> e-mail
> > is
> > > > > > bounced or not delivered.
> > > > >
> > > > > That's your problem. having a pop user and an autoresponder set up
> > > > > for the same email address wasn't the design idea.
> > > > >
> > > > > It's autoresponder OR pop account.
> > > > >
> > > > > >
> > > > > > As far as I can tell from digging around in various mailing
lists
> > and
> > > > > > archives, this is caused because the format of the .qmail-user
> file
> > is
> > > > as
> > > > > > follows
> > > > > >
> > > > > > | autoresponder x x message.txt directory_for_logging
> > > > > > &[EMAIL PROTECTED]
> > > > >
> > > > > You'll have a loop here. You are sending the email through the
> > > > > autoresponder, and sending a copy to the autoresponder. So each
> > > > > time an email goes into the autoresponder, you'll "auto responde
it"
> > > > > plus send an email back into the autoresponder. Endless loop.
> > > > >
> > > > > Ken Jones
> > > > >
> > > > > >
> > > > > > I think the problem is the &[EMAIL PROTECTED], which causes
the
> > > > message
> > > > > to
> > > > > > be re-injected into qmail and qmail rejects as a duplicate
because
> > of
> > > > the
> > > > > > Delivered-To line is already in the message from  the original
> > message.
> > > > > >
> > > > > > It appears the fix would be to change the second line to
something
> > like
> > > > > >
> > > > > > ./<user>/Maildir/
> > > > > >
> > > > > > but before I go around changing code, I want to make sure I'm on
> the
> > > > right
> > > > > > track and that I don't have a configuration problem.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > Rick
> > > >
> > > >
> > >
> > >
> > > --
> > > Kindest regards // Oden Eriksson
> >
>


Reply via email to