Summary | mail-filter.php not work |
Queue | Whups |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | david (at) tmv (dot) gov (dot) tw |
Created | 06/29/2005 (7322 days ago) |
Due | |
Updated | 07/28/2005 (7293 days ago) |
Assigned | 06/29/2005 (7322 days ago) |
Resolved | 07/27/2005 (7294 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
You can create a new enhancement ticket to change mail-filter.php's
parameters, if you want.
David
CLI, so we can't translate non-ascii queues correctly.
It might make more sense to use queue/state/etc IDs instead.
Are you means using such usage below instead ?
# ./mail-filter.php --queue 1 --type 2 --priority 3 --state 1
? thank you.
*names* at the moment. The script should be changed to expect IDs
instead.
CLI, so we can't translate non-ascii queues correctly.
It might make more sense to use queue/state/etc IDs instead.
Are you means using such usage below instead ?
# ./mail-filter.php --queue 1 --type 2 --priority 3 --state 1
If true,that seems not worked for me, or can you make an example here
? thank you.
David
State ⇒ Resolved
CLI, so we can't translate non-ascii queues correctly.
It might make more sense to use queue/state/etc IDs instead.
and run it with paramaters ,see screenshot
http://210.241.49.67/~txg16/usage.gif
The result, see http://210.241.49.67/~txg16/result.gif
All the queues(some of name in chinese) display in whups UI,see
http://210.241.49.67/~txg16/all-queues.gif
compare between result.gif & all-queues.gif,i think that is why
mail-filter.php not work,but i could not find how/where to hack it.
David
queue, state etc. name that you specify as parameters for
mail-filter.php don't work.
I have to use queue,state and priority name in ascii format if i want
to add ticket successfully by mail-filter.php. It didn't accept
queue,state and priority name in non-asc format. and this is my first
problem.
yesterday that made encoded bodies work too.
queue, state etc. name that you specify as parameters for
mail-filter.php don't work.
Encoded message headers work fine for me here, and I committed a fix
yesterday that made encoded bodies work too.
New Attachment: mail.eml
charset that was used for the cli parameters.
My another whups (Nightly Snapshots 4/17) base on Horde3.0.4 works
great on this issue and i didn't provide any charset information to
cli as paramaters before. so i am curious why current mail-filter.php
need to determine charset ? Perhaps use charset info in mail's header
is a good solution.
FYI,attached these file for your reference.
1.mail.eml ,what i send to mail-filter.
2.ticket_view.gif, the screenshot explain that mail's header was not
decoded correctly in whups view .
P.S : From Jul 1 to 19 ,i will have my vacation in India ,so please
don't close this ticket if any feedback required .
Best Regards.
David
State ⇒ Feedback
charset that was used for the cli parameters.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ mail-filter.php not work
Queue ⇒ Whups
State ⇒ Unconfirmed
non-ascii string in paramater list .eg, queue ,prioriy or state in my
/etc/mail/aliases
Here is my /etc/mail/aliases:
track_comment: "|
/usr/local/apache/horde.beta/whups/scripts/mail-filter.php --queue
'????' --type '??' --priority '1. ?' --state '???'"
Change all non-ascII string to ascII in aliases above and mail again
then it was added to whups track system successfully,however there are
so many question mark in that ticket's content ,if use Chinese in the
mail.
David