CronJobs Mails abholen

Hilfe zu Znuny Problemen aller Art
Locked
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

CronJobs Mails abholen

Post by boris »

Hi,

ich habs schonmal hinbekommen aber wie weiss ich nicht mehr.
Das steht in der crontab -l -u otrs

# fetch emails every 1 minutes
*/1 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
# --
# cron/rebuild_ticket_index - rebuild ticket index for OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: rebuild_ticket_index.dist,v 1.10 2009/11/09 15:24:13 mn 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 http://www.gnu.org/licenses/agpl.txt.
# --



aber mails werden nicht abgeholt. Manuell gehts.
Ich habs auf unserem Produktiv- OTRS eingerichtet... ich weiss auch das es ganz einfach war nur was ich gemacht hab weiss ich nicht mehr :(
Ich hab schon gesucht wie doof aber ich finds nicht....

Muss ich irgendwelche rechte ändern? Oder wie war das?

Bitte einen kleinen Denkanstoss.
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
garwen
Znuny expert
Posts: 260
Joined: 03 Feb 2009, 16:51
Znuny Version: 2.4.7

Re: CronJobs Mails abholen

Post by garwen »

ersetz mal in $HOME/var/cron/postmaster_mailbox

Code: Select all

*/1 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
mit

Code: Select all

*/2 * * * * $HOME/bin/PostMasterMailbox.pl >> /dev/null
MfG
~Fredy

Produktiv: OTRS 3.0.11/ openSUSE 11.4 / Apache2, MySQL5 / Exchange 2010
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: CronJobs Mails abholen

Post by boris »

passiert auch nix..
die Datei heisst bei mir aber otrs.PostMasterMailbox.pl ?!?
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
garwen
Znuny expert
Posts: 260
Joined: 03 Feb 2009, 16:51
Znuny Version: 2.4.7

Re: CronJobs Mails abholen

Post by garwen »

Dann wurde die Datei wohl für's OTRS 3 umbenannt. Schreib das otrs. wieder rein.
Was steht denn im Log ?
MfG
~Fredy

Produktiv: OTRS 3.0.11/ openSUSE 11.4 / Apache2, MySQL5 / Exchange 2010
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: CronJobs Mails abholen

Post by boris »

hmmm jetzt wirds peinlich :(
Sollte das nicht unter /var/log/otrs.log sein?
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: CronJobs Mails abholen

Post by boris »

ich hab eben als Log Datei ausgewählt, und als Pfad /var/log/
jetzt hab ich mal alles neugestartet und "Einträge provoziert"

Sollte nicht in meinem Verzeichnis jetzt ein Logfile sein?
Oder hab ich das mißverstenden?
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: CronJobs Mails abholen

Post by boris »

Hi,

ich schon wieder.

Ich glau ich brauch mal wieder ne Dummie Anleitung...

Ich habe versucht die Anleitung in der Doku nachzuvollziehen:
http://doc.otrs.org/3.0/en/html/x549.html#cronjobs

Als Ergebnis bekomme ich aber recht bald:

Code: Select all

SRVOTRS001:~ # cd /opt/otrs/bin/
SRVOTRS001:/opt/otrs/bin # su otrs
su: incorrect password
SRVOTRS001:/opt/otrs/bin #

Wie ist das Passwort?
Ich bab da nirgendwo was eingegeben...

OTRS 3.0 beta5
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: CronJobs Mails abholen

Post by boris »

hat sich erledigt..lag am Passwort
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
Locked