Create user with Lookupsenderinexternaldatabase and Sendermustexistinexternaldatabase

I saw that in EmailParser.pm there is a GetCurrenUser wich checks te
SenderMustExistinexternadatabase.
But I made some tests and noticed, that when a new mail arrives the
getcurrentuser sub that is executed is only the one in MailFrom in
Interface/Email/Auth.
So the variable set in RT_SiteConfig.pm is useless.

  1. Was this function used in an older version, and forgotten to move it
    to MailFrom?
  2. Could it be possible to insert this check in the new version?
  3. What about to insert a RT::EmailExternalAuto, like the Web one, to
    set if the new e-mail should create automatically a new account or not?

I another mail about this, but I don’t know how much sense it makes if I
change the code for my version, and then upgrade my version to the new
one, and all settings are gone.

Thanks for any response.

Samuel Senoner

I another mail about this, but I don’t know how much sense it makes if I
change the code for my version, and then upgrade my version to the new
one, and all settings are gone.

Hi Samuel,

You just place your site-specific objects in “local/lib” and "local/html"
directories. They are first looked up there.

And of course, when a new RT version arrives, it’s better to check if there
were some important changes in those files you’ve modified.

Cheers,
Stan

The changes I mean are to autohandler and EmailParser and MailFrom, so
it is more difficult.

How is the exact procedure for feature request or code changement for a
future package?

SamuelFrom: Stanislav Sinyagin [mailto:ssinyagin@yahoo.com]
Sent: Wednesday,23 July,2003 20:10
To: rt-devel@lists.fsck.com
Subject: Re: [rt-devel] Create user with Lookupsenderinexternaldatabase
and Sendermustexistinexternaldatabase