Hallo Zusammen,
wir haben nach jedem Versionsupdate (z. B. von 3.2.X nach 3.2.X) ein Problem mit .procmailrc
procmail[8549]: Suspicious rcfile "/opt/otrs/.procmailrc"
D. h. es werden keine Mails mehr vom Postmaster angenommen am OTRS System.
Beheben können wir das Problem nur jeweils durch:
chown .procmailrc otrs:root
chmod 600 /opt/otrs/.procmailrc
chmod 0755 /opt/otrs/
Upgrades machen wir nach folgenden Schritten:
Stoppen aller relevanten Dienste
/etc/init.d/cron stop
/etc/init.d/postfix stop
/etc/init.d/apache2 stop
Installation des neuen Releases
cd /opt
cp -R otrs otrs_bkp
tar -xzf /tmp/otrs-3.2.X.tar.gz
cp -R /opt/otrs-3.2.X/* /opt/otrs/
Wiederherstellung der alten Konfigurationsdateien
cd /opt/otrs/Kernel/
cp /opt/otrs_bkp/Kernel/Config.pm .
cd Config
cp /opt/otrs_bkp/Kernel/Config/GenericAgent.pm .
cd Files
cp /opt/otrs_bkp/Kernel/Config/Files/ZZZAuto.pm .
Korrekte Dateiberechtigungen setzen auf das Release
cd /opt/otrs/
bin/otrs.SetPermissions.pl /opt/otrs/ --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data
Systemkonfiguration aktualisieren und Cache löschen
bin/otrs.RebuildConfig.pl
bin/otrs.DeleteCache.pl
Start aller relevanten Dienste
/etc/init.d/apache2 start
/etc/init.d/postfix start
/etc/init.d/cron start
--------------------------------------
Fehlt uns hier evtl. noch ein Upgradeschritt bzw. haben wir etwas übersehen?
Danke + Gruss,
Oli
Probleme mit Procmailrc
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Probleme mit Procmailrc
viewtopic.php?f=60&t=20770
also chown otrs:www-data .procmailrc
also chown otrs:www-data .procmailrc
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask