phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] Trouble Ticket System problem


From: Brian Johnson
Subject: Re: [Phpgroupware-users] Trouble Ticket System problem
Date: Sun, 31 Jul 2005 00:05:13 +0000

It seems that lex is still alive!!



Alex Borges (address@hidden) wrote:
>
> Dave Hall wrote:
>
> >On Thu, 2005-07-28 at 11:33 -0500, Chris Weiss wrote:
> >
> >
> >>why would it be up to tts?  it should be using the phpgwapi send mail
> >>class, if it's not then it needs fixed... except it unsupported for
> >>reasons just like this.
> >>
> >>
> >>
> >
> >I would argue that the api needs a account->get_email_address method
> >which gets the user's email address.  First it should check for a linked
> >contact and see if there is an email address there, if so use it, if not
> >move on to the various email apps.
> >
> >
> The api does provide this, but its in class.contacts....
>
> You may provide an account_id or a person_id  though. Also, for it to
> work  you actually have to set the email address in the addressbook for
> the corresponding person. What we do is actually have the admin set the
> email domain for the person from the accounts form and we fill the email
> address to the contacts backend from there... this way
> contacts->get_email($GLOBALS['phpgw']->account_id);
>
> >Cheers
> >
> >Dave
> >
> >
> >
> >>On 7/28/05, Brian Johnson <address@hidden> wrote:
> >>
> >>
> >>>TTS likely isn't smart enough to check the email app info
> >>>
> >>>Do you have an email account that is the same as the phpgw username on that
> >>>server?
> >>>
> >>>It's odd that it seems to be passing no user name at all through
> >>>
> >>>
> >>>
> >>>Adam Kennedy (address@hidden) wrote:
> >>>
> >>>
> >>>>-----BEGIN PGP SIGNED MESSAGE-----
> >>>>Hash: SHA1
> >>>>
> >>>>Whenever the TTS tries to send an email, I get an error of:
> >>>>
> >>>>Your message could not be sent!
> >>>>The mail server returned:
> >>>>err_code: '501';
> >>>>err_msg: 'Bad address syntax ';
> >>>>err_desc: ''.
> >>>>
> >>>>To go back to the tts index, click here
> >>>>
> >>>>
> >>>>
> >>>>I threw Postfix into debug mode, and made another ticket. This is the
> >>>>output from postfix.
> >>>>
> >>>>
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: connect from 
> >>>>localhost[127.0.0.1]
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: match_hostname: localhost ~?
> >>>>127.0.0.1/32
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: match_hostaddr: 127.0.0.1 ~?
> >>>>127.0.0.1/32
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: > localhost[127.0.0.1]: 220
> >>>>refs1.resc.k12.in.us ESMTP Postfix
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: watchdog_pat: 0x8091d20
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: < localhost[127.0.0.1]: HELO
> >>>>refs1.resc.k12.in.us
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: > localhost[127.0.0.1]: 250
> >>>>refs1.resc.k12.in.us
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: watchdog_pat: 0x8091d20
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: < localhost[127.0.0.1]: MAIL
> >>>>FROM:<>
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: extract_addr: input: <>
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: smtpd_check_addr: addr=
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: extract_addr: result:
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: fsspace: .: block size 4096,
> >>>>blocks free 7216730
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: smtpd_check_size: blocks 4096
> >>>>avail 7216730 min_free 0 msg_size_limit 10240000
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: > localhost[127.0.0.1]: 250 Ok
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: watchdog_pat: 0x8091d20
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: < localhost[127.0.0.1]: RCPT
> >>>>TO:<>
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: extract_addr: input: <>
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: warning: Illegal address
> >>>>syntax from localhost[127.0.0.1] in RCPT command:
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: extract_addr: result:
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: > localhost[127.0.0.1]: 501
> >>>>Bad address syntax
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: watchdog_pat: 0x8091d20
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: smtp_get: EOF
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: match_hostname: localhost ~?
> >>>>127.0.0.1/32
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: match_hostaddr: 127.0.0.1 ~?
> >>>>127.0.0.1/32
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: lost connection after RCPT
> >>>>from localhost[127.0.0.1]
> >>>>Jul 28 10:18:45 refs1 postfix/smtpd[2425]: disconnect from
> >>>>localhost[127.0.0.1]
> >>>>
> >>>>
> >>>>To me it looks like phpgroupware doesn't know the email address for my
> >>>>username. That's weird because I setup the mail module to have the site
> >>>>domain. Did I miss something somewhere?
> >>>>
> >>>>- --
> >>>>Northern Indiana ESC
> >>>>Adam Kennedy - address@hidden
> >>>>Linux Specialist / Network Administrator
> >>>>Phone: (574) 254-0111 x113
> >>>>Toll Free: 800-326-5642
> >>>>Fax: (574) 254-0148
> >>>>-----BEGIN PGP SIGNATURE-----
> >>>>Version: GnuPG v1.4.0 (GNU/Linux)
> >>>>
> >>>>iD8DBQFC6Pi/V72KWYU3lA0RArw+AJ0WPQIA+s3mrjS126n+sc+3ixkhbACfR+fo
> >>>>zEzxc2G/lJaApJIi1tJkd40=
> >>>>=qHPo
> >>>>-----END PGP SIGNATURE-----
> >>>>
> >>>>
> >>>>_______________________________________________
> >>>>Phpgroupware-users mailing list
> >>>>address@hidden
> >>>>http://lists.gnu.org/mailman/listinfo/phpgroupware-users
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>_______________________________________________
> >>>Phpgroupware-users mailing list
> >>>address@hidden
> >>>http://lists.gnu.org/mailman/listinfo/phpgroupware-users
> >>>
> >>>
> >>>
> >>>
> >>_______________________________________________
> >>Phpgroupware-users mailing list
> >>address@hidden
> >>http://lists.gnu.org/mailman/listinfo/phpgroupware-users
> >>
> >>
>
>

--
Brian Johnson, P. Eng
Johnson Engineering Consultants
http://johnson-engineering.ca
Ontario, Canada






reply via email to

[Prev in Thread] Current Thread [Next in Thread]