Headers in iMS 5.2 on Solaris

Hi All!
I'd like to modify some headers in e-mails:
an e-mail has the header "Return-path", but iMS adds everytime another one "Return-path" (getting from "From" header) when processing it. I guess, it's made by the "ims-ms" channel.
1. I added "noaddreturnpath" keyword to the "ims-ms" channel - doesn't work.
2. I tried to construct a header with "headertrim" and "headerread" keywords.
Files "ims-ms_headers.opt" and "ims-ms_read_headers.opt" are in the "imta/config" directory.
But works only the "headertrim" option.
So, it seems, i need some help... :)
Thanks in advance!

Alessandro.Astuto wrote:
I am having the exact same problem in Messaging Server 6.3, would anybody please post what they know?This question has been asked and addressed here:
http://lists.balius.com/pipermail/info-ims-archive/2008-May/029379.html
Regards,
Shane.

Similar Messages

  • Migrating iDS 5.1 to iDS 5.2 with iMS 5.2 on Solaris 8

    Hi,
    Have been trying to upgrade our iDS 5.1 directory server to
    iDS 5.2 with the iMS 5.2 messaging server. Have been able to migrate all the user email accounts from iDS 5.1 to iDS 5.2 successfully but can't seem to move the iMS messaging server configs from iDS 5.1 to iDS 5.2.
    When I start up the iDS 5.2 slapd daemon while the iMS messaging server daemons are running, one can login and use the email user accounts. So this tells me that the user accounts have been migrated successfully. But when I shutdown the iMS messaging server daemons and try to restart, it aborts with an error message about not finding it's config in the iDS 5.2 directory.
    To get the iMS 5.2 messaging server running again, I take down the iDS 5.2 daemon and run the iDS 5.1 daemon then the messaging server restarts. I can then take down iDS 5.1 and start up iDS 5.2. As long as I don't restart the messaging server daemons everything works fine with the iDS 5.2.
    Seems to me the messaging server config is missing in the new iDS 5.2 directory. How does one migrate it from the iDS 5.1 to the new iDS 5.2 server?
    Thanks in advance for any suggestions!
    jeff
    Hawaii Dept of Education

    Jeff,
    I just did a similar upgrade on Sol 9. I was about to try your method until I realized that I'd have to figure out the "o=NetscapeRoot" tree. That is where the config data is stored. What I did was this:
    Assuming DS5.1, DS5.2 and ims5.2 are runnging on the same box
    Shutdown iMS
    1. Backup your LDAP, db2bak and ldif formats. Back-up your
    iMS config directories.
    3. Unmount your message store partitions, you put your mailstore on a different partition, right? It can be in the default path but a different disk partition.
    4. Uninstall iDA, iws (for iDA), and iMS. In that order.
    5. change the DS5.1 port to something other than 389.
    6. Install iDS5.2 and run the ims_dssetup.pl script.
    7. Install iMS, iWS (for IDA) and iDA.
    8. Start iMS. Run configutil to add your non-default mail partitions.
    9. Add user ldif and o=pab ldif from an ldif dump
    10. Shutdown iMS and remove anything under your store directory.
    11. Remount your mailstore partitions.
    12. Restart iMS. Reconfigure iMS and the MTA using info from
    step 1. Don't bllindly copy everything over. That could cause problems. I did a diff -w -r old_config new_config and went line-by-line.
    13. Do an imsmta cnbuild and restart iMS.
    14 All is well. :-)
    BTW, if you're running Sun Cluster 3.1. You'll need the HA packages from package install distrobution of iDS5.2. Those HA packages are not shipped with the tarball distrobution.
    Roger S.
    http://www.confrere-tech.com/ (shameless plug :-))

  • Build for solaris 8 on solaris 10 - possible?

    I want to build/compile an application for solaris 8, but I only have access to a machine running solaris 10. Can I compile for solaris 8 on a solaris 10 machine, and if so, what do I have to do to make it work?

    The short answer is generally no.
    The long answer is that it can be done but you will need to make sure that on the Solaris 10 machine you only use functions/headers/libraries that are available on Solaris 8 otherwise they will not be found and the software won't work.
    alan

  • Unable to read messages - rookie with iMS 5.2

    Hi,
    I suppose this forum is from the iPlanet Messaging server, my excuses in advance if this matter is not properly posted.
    I'm trying to install an iPlanet Mesaging Server v5.2, Directory Server 4.16 coming with the suite the customer bought in 2003. The server was okay but after a crash I had to reinstall the server, inherited from another person who left so, I'm a rookie with iMS but not with Solaris and SIMS 4.0.
    I have followed all the procedures to install the server. Have created an user within the console administration. The user is recognized thanks to imsimta dirsync -F. I can login via HTTP and send messages outside.
    My drama is, after days of research through the docs, that I can't read incoming mail. As a matter of fact the server receives email from outside seen snooping the network connections but nothing shows un into the INBOX, neither HTTP nor POP3 client.
    There's not a clear evidence is the iDA (dlegated admin) is compulsory to properly manage users and groups, i did not install it, and did not install the Enterprise Server v.6.0 as well.
    It is not clear if the ims_dssetup.pl needs to be run, there's an indication stating that if installing the directory server shipped on the same package as the mail server. I have run it as well but it looks like the DS schema was already up-to-date.
    The SENT messages are properly shown so, I guess the store is okay but, why I'm not able to read the messages in the INBOX, they don't even show up by using mboxutil at all ("no new messages in server").
    What am I doing wrong? any help would be highly appreciated.
    Thanks a lot in advance.
    Fabi�n R. Breschi

    Please do remember, iMS 5.2 is two years old. We do not re-do a package, even two years later.
    The download of iMS 5.2 continues to contain Directory 4.16, even though DS 4.16 is End Of Life. We encourage installatin of a current Directory Server rather than the one packaged with the download, and you would have seen that recommendation even as you performed that installation.
    The release notes I'm referring to are the original 5.2 release notes. These were repeated from the 5.0 and 5.1 release notes, too.
    you can still download the p2 patch from:
    http://www.sun.com/download/products.xml?id=411bb50d
    this is a patch, not a full release. Install your 5.2 bits, and then apply the patch.
    Something else you may need to do. The Admin Guide, Appendix B talks about "direct ldap". We strongly recommend following those directions, even before starting the server. The old method for accessing the Directory data, "dirsync" will not be fixed, and does exhibit problems.
    There are only a "readme" and a "buglist" associated with the p2, and that's included with the download itself.

  • SUNWdsvh & SUNWdsvhx for Solaris 8 only?

    Hi All -
    I am installing Solaris packaged version of DS 5.2P4 via the JES method on a Sol10 server. I notice the JES4 will install the packages SUNWdsvh & SUNWdsvhx, however the documentation http://docs.sun.com/source/816-6697-10/install.html#23713 mentions this are only for Sol8 installations. I know the documentation above was created prior to DS 5.2 support on Sol10 - but the majority of the documentation is not updated for each release.
    Are these packages only for Solaris 8 as the documentation mentions? If so - why would JES4 which knows the installation is taking place on a Sol10 host - install them?
    Any ideas?
    Thanks all

    The short answer is generally no.
    The long answer is that it can be done but you will need to make sure that on the Solaris 10 machine you only use functions/headers/libraries that are available on Solaris 8 otherwise they will not be found and the software won't work.
    alan

  • Desperately looking for mac.h header for Solaris 10u7 (NOT opensolaris)

    Hi there,
    for an experimental project I am trying to build a GLDv3 ethernet driver under Solaris 10 u7 x86.
    Unfortunately building the driver requires some GLDv3 specific headers that are not shipped with
    Solaris 10, because the GLDv3 interface is still unstable and therefore subject to change often.
    Nonetheless I would like to build the driver, so does anyone out there have the following include files: mac.h, mac_ether.h, mac_flow.h, mac_provider.h? These must be for Solaris 10u7 or the driver will not build and/or work...
    Again this is Solaris 10 not Opensolaris, and I cannot switch to Opensolaris for this project...
    Thanks in advance for your help!
    Rick

    Issue has been resolved offline... ;-)
    Matthias

  • IMS 5.x and Linux...

    Hi !
    Someone could tell me when a release of ims 5.x will be available for Linux ?
    We are using iMs 5.2 on Solaris but we plan to migrate on Linux Red Hat.
    Thanks !
    Frederic

    Unfortunately, if I told you a date, most likely I'd be wrong. . .
    The initial release of Orion should include Solaris/Intel, though. coming soon.

  • Clarity of iMS 5.2 Migration Guide

    Hi all, I have been running through the steps to upgrade our NMS 4.1.5 single server instance to iMS 5.2 on Solaris. I have found the steps in the document to be very vague in a lot of places and would like to post my experiences here (from a customer�s perspective) to aid people in the future and perhaps obtain some feedback. The steps I have been following are from Chapter 3 �Migrating from a Single-Server NMS System�.
    The perquisite of Directory Server 4.12 was kind of confusing to me since I installed NMS and it came with 4.1. Anyhow, this upgrade is simple and straightforward.
    In Step 2 you are required to turn on multi schema support. I have found that you need to include the merged conf files after the initial includes otherwise you will get various errors when you start the directory. There is an error I got that wouldn�t go away after this step:
    �ns-pab-schema.conf: line 30: Objectclass "pabperson" contains unknown allowed attribute "mailalternateaddress"
    - This objectclass uses attributes which have not been defined in your schema. The Directory Server will automatically add undefined attributes to the schema with type cis. Please define these attributes by placing their definitions before any objectclasses which use them.�
    Although the guide instructs you to add the merged conf files in step 2 it does not tell you if you should remove them in Step 18. �Disable multi-schema support.� I guess it could be implied but I am the kind of person that likes software documentation to be precise.
    Step 10/12, OK now we have two messaging and directory servers installed and the manual is still using terms like �instance_root�. I went ahead and ran these commands on both sides; I am oblivious on what was intended here but they seemed to do something on each instance.
    Silly me thought that the migration would actually move the data from the 4.12 directory to the brand new 4.16 instance so I was astonished when I realized that I now have to manage two directory servers after going to the new release; this does not seem like an elegant way to run an application but that might be subject for another thread on how to combine the two.
    So now after everything is running (Webmail is so much better now) I try to find out where all the test email I am sending is going. I have had no previous experience with SIMS so the new MTA made absolutely no sense to me at first, especially since it does not log anything by default ! The new MTA seems to be a spin on sendmail in a lot of ways so I think it will be a lot more flexible and robust.
    Hope this information can help someone.
    Mark

    With the customer I mentioned I ran into problems like adding mailequivalientaddress to a user object because it was not defined in the schema. I did the test migration again but this time let ims_dssetup.pl update the schema (the default answer is "yes" when you run the program) and low and behold the necessary schema had been included and thus I was able to add the attribute to a user object.
    I do not know of any reasons not to update the schema. Maybe it has something to do with having multiple NMS servers and thus if you've got a mixed environment of iMS and NMS, NMS would be confused if the iMS schema was introduced. Just a guess.
    My experience leads me to believe updating the schema is the right answer. If I remember I'll ask internally and see if anyone disagrees with me. If I'm right then I'll try and get the MG updated. Probably help if I read the section first to get the complete picture. ;-)
    As for directory and the leak. iMS brings it out more than NMS. If you configure iMS to use dirsync (the default) instead of direct LDAP lookup then you'll see it. NMS does a direct lookup for every rcpt to, the problem with that logic is a DDOS attack waiting to happen. In iMS 5.2 we've introduced a direct LDAP lookup but it has an in memory cache and related TTL settings. This allows you to configure it and thus prevent a DDOS attack against your LDAP consumers.
    The default of dirsync causes iMS to ask LDAP for information every 10 minutes (default) and the size of those queries are different from run to run, based on the rate of change of your LDAP data. The memory manager used in NsDS had a problem where it would not release this memory, instead keeping in cache to use again for a query of the exact same size. Given enough unique sized queries and NsDS would run out of memory.
    Given how NMS worked I can see how you would not see this problem. Given how iMS 5.0/1/2 works out of the box you would see this problem in short time, in changing environments.
    If you're just deploying iMS better to use direct LDAP mode anyway. It is a performance improvement as well, single digit gains, but faster is faster. I believe in the next major release of iMS or SunONE MS (or what ever it is called in the future) the dirsync mode of operation will be going away. It has been a source of trouble for us and are very happy to see it go.

  • Configure: error: Cannot find php-config

    After security update 2008-002 for Leopard, the PHP module builder stops, because the PHP version running on the machine doesn't match the header files from the PHP-developer part. More info see: http://www.naquah.net/blog/dennis/2008/03/20/how-to-get-eaccelerator-working-aga in-after-installing-security-update-2008-0#comment-50
    After editing /usr/bin/php-config
    Change
    version="5.2.4" to version="5.2.5" and
    vernum="50204" to vernum="50205"
    and /usr/include/php/main/php_version.h
    Change
    #define PHPRELEASEVERSION 4 to #define PHPRELEASEVERSION 5
    #define PHP_VERSION "5.2.4" to #define PHP_VERSION "5.2.5" and
    #define PHPVERSIONID 50204 to #define PHPVERSIONID 50205
    the ./configure command stops with a:
    configure: error: Cannot find php-config. Please use --with-php-config=PATH
    even when explicitly specifying the php-config location, the ./configure --with-php-config=/usr/bin/php-config command still throws an identical error.
    The file is there, accessible and not empty:
    $ ls -l /usr/bin/php-config
    -r-xr-xr-x 1 root wheel 3031 22 mrt 21:44 /usr/bin/php-config
    $ head /usr/bin/php-config
    #! /bin/sh
    SED="/usr/bin/sed"
    prefix="/usr"
    exec_prefix="${prefix}"
    version="5.2.5"
    vernum="50205"
    include_dir="${prefix}/include/php"
    includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
    ldflags=" -L/usr/lib/mysql"
    Re installing Xcode 3.0 didn't solve the problem.
    What could be done to repair the (php) configure command, to allow me to build php modules again?

    On my installation I have both NVidia and mesa drivers installed, thus two sets of GL headers/libraries.
    For Mesa: SUNWxorg-mesa
    Nvidia: NVDAgraphics
    If you want to develop on your system you may want to install much more than just GL headers.
    Its a pity that Solaris packaging is not really flexible, so you better do a full install indeed...
    regards,
    __Fedor.

  • How to move user from one partition to another partition

    i install ims 5.2 on solaris 8, the messagestore is default ..../partition/primary, now i add a new disk, and add a partition secondary through startconsole,when i want to move b user to the new parition , i get a error. anyone can help me, thank a lot
    $ ./mboxutil -r user/b/inbox user/b/inbox secondary
    System I/O error. Administrator, check server log for details.
    $

    hi,jay_plesset
    i downloaded the 5.2p1 and installed it, there are some error.
    Running Post-install procedures.
    /usr/iplanet/server5/msg-ultra1/imsimta chbuild
    -- line #3 of language code fileno country name specified --
    /usr/iplanet/server5/msg-ultra1/imsimta cnbuild
    07:27:11.93: Error in mm_init -- error initializing ch_ facility: no country nam
    -- line #3 of language code file
    /usr/iplanet/server5/msg-ultra1/imsimta cleandb
    /usr/iplanet/server5/msg-ultra1/imsimta version
    SunOS ultra1 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-1
    iPlanet Messaging Server 5.2 (built Feb 21 2002)
    libimta.so 5.2 (built 15:07:23, Feb 21 2002)
    New Installed Version is 5.2
    WARNING: Newly Installed revision string 0 does not match, it should be 1.09
    2.what's your mean,"Moving a user's partition by manually moving files, will not update the LDAP database. You MUST do this manually, "
    i mv the user,and run reconstruct -m, everything seems ok.

  • Configure: error: Cannot find GLX header

    I install gtkglext from its source code and get an error after the 'configure' command.
    bash-3.00$ ./configure
    checking GL/glx.h usability... no
    checking GL/glx.h presence... no
    checking for GL/glx.h... no
    configure: error: Cannot find GLX header
    I guess the OpenGL files are not installed during Solaris 10 installation. Could someone tell me where can I get opengl files? Are they in the Solaris 10 installation disks? How to install opengl files?

    On my installation I have both NVidia and mesa drivers installed, thus two sets of GL headers/libraries.
    For Mesa: SUNWxorg-mesa
    Nvidia: NVDAgraphics
    If you want to develop on your system you may want to install much more than just GL headers.
    Its a pity that Solaris packaging is not really flexible, so you better do a full install indeed...
    regards,
    __Fedor.

  • Customizing error message

    Hello.
    IMS 5.2 p2, Solaris 9.
    I have been reading http://docs.sun.com/source/816-6009-10/mta.htm and I changed the language for error messages, but is possible to change the subject and the error reason?
    An example:
    Subject: Delivery Notification: Delivery has failed
    Este informe hace referencia a un mensaje que envi� con los siguientes campos
    de encabezado:
    Return-path: <[email protected]>
    Received: from ims-ms-daemon.unimail.uninorte.edu.co by unimail.uninorte.edu.co
    (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004))
    id <[email protected]>
    (original mail from [email protected]); Tue,
    19 Jul 2005 09:19:08 -0500 (GMT)
    Received: from unimail.uninorte.edu.co (localhost [127.0.0.1])
    by unimail.uninorte.edu.co
    (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004))
    with ESMTP id <[email protected]> for
    cmartinez@ims-ms-daemon; Tue, 19 Jul 2005 09:19:05 -0500 (GMT)
    Received: from ceiba (tomillo.uninorte.edu.co [200.106.143.15])
    by unimail.uninorte.edu.co
    (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004))
    with SMTP id <[email protected]> for
    [email protected]; Tue, 19 Jul 2005 09:18:57 -0500 (GMT)
    Date: Tue, 19 Jul 2005 09:17:50 -0500 (GMT-05:00)
    From: Carlos Martinez-Troncoso Cera <[email protected]>
    Subject: test4
    To: =?ISO8859-1?Q?Carlos_Mart=EDnez-Troncoso_Cera?= <[email protected]>
    Message-id: <90142.1121782670681.JavaMail.cpadmin@ceiba>
    MIME-version: 1.0
    Content-type: multipart/mixed; boundary="----=_Part_681_682383.1121782660176"
    El mensaje no se puede entregar a los siguientes destinatarios:
    Recipient address: cmartinez@ims-ms-daemon
    Reason: Over quota
    I want to change Delivery Notification: Delivery has failed and Reason: Over quota for another words in Spanish, is this possible?
    Thanks a lot
    Carlos

    well..
    We will wait to upgrade...
    Thanks Jay.

  • Questions on pipe channel and e-mail processing

    Hi There,
    We currently have a sendmail (on Solaris) based system that we use for our primary MTA. Our iMS5.2 (on Solaris 8) is used for message storage. We will want to migrate our sendmail system to the Iplanet MTA. However, I need some ideas on how to handle one of our scenarios: We have numerous sendmail aliases that pipe the message through a script. That script will then send a notification message to a group of users and then archive the E-mail into a directory.
    I've looked at the docs regarding the "pipe" channel. It looks like I could define a bogus "alias-pipe" user and use the mailAlternateAddress field to define my various alias destinations. Then the script could just "switch" on the destination user to perform whatever actions are necessary. Everything I've read seems to indicate that processing e-mail through a program requires defining a user and that user then specifies the method to use. That requires "registering" the method using the "imsimta program" mechanism. I'd like to minimize the amount of work involved with updating and adding new alias programs. Does the above solution make sense, or am I headed down a deadend? Is there a better way to do this?
    If I were to use the MTA's aliases file, could I send directly to the pipe channel?
    Thanks for your input,
    Roger S.

    Roger-
    We are in exactly the same boat as you. Migrating from sendmail (AIX) to iMS 5.2 on Solaris. Everything is done except for trying to figure out how to handle the old sendmail aliases file. All indication are that the aliase would optimally reside in the LDAP. I'm looking into the unix2ldif utility to see if I can figure out some way of getting it to work. We have hundreds (literally) of aliases that need to be incorporated into our iMS environment. Currently iMS is our primary server running a SmarHost to our old sendmail box for the sole purpose of maintaining the aliases file. I'm anxious to get moved off of the old beast. I would be very interested to hear any solution you come up with. I have been dissapointed in the iMS documentation in the regard.
    -Patrick

  • Delete queued messages having env_from=

    I have an iMS 5.2 on Solaris 8, but I cannot manage to delete queued messages having env_from = "<>".
    Exact command I use:
    qm.maint> clean -env_from= "<>" -delete -min_length=2
    Can anybody help?

    Actually, this sounds like a "Bad Idea". Messages from the server itself normally have no env_from, so you'd be removing notifications that mail did not go through. Perhaps if you explained why you wish to do this, we can help you achieve your goals a different way.

  • Help Moving Mail Store

    We are attempting to migrate the mail stores from Sun Messaging Server 5.2 on Windows to iMS 5.2 on Solaris. We used imsbackup to archive a test account. When we tried to restore the mail (using imsrestore) on the destination server, it fails (the user's mailbox is empty). We used "imsrestore -t" to validate the archive prior to the attempt at restoration.
    We suspect that this is because the mail stores are named differently. The source mail store is named "MYMAIL" and the target is named "Portal1B". Is this likely to be the cause? If so, is there an easy way to correct this?
    Please note that the iMS services are a component of Luminis portal so we can't upgrade even if there are tools available in a newer version that makes this easier.
    Thanks in advance.

    >
    MoveUser is designed to move your users, one at a
    time, over the network. It may be faster than
    backup, but not guranteed. If used with correct ldap
    url in the command, it will even change the ldap
    entry for your users, for mail host.
    I've migrated terabytes of mail stores with MoveUser,
    usually a few thousand users at a time.We've been studying the moveuser command in the Messaging Server Reference Manual and have not been able to determine the correct arguments to pass. Can you please give us an example of the syntax based on our hypothetical setup?
    Src Email server: mymail.school.edu
    Src Email LDAP server: my.school.edu
    Src Email LDAP admin: cn=Directory Manager
    Src Email LDAP user path: ou=people, o=my.school.edu, o=cp
    Dst Emai server: portal1b.school.edu
    Dst Email LDAP server: portal1a.school.edu
    Dst Email LDAP admin: cn=Directory Manager
    Dst Email LDAP user path: ou=people, o=my.school.edu, o=cp
    Thank you for all your assistance!

Maybe you are looking for