Procmail as local MDA in cronjob - suid or not?

Hi board,
I am using (and maintaining) the logcheck package on AUR (http://aur.archlinux.org/packages.php?ID=8426). This periodically greps various logfiles for suspicious messages and, if it finds some, sends them (with mime-construct (http://aur.archlinux.org/packages.php?ID=34903)) to admin. Recently I am getting "insufficient privileges" errors from procmail in the process. I think - but I don't fully understand the code of the programs involved - that mime-constructs is trying to use procmail (or my esmtp's sendmail?) but procmail is run without the necessary privileges to deliver mail to admin's mailbox. (Or with insufficient privileges to pick up some temporary file?)
Now, on procmail's manpage it says that using procmail as an MDA requires procmail's suid bit set, which is not the case in our distribution. I was not able to find out if this has changed recently or has always been the case. (A possibly relevant bugreport (https://bugs.archlinux.org/task/14410) with 'works for me' status.) If I chmod u+s procmail, then the whole thing works. Now the question is: Is this at the core a general issue, calling for a bugreport in procmail, or is it a special case, and if so, should I perhaps be using another method of getting it to work?
Thanks for any comment.
Andreas

Thomas Zloch wrote:
Please also check the F1 help for the package field e.g. in SE80, SAP standard is in range A-S and U-X, namespaces start with "/", so you should be save. I am using the T namespace for temporary stuff since a long time and did not have a problem so far.
> Thomas
>
> P.S. this applies to the package name only, of course
Thank you very much for this remark, I checked F1 help for the package field and in fact as you mentioned these ranges are for local objects.
Once again, thank you very much for your help.
Kind Regards,
Dariyoosh

Similar Messages

  • Error: 3816: Local System Creation during install was not successful.

    Hello,
    This is our first time installing Oracle Wokflow 2.6.3 Standalone.
    We are having problems with the Event Manager.
    When we access the event manager pages:
    … pls/wf/wf_event_html.listevents?resetcookie=T
    …pls/wf/wf_event_html.listsystems?resetcookie=T
    etc.
    We get this error:
    Error: 3816: Local System Creation during install was not successful. Please review the install log file for errors.
    Error Stack:
    WF_EVENT_HTML.isAccessible(EVENTS)
    WF_EVENT_HTML.ListEvents()
    •     The installation was successful.
    •     We cannot change the Local System in the Global Workflow Preferences option.
    •     The table WF_systems is empty.
    •     Should the local system appear in this table?
    Thanks

    Software component sap.com/LM-TOOLS with version 7.00.9.3 is found on the system but in the stack it is listed with version 7.00.9.0.
    Software component sap.com/SAP-JEECOR with version 7.00.9.1 is found on the system but in the stack it is listed with version 7.00.9.0.
    You are trying to upgrade a system with the lower version of sap.com/LM-TOOLS and sap.com/SAP-JEECOR. The other thing I notice is that if you are upgrading to  EhP4/EhP1 NW then the version of LM and SAP-JEECOR should look something like 7.01.3.0.
    Are you using MOPZ to download EhP's ? As the error message says synchronize the system with SAP Solution Manager and then generate a new stack file.
    Hope this helps.
    Thanks,
    Naveed

  • What action dom i take for this error message "C:\DOCUME~1\user\LOCALS~1\Temp\physics.pdf could not be opened, because the associated helper application does not exist. Change the association in your preferences"?

    I get this message when I try to download a pdf file from a website.
    "C:\DOCUME~1\user\LOCALS~1\Temp\physics.pdf could not be opened, because the associated helper application does not exist. Change the association in your preferences."
    This is a new error. There used to be no problem.

    Do you have any setting for MP3 in Tools > Options > Applications ?
    You usually need the QuickTime plugin to play MP3 files on Windows because that is the only plugin that supports that file extension if there is no MIME type specified to play the file with another plugin like Windows Media Player or RealPlayer.

  • Hi, I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mail are not receiving. Mail queue showing Connection refused error. Please help me

    I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mails are not receiving. Mail queue showing Connection refused error. Please help me
    Thanks
    GIRI

    Try this -> http://support.apple.com/kb/TA38632?viewlocale=en_US

  • Creating a symlink directory on a network share to a path below a mapped drive letter, local path, or UNC path does not work

    Am I correct in assuming I can not create a `symlinkd` to a network share, local path, or a UNC path on a network share that will be accessible by clients?
    ###Mapped drive letters don't work:
    1) navigate to a network share:
    pushd \\windows2008server\share\
    2) make a hardlink:
    mklink /d test_sharedir t:\directory\
    dir .\test_sharedir
    #Directory of Z:\test_sharedir
    #File Not Found
    UNC paths don't work:
    1) navigate to a network share:
    pushd \\windows2008server\share\
    2) make a symlink:
    mklink /d test_dirunc \\windows2008server\share
    dir .\test_dirunc
    #Directory of Z:\test_dirunc
    #File Not Found
    I can create a functional `symlinkd` on a local drive to a mapped drive letter or a UNC path.
    Are my assumptions above correct?
    We are in the middle of a migration and have created two symlinkd to UNC paths for shared DLLs, one below c:\windows\system32\ (directing to a share containing 64-bit DLLs) and one below c:\windows\syswow64 (directing to a share containing 32-bit DLLs).
    On the file server, we have had a path to 32-bit DLLs (from Windows 7 clients: s:\dll\).  I am attempting to rename this directory so that it is accessible via "s:\dll32\" and would like to create a symlinkd that links "s:\dll" to
    "s:\dll32" [again where S: is a mapped drive on a Windows 2008 server].  How do I do this?
    Thanks,
    Matt

    Hello Mandy,
    The link you sent me is for Netapp CIFS server daemon contained within DataOnTap (the Netapp OS) to follow symlinks.  I am inquiring about the Microsoft products Windows Server and Windows 7.
    To gain a better understanding of the Microsoft Windows Server and client (Windows) CIFS stacks and interaction of the stacks, I have referred to Figure 6 "Server Message Block Server Model" within the following (albeit older) document: http://download.microsoft.com/download/2/8/0/2800a518-7ac6-4aac-bd85-74d2c52e1ec6/tuning.doc
    You will see the following:
    I assume that the Windows Server CIFS server service must be "smart enough" to determine that a CIFS client is attempting access to a SYMLINKD and actually fill the request by following the SYMLINKD.  The CIFS server service does not appear
    to operate like this.
    1) Am I correct in my assumption that the CIFS client (redirector) and the CIFS server (server) do not following symbolic links (whether they be file or directory)?
    2) If not, how do I submit a feature request for this so that it can be reviewed and approved or not approved for inclusion/hotfix release?
    Thanks for your time,
    Matt Brown
    [UPDATE]
    Note that you can use a `directory junction` instead of using a SYMLINKD, to link to LOCAL resources (source). However, `directory junctions` do not allow access to resources over UNC.

  • How can I delete local schedule tasks, if they do not show up in the left ARD pain

    In ARD you can schedule task on the local machine.
    Usually you can see the scheduled task in the left pain of the main window.
    I deleated some schedules tasks, but the tasks continue excute every morning.
    Is the a way to find these invisable scheduled tasks and remove them.
    I would be happy to know if a data base needs to be edited or a file deleated
    Cheers
    Gifford

    what dose the invisible task do?

  • C:\users\owwner\AppData\local\apple\applesoftwareupdate\itunes64.msi can not be found

    itunes on my boys computer got corrupt.  I believe it was when I tried updating.  Anyhow, I have downloaded teh current itunes file from apple and when I install it a window comes up that says it can not find C;\users\owner\appdata\local\apple\applesoftwareupdate\itunes64.msi
    I have done a search all over the computer and that file does not exist.  I tried repairing itunes in control panel and it comes up with the same message.  I tried deleting itunes in control panel and the same thing.
    I tried deleting all files that contained itunes or apple in my compter because I thought there might be some hidden file that was saying there was an older version still installed and keeping if from installing right.
    Any ideas how to get itunes back on this computer?  It will not load.
    kevin

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get aCode 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • The Report Server page comes up on local server, but the page does not open from clients

    Hello,
    The Report Server Page opens up just fine on the local server, but page does not open up from desktops and client PCs.   SSRS is installed on a Windows Server 2008 R2 server and with SQL Server 2008 R2 SP2
    Clients are using IE 11 and they see:
    Oops! Internet Explorer could not connect to tumdv-fsql01
    How can make this site accessible from clients?
    Thanks
    Paul

    That did not work.
    What port numbers specifically does SSRS use?  I will check the firewall.
    http://100.100.100.100/CengeaReports/Pages/Folder.aspx
    When I add the IP Address and try the link again, IE says "This page can not be displayed".  When I try the Fix connection problems, IE says:
    "The website is online, but it is not responding to connection attempts."
    Paul

  • Testing local is fine, but online is not working

    I made a gallery and tested locally (inside flash mx
    environment) and it's working great. It can connect the database
    (my web hosting is mediatemple) with no problem. Sending and
    receving queries are okay too.
    But when I upload this file online (swf), somehow it doesnt
    work at all.. it returns an error message when loading the php.
    I do retrieveXML.onLoad = function (success), it returns
    false.
    I'm pretty sure the path to php is correct because I sue the
    absolute path.
    Any idea?
    For your reference:
    http://ivankandi.com/fusion/retrieve.swf
    Thank you

    Sorry but with that limited bit I can't give you much help.
    One thing that is strange is to just post it as a swf. I don't know
    if that is part of the problem or not. But generally it should be
    embedded in an html page. That is the first thing that I would try.
    It might also allow the browser to catch an error message –
    or maybe not.
    The other frequent cause of "it works in the testing
    environment, but not online" is that you haven't coded it properly
    to wait for external resources to load completely.
    I'm not sure exactly which class you are using, but does your
    code include myXML.onLoad or some such?

  • Local Interfaces in WebLogic 7.0 Not Faster Than Remote Interfaces?

    I was curious how much faster calling business methods in
    a stateless session EJB in WebLogic 7.0 would be through
    a local interface than calling the same business methods
    through a remote interface. I timed both ways of calling
    the same methods and much to my surprise the times were
    nearly identical. I double-checked that in one case I really
    used the local interface (using ejb-local-ref, local-jndi-name,
    local interfaces in source code). Does anybody (perhaps from
    BEA) have an explanation for this? By the way, I ran the
    same experiment with other J2EE application servers such
    as IBM's WebSphere 5 (Beta) and there was a tremendous
    performance difference between local and remote interface
    usage.
    Thanks,
    Reinhard

    "Reinhard Klemm" <[email protected]> wrote in message
    news:[email protected]...
    I appreciate your response and, at the same time, I am somewhat
    surprised about it. Here are the reasons for my surprise:
    1. Your response indicates that WebLogic uses RMI for
    EJB local method calls, i.e., even if the client is on the same VM.
    I would have assumed that WebLogic would bypass RMI in such
    a situation.That is not what I said. Local interfaces wont use rmi.
    But remote interfaces do better if the call is from the same VM. This is
    weblogic rmi optimization. Please see Rob's posting also.
    2. Other J2EE application servers fare a lot better. In one
    experiment, I timed WebLogic against WebSphere 5.0 Technology
    for Developers (i.e., WebSphere 5.0 Beta, which is expressly
    NOT for performance testing) and against the Sun Reference
    Implementation. Here are the numbers for calling business
    methods in a stateless session EJB through its local interface:
    WebLogic: 5.15 ms on the average
    WebSphere: 0.41 ms on the average
    Sun Reference Implementation: 0.11 ms on the average
    This indicates to me that both WebSphere and the Sun Reference
    Implementation are better optimized than WebLogic by excluding
    RMI when making local EJB calls.
    Reinhard
    "Maruthi Nuthikattu" <[email protected]> wrote in message
    news:<[email protected]>...
    Can you post some numbers so that we can visualize the difference.
    Please add the numbers with other J2EE appserver also.
    Otherwise top of my head, the reason is:
    Weblogic rmi is well optimized for the calls with in the same JVM andsame
    J2EE application.
    This could be the reason you are not seeing much difference.
    ..maruthi
    "Reinhard Klemm" <[email protected]> wrote in message
    news:[email protected]...
    I was curious how much faster calling business methods in
    a stateless session EJB in WebLogic 7.0 would be through
    a local interface than calling the same business methods
    through a remote interface. I timed both ways of calling
    the same methods and much to my surprise the times were
    nearly identical. I double-checked that in one case I really
    used the local interface (using ejb-local-ref, local-jndi-name,
    local interfaces in source code). Does anybody (perhaps from
    BEA) have an explanation for this? By the way, I ran the
    same experiment with other J2EE application servers such
    as IBM's WebSphere 5 (Beta) and there was a tremendous
    performance difference between local and remote interface
    usage.
    Thanks,
    Reinhard

  • How can I listen to the local radio on my ipod when not on wifi?

    I used to have an ipod nano and was able to listen to local stations on the radio without being connected to wifi and now I have an ipod touch and no longer have that option.  Is there anyway that I can listen to the local radio stations on my ipod touch without being connected to wifi.  I know there is an adapter that I can get to plug into my car to listen to the radio on my ipod but I have a radio in my car so that defeats the purpose.
    If anyone knows a solution please let me know.

    do they have an adapter that doesn't require that it be plugged into the car, just the phone.  Also if they do what is it called and where can I get one.

  • Local client copy profile SAP_CUSV: Configuration not working

    Dear Experts,
    My configuration client is 350 and my new client is 100 in same DEV system. Client 100 is copied from client 000 with profile SAP_ALL. Then I created a local copy from 350 using profile SAP_CUSV into same client 100. After that I am facing issues under HCM module. All the HCM configuration that works well in 350 does not work in client 100 even the standard header configuration of PA30 does not work. All the customizing entries are however present in HCM configuration tables but system seems not to read anything from HCM configuration. Apart from screen headers, the configuration done by consultant also has conflicts and system shows an error to maintain entries in tables which are already maintained and visible in configuration tables in 100. An example of error in which system gives error of maintaining Payscale Type and Payscale Area in table T510 is attached where as the entries are maintained in given table.
    Best Regards,

    Hi,
    Please check the following notes.
    1946003 - Client copy completed with Dictionary error
    1171306 - Error with pooled tables when copying a client
    686357 - Table pool has incorrect length following Unicode conversion
    Please close the thread if this address your issues.
    Thanks 
    Adil

  • Local client copy error - Table "BKPF" not edited due to excessive number

    Hi,
    I am performing a local client copy on our ECC 6.0 system. Client copy took more than 12 hours and its still in progress with 7 tables still to be copied. Logs in SCC3 -
    ===
    2 ETA163 Table "BKPF" not edited due to excessive number of errors
    2 ETA057 WARNING: Cancelled several times
    2 ETA163 Table "COEP" not edited due to excessive number of errors
    3 ETA311 Process "00002" started on server "sfrndevsap15"
    (time: "17:20:51")
    2 ETA297 Error: Table "ONROV" error in DDIC - Check table with SE14
    2 ETA057 WARNING: Cancelled several times
    2 ETA163 Table "FAGLFLEXA" not edited due to excessive number of errors
    3 ETA311 Process "00003" started on server "sfrndevsap15"
    (time: "17:20:52")
    4 ETA346 "FAGLFLEXC :"" 0 0 0 DEL.""
    0 0 17:20:52"
    2 ETA057 WARNING: Cancelled several times
    2 ETA163 Table "HRP1001" not edited due to excessive number of errors
    3 ETA311 Process "00004" started on server "sfrndevsap15"
    (time: "17:20:52")
    4 ETA346 "VSAFVU_CN :"" 0 86123 0 DEL.""
    0 29 17:21:21"
    2 ETA057 WARNING: Cancelled several times
    2 ETA163 Table "PCL4" not edited due to excessive number of errors
    ===
    Please help ASAP, as this is effecting our testing team.  I have tried to copy individual tables also using a transport request number and SCC1 to copy it to the target client.  This is also taking quite a long time.
    Thanks in advance,
    Abdul

    Hi Abdul,
    What does your system log say ?
    Check this SAP Note
    Note 579783 - CC ERROR: Loss of data - table not copied
    run the report RSCC_VERIFY to check if the table is consistent within the source client.
    SAP will only provide support for RSCC_VERIFY messages if there is a specific problem in an application in the target client that can be assigned immediately to the messages.
    RSCC_VERIFY is delivered with SAPKB46B49, SAPKB46C35 and SAPKB46D24. In older releases, you can create the report in the ABAP editor (transaction SE38) in accordance with the attached advance correction. Use the development class or the STRM package for this.
    Regards,
    Siddhesh

  • Select from local (tmp) Table in Function - Table not found

    Hi,
    I want to create a cursor which selects from a Table which does not exist in database.
    I create this table as local table (how is it called? nested table?).
    Not shown in the code but I want to fill this local table later.
    After filled my cursor is going to use this filled table.
    When try to run I get the error Table or View does not exist at the "FROM TempTab_var T1;" of my cursor.
    This is my simplified code:
    CREATE OR REPLACE FUNCTION PC_RL_MTA_PMT
    RETURN PC_RL_MTA_TYPE_PMT
    IS
    result_out PC_RL_MTA_TYPE_PMT;
      TYPE TempTab_record_type IS RECORD
        (ID int);
      TYPE TempTab_type IS TABLE OF TempTab_record_type
              INDEX BY BINARY_INTEGER;
      TempTab_var TempTab_type;
      CURSOR TempCursor3_var IS
        SELECT    ID AS ID_var
        FROM    TempTab_var T1;
    BEGIN
    RETURN result_out;
    END PC_RL_MTA_PMT;
    Any Ideas whats wrong?
    Thanks very much in advance.

    And a further example from my library of examples, just to help you out...
    SQL> CREATE OR REPLACE TYPE num_descript AS OBJECT(num number, descript varchar2(30))
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE tbl_num_descript AS TABLE OF num_descript
      2  /
    Type created.
    SQL> CREATE OR REPLACE PACKAGE reftest AS
      2    FUNCTION pipedata(p_choice number) RETURN tbl_num_descript PIPELINED;
      3  END;
      4  /
    Package created.
    SQL> CREATE OR REPLACE PACKAGE BODY reftest AS
      2    FUNCTION pipedata(p_choice number) RETURN tbl_num_descript PIPELINED IS
      3      v_obj num_descript := num_descript(NULL,NULL);
      4      v_rc  sys_refcursor;
      5    BEGIN
      6      IF p_choice = 1 THEN
      7        OPEN v_rc FOR SELECT empno as num, ename as descript FROM emp;
      8      ELSIF p_choice = 2 THEN
      9        OPEN v_rc FOR SELECT deptno as num, dname as descript FROM dept;
    10      END IF;
    11      LOOP
    12        FETCH v_rc INTO v_obj.num, v_obj.descript;
    13        EXIT WHEN v_rc%NOTFOUND;
    14        PIPE ROW(v_obj);
    15      END LOOP;
    16      CLOSE v_rc;
    17      RETURN;
    18    END;
    19  END;
    20  /
    Package body created.
    SQL> select * from table(reftest.pipedata(1));
           NUM DESCRIPT
          7369 SMITH
          7499 ALLEN
          7521 WARD
          7566 JONES
          7654 MARTIN
          7698 BLAKE
          7782 CLARK
          7788 SCOTT
          7839 KING
          7844 TURNER
          7876 ADAMS
          7900 JAMES
          7902 FORD
          7934 MILLER
    14 rows selected.
    SQL> select * from table(reftest.pipedata(2));
           NUM DESCRIPT
            10 ACCOUNTING
            20 RESEARCH
            30 SALES
            40 OPERATIONS

  • Disk image can mount from local terminal with "open" command but not via ssh

    I have a disk image "backup_image.sparsebundle". If I go to the terminal on my machine and type "open backup_image.sparsebundle" the disk image mounts as expected. No problems. If I secure shell (ssh) log in from a remote Mac and execute the same "open backup_image.sparsebundle" a warning dialog pops up and states that "The following disk images couldn't be opened" followed by my disk name. This is incredibly odd because it used to work just fine. I didn't think there were any ACL differences between a local terminal shell and remote ssh. I mean a shell is a shell right? Or, it used to be and now it isn't? I'm not doing anything obviously incorrect (to me); I'm the same user locally and remotely, same path to disk image. This used to work fine before Mountain Lion.
    Background: All of this started because I wrote a script that would ssh in to a remote machine, open the disk image on that remote machine, mount it across the network over afp and rsync. If I leave the disk image mounted on the remote machine, the script runs fine but if the image is close and I try to remotely open the image as I always did, it fails. The only thing that has changed in the system is, now, both machines are running Mountain Lion. Odd.
    Suggestions?

    Storing the password for the remote disk image in the local keychain of the computer running the script (in to a variable), then passing it accross to the remote machine worked. I'm not sure why all of this changed moving from Lion to Mountain Lion but I suppose it is slightly more secure.
    To programatically mount and sync a remote encrypted disk:
    #!/bin/bash
    if [ -n "`mount | grep ~/sync`" ]; then
      echo "Already mounted"
    else
      pw=$(security -v find-generic-password -w -D "application password")
      ssh -o ConnectTimeout=1 [email protected] "echo $pw | hdiutil attach /Users/user/backup_image.sparsebundle"
      mkdir ~/sync
      mount_afp -s "afp://matdup01:[email protected]/Disk Image" ~/sync
    fi
    if [ $? -eq 0 ]; then
      echo "Mount succeeded!"
    else
      echo "Mount Failed"
      exit 0
    fi
    rsync -vrxtu --delete-before --exclude _* "/Volumes/Media/new Media/" ~/sync/new\ media/
    umount ~/sync
    rmdir ~/sync
    exit

Maybe you are looking for

  • Reading and internal table

    I have the following code but it doens't like  this line. Hod do i need to code this corectly LOOP AT WA_DATAPACKAGE INTO WA_DATAPACKAGE_LN.     wa_TABIX = SY-TABIX.         READ table DATA_PACKAGE INTO WA2_DATAPACKAGE_LN                      WITH KE

  • Why is my computer not recognizing my iPhone?

    I have an iPhone 4s and it's pretty old. Everytime I connect it to my computer it makes the little sound and says that USB could not be read because it "malfunctioned" and that Windows could not recognize it. Whats going on and what can i do?? Please

  • Nokia Lumia 720 as a touchscreen input device to W...

    Dear all. I have been owning a Lumia 720  since June-2013 and can safely say now that it was an excellent choice. I would like to use the lumia as a touchscreen input device for my Win-7 laptop. Idea is that the laptop connects to lumia over USB. A d

  • I cannot connect Firefox to the Internet. I keep getting an error message reading:" profile unavailable or inaccessible.

    I've downloaded a new version of Firefox and it has not responded at all. I keep getting a profile inaccessible or unavailable message. I've gone to Mozilla support to apply their fix to this specified problem, but have not had any positive results.

  • Deployment Workbench Adding Applications Using Task Sequence

    I am trying to figure out how to add applications in Deployment Workbench. My biggest issue is what to put in the command line to get it to work. Someone else created folders with everything that would needed along with a batch file. Now I am trying