[sork] Problems when username contains "@"
David Chang
david at thbuo.gov.tw
Mon Jan 20 15:34:42 PST 2003
Well,I have the same situation like you,I think vacation/forward need hook
function to do that.
I have tried to add these lines to horde/config/hooks.php
if (!function_exists('_vacation_hook_username')) {
function _vacation_hook_username($horde_uid)
{
if (strstr($horde_uid, '@')) {
$parts = explode('@', $horde_uid);
return $parts[0];
} else {
return $horde_uid;
}
}
}
and add this line to vacation/config/conf.php :
$conf['hooks']['username'] = true;
but still not work.
David Chang
¤Þ¥Î joao at webnow.com.br:
> Hello !
>
> I'm just having a lot of work to make vacation-1.2.7.rc1-1 works when
> username
> is something like user at domain (login=user at domain)
>
> Everything works fine (forwards and vacation) for users without the @ but
> when
> it contains the @ sign, not so good!
>
> It seems to me that the problem is somewhere in sendmail conf because
> vacation
> is not started when then username contains @
>
> Someone could help, please?
>
> Versions: Linux 2.4.18-19 (Red Hat 8.0) with sendmail-8.12.5-7
>
> Thanks a lot!
>
> Joao C. Marigonda
>
> --
> Sork mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sork-unsubscribe at lists.horde.org
>
More information about the sork
mailing list