RE: [otrs] PostMaster.pl permissions

Thanks for the response, I have changed the bits back using chmod +x , however the user/group never changes. Another thing I noticed is the cron job for otrs has dropped off, and i have to re-add it manually. What I am trying to do is to trace where the mail routing fails in my otrs setup. I can send something directly from the cat ... Email-1.box to the appropriate inbox. I can log into the machine locally and remote with telnet dns-name 25 and send a mail that then sits in the spool file for root, the otrs user and the local user account created. What I can't get the system to do is read mail from that spool file into OTRS with the PostMaster.pl file yet. I have read the docs relating to .procmailrc file, it exists and looks good. Is there anyway to tell or test if procmail is doing its job? Eric ________________________________ not sure how they change themselves but you can just chmod +x the pl file(s) when you say the perms are reset, is it the bits or the user/group owner? -Andy Lubel ________________________________ From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Partington, Eric Sent: Wednesday, August 08, 2007 2:12 PM To: otrs@otrs.org Subject: [otrs] PostMaster.pl permissions I have been struggling with the PostMaster.pl file and what I think is a problem with the permissions. As of the install on suse enterprise 10.0 the permissions are : -rw-r--r-- 1 wwwrun www 3985 2007-07-01 19:57 PostMaster.pl When using the otrs user I am unable to perform the test: cat /opt/otrs/doc/test-email-1.box | ./opt/otrs/bin/PostMaster.pl bash: /opt/otrs/bin/PostMaster.pl: Permission denied If I change the permissions of the PostMaster.pl file to 755, I can run the test above, but after some time the permissions are reset. How can I fix this or what am I doing wrong? Thanks, Eric _______________________________________________________________________ This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.

Hi Eric, Did you ensure that the cronjobs are running? By default they where not running on my installation on a SuSE 10.2 Server. I had to login as user otrs and run "./bin/Cron.sh start" in the otrs directory. The I had to add this line to the Postfix configuration file (I don't know how this is for other mail servers) /etc/postfix/main.cf: mailbox_command = /usr/bin/procmail In the procmailrc I made the following changes. /opt/otrs/.procmailrc: SYS_HOME=/opt/otrs/ #SYS_HOME=$HOME Maybe this works for you too. Regards, Manuel -----Ursprüngliche Nachricht----- Von: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] Im Auftrag von Partington, Eric Gesendet: Mittwoch, 8. August 2007 20:47 An: otrs@otrs.org Betreff: RE: [otrs] PostMaster.pl permissions Thanks for the response, I have changed the bits back using chmod +x , however the user/group never changes. Another thing I noticed is the cron job for otrs has dropped off, and i have to re-add it manually. What I am trying to do is to trace where the mail routing fails in my otrs setup. I can send something directly from the cat ... Email-1.box to the appropriate inbox. I can log into the machine locally and remote with telnet dns-name 25 and send a mail that then sits in the spool file for root, the otrs user and the local user account created. What I can't get the system to do is read mail from that spool file into OTRS with the PostMaster.pl file yet. I have read the docs relating to .procmailrc file, it exists and looks good. Is there anyway to tell or test if procmail is doing its job? Eric ________________________________ not sure how they change themselves but you can just chmod +x the pl file(s) when you say the perms are reset, is it the bits or the user/group owner? -Andy Lubel ________________________________ From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Partington, Eric Sent: Wednesday, August 08, 2007 2:12 PM To: otrs@otrs.org Subject: [otrs] PostMaster.pl permissions I have been struggling with the PostMaster.pl file and what I think is a problem with the permissions. As of the install on suse enterprise 10.0 the permissions are : -rw-r--r-- 1 wwwrun www 3985 2007-07-01 19:57 PostMaster.pl When using the otrs user I am unable to perform the test: cat /opt/otrs/doc/test-email-1.box | ./opt/otrs/bin/PostMaster.pl bash: /opt/otrs/bin/PostMaster.pl: Permission denied If I change the permissions of the PostMaster.pl file to 755, I can run the test above, but after some time the permissions are reset. How can I fix this or what am I doing wrong? Thanks, Eric _______________________________________________________________________ This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? =http://www.otrs.com/ ----------------------------------------------------------------------------- CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify AMCOR Rentsch immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of AMCOR Rentsch. -----------------------------------------------------------------------------
participants (2)
-
Manuel Ernst
-
Partington, Eric