Автоудаление писем после забора почты

Обсуждение вопросов и решений

Модератор: ykolesnikov

Ответить
dyba_a
OTRS Новобранец
Сообщения: 9
Зарегистрирован: 03 сен 2013, 15:16
Откуда: Краснодар
Контактная информация:

Автоудаление писем после забора почты

Сообщение dyba_a » 04 сен 2013, 13:55

Народ как отключить авто удаление писем на сервере, после забора службой PostMaster Mail Accounts.????
OTRS 3.2.9 Ubuntu Des 13.04 LDAP

alexus
OTRS Гуру
Сообщения: 5192
Зарегистрирован: 20 сен 2010, 18:17
Откуда: Москва
Благодарил (а): 92 раза
Поблагодарили: 82 раза

Re: Автоудаление писем после забора почты

Сообщение alexus » 04 сен 2013, 14:08

Никак. Каждое новое письмо - это тикет.
С уважением,
Алексей Юсов

Prod: OTRS CE ITSM 6.0.28 on CentOS 7 Apache 2.4 MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator RU
Группа OTRS Community в Teleram
Хотите внедрить OTRS? Спросите меня как!

mukexa
OTRS Новобранец
Сообщения: 148
Зарегистрирован: 30 апр 2013, 19:08
Откуда: Украина, Киев.
Поблагодарили: 1 раз

Re: Автоудаление писем после забора почты

Сообщение mukexa » 04 сен 2013, 14:47

http://doc.otrs.org/3.2/en/html/email-s ... html#email
Note: When fetching mail, OTRS deletes the mail from the POP or IMAP server. There is no option to also keep a copy on the server. If you want to retain a copy on the server, you should create forwarding rules on your mail server. Please consult your mail server documentation for details.
OTRS 5s, Ubuntu 12.04

dyba_a
OTRS Новобранец
Сообщения: 9
Зарегистрирован: 03 сен 2013, 15:16
Откуда: Краснодар
Контактная информация:

Re: Автоудаление писем после забора почты

Сообщение dyba_a » 04 сен 2013, 16:23

И по ходу дела как уменьшить интервал автозабора??
OTRS 3.2.9 Ubuntu Des 13.04 LDAP

yuri0001
OTRS Бывалый
Сообщения: 492
Зарегистрирован: 11 фев 2011, 20:25
Откуда: Череповец

Re: Автоудаление писем после забора почты

Сообщение yuri0001 » 04 сен 2013, 16:28

Смотрите Ваши задания в cron
С уважением
Ю. Колесников
OTRS 3.3.1, ITSM 3.3.1, SUSE 12, MySQL5

alexus
OTRS Гуру
Сообщения: 5192
Зарегистрирован: 20 сен 2010, 18:17
Откуда: Москва
Благодарил (а): 92 раза
Поблагодарили: 82 раза

Re: Автоудаление писем после забора почты

Сообщение alexus » 04 сен 2013, 17:42

dyba_a писал(а):И по ходу дела как уменьшить интервал автозабора??
Читать мануал Вам следует для начала :-).
С уважением,
Алексей Юсов

Prod: OTRS CE ITSM 6.0.28 on CentOS 7 Apache 2.4 MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator RU
Группа OTRS Community в Teleram
Хотите внедрить OTRS? Спросите меня как!

mukexa
OTRS Новобранец
Сообщения: 148
Зарегистрирован: 30 апр 2013, 19:08
Откуда: Украина, Киев.
Поблагодарили: 1 раз

Re: Автоудаление писем после забора почты

Сообщение mukexa » 04 сен 2013, 17:58

Мда... А это две предыдущие строчки от "Note" из указанной мной ссылки...
On a normal installation, the mail will be fetched every 10 minutes by the postmaster_mailbox cron job. For further information about modifying cron jobs, please refer to the "Setting up the cron jobs for OTRS" section.
OTRS 5s, Ubuntu 12.04

alexus
OTRS Гуру
Сообщения: 5192
Зарегистрирован: 20 сен 2010, 18:17
Откуда: Москва
Благодарил (а): 92 раза
Поблагодарили: 82 раза

Re: Автоудаление писем после забора почты

Сообщение alexus » 04 сен 2013, 18:05

mukexa писал(а):Мда... А это две предыдущие строчки от "Note" из указанной мной ссылки...
Об этом и речь :D !
С уважением,
Алексей Юсов

Prod: OTRS CE ITSM 6.0.28 on CentOS 7 Apache 2.4 MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator RU
Группа OTRS Community в Teleram
Хотите внедрить OTRS? Спросите меня как!

dyba_a
OTRS Новобранец
Сообщения: 9
Зарегистрирован: 03 сен 2013, 15:16
Откуда: Краснодар
Контактная информация:

Re: Автоудаление писем после забора почты

Сообщение dyba_a » 09 сен 2013, 08:57

Автозабор не срабатывает cron проверил

Код: Выделить всё

login as: otrs
otrs@192.168.9.10's password:
Welcome to Ubuntu 13.04 (GNU/Linux 3.8.0-30-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

32 packages can be updated.
4 updates are security updates.

Last login: Mon Sep  9 09:47:19 2013 from prog.bigcar.su
otrs@otrs:~$ crontab -l -u otrs
# --
# cron/aaa_base - base crontab package
# Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# Who gets the cron emails?
MAILTO="root@localhost"
# --
# cron/cache - delete expired cache
# Copyright (C) 2001-2010 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# delete expired cache weekly (Sunday mornings)
20 0 * * 0  $HOME/bin/otrs.DeleteCache.pl --expired >> /dev/null
30 0 * * 0  $HOME/bin/otrs.LoaderCache.pl -o delete >> /dev/null
# --
# cron/fetchmail - fetchmail cron of the OTRS
# Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# fetch every 5 minutes emails via fetchmail
#*/5 * * * * [ -x /usr/bin/fetchmail ] && /usr/bin/fetchmail -a >> /dev/null
#*/5 * * * *    /usr/bin/fetchmail -a --ssl >> /dev/null
# --
# cron/generic_agent - otrs.GenericAgent.pl cron of the OTRS
# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# start generic agent every 20 minutes
*/20 * * * *    $HOME/bin/otrs.GenericAgent.pl >> /dev/null

# example to execute otrs.GenericAgent.pl on 23:00 with
# Kernel::Config::GenericAgentMove job file
#0 23 * * * $HOME/bin/otrs.GenericAgent.pl -c "Kernel::Config::GenericAgentMove" >> /dev/null
# --
# cron/generic_agent - otrs.GenericAgent.pl cron of the OTRS
# Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# start generic agent every 10 minutes
*/10 * * * *    $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null
# --
# cron/pending_jobs - pending_jobs cron of the OTRS
# Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
OTRS 3.2.9 Ubuntu Des 13.04 LDAP

dyba_a
OTRS Новобранец
Сообщения: 9
Зарегистрирован: 03 сен 2013, 15:16
Откуда: Краснодар
Контактная информация:

Re: Автоудаление писем после забора почты

Сообщение dyba_a » 09 сен 2013, 08:58

Код: Выделить всё

# check every 120 min the pending jobs
45 */2 * * *    $HOME/bin/otrs.PendingJobs.pl >> /dev/null
# --
# cron/postmaster - postmaster cron of the OTRS
# Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# check daily the spool directory of OTRS
#10 0 * * * * [ -e /etc/init.d/otrs ] && /etc/init.d/otrs cleanup >> /dev/null; [ -e /etc/rc.d/init.d/otrs ] && /etc/rc.d/init.d/otrs cleanup >> /dev/null
10 0 * * *  $HOME/bin/otrs.cleanup >> /dev/null
# --
# cron/postmaster_mailbox - postmaster_mailbox cron of the OTRS
# Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# fetch emails every 10 minutes
*/10 * * * *    $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
# --
# cron/rebuild_ticket_index - rebuild ticket index for OTRS
# Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# just every day
01 01 * * * $HOME/bin/otrs.RebuildTicketIndex.pl >> /dev/null
# --
# cron/session - delete old session ids of the OTRS
# Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# delete every 120 minutes old/idle session ids
55 */2 * * *    $HOME/bin/otrs.DeleteSessionIDs.pl --expired >> /dev/null
# --
# cron/survey_trigger_send_requests - send delayed survey requests
# Copyright (C) 2001-2011 OTRS AG, http://otrs.org/
# --
# $Id: survey_trigger_send_requests.dist,v 1.2 2011/12/15 16:30:11 jh Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see L<http://www.gnu.org/licenses/agpl.txt>.
# --

# This file is distributed with the extenstion '.dist'.
# Please remove the extension and uncomment the last line for production.

# every 20 min
#*/20 * * * * $HOME/bin/otrs.SurveyTriggerSendRequests.pl -e >> /dev/null# --
# cron/unlock - unlock old locked ticket of the OTRS
# Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# unlock every hour old locked tickets
35 * * * *  $HOME/bin/otrs.UnlockTickets.pl --timeout >> /dev/null
otrs@otrs:~$
куда капать даже не знаю
учетка root@localhost изменена, но при нажатии в самой системе "Забрать письма" почта нормально заменяется
OTRS 3.2.9 Ubuntu Des 13.04 LDAP

dyba_a
OTRS Новобранец
Сообщения: 9
Зарегистрирован: 03 сен 2013, 15:16
Откуда: Краснодар
Контактная информация:

Re: Автоудаление писем после забора почты

Сообщение dyba_a » 09 сен 2013, 09:22

команда /opt/otrs/bin/otrs.PostMasterMailbox.pl >> /dev/null тоже результатов не принесла
OTRS 3.2.9 Ubuntu Des 13.04 LDAP

alexus
OTRS Гуру
Сообщения: 5192
Зарегистрирован: 20 сен 2010, 18:17
Откуда: Москва
Благодарил (а): 92 раза
Поблагодарили: 82 раза

Re: Автоудаление писем после забора почты

Сообщение alexus » 09 сен 2013, 09:46

Попробуйте /opt/otrs/bin/otrs.PostMasterMailbox.pl -d 1 -f 1. Интересно, что скажет.
С уважением,
Алексей Юсов

Prod: OTRS CE ITSM 6.0.28 on CentOS 7 Apache 2.4 MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator RU
Группа OTRS Community в Teleram
Хотите внедрить OTRS? Спросите меня как!

dyba_a
OTRS Новобранец
Сообщения: 9
Зарегистрирован: 03 сен 2013, 15:16
Откуда: Краснодар
Контактная информация:

Re: Автоудаление писем после забора почты

Сообщение dyba_a » 09 сен 2013, 10:14

Проблема в кроне - правил в ручную теперь всё отрабатывается
OTRS 3.2.9 Ubuntu Des 13.04 LDAP

Ответить