Solved on AIX

Posted on 2011-10-05
Last Modified: 2013-12-17

I am using sendmail on AIX 5.3. How do I update the file. The command echo \$Z | sendmail -d0 show that the (subdomain name) $m = <null> is blank / null. I need to set an CM option in the file. After editing how do I apply the optoin. I do not have any mc files.

Also how do I start sendmail on the command line with options: startsrc -s sendmail -a "-bd -q30m" -O NoRecipientAction=add-to
I want to be able to test optiosn before editing the

Thanks in advance.
Question by:hairylots
    LVL 68

    Accepted Solution

    Just edit /etc/ according to your needs.

    Then issue

    refresh -s sendmail

    to restart it.

    Apply your desired start options like this:

    startsrc -s sendmail -a "-bd -q30m -O NoRecipientAction=add-to"

    The string enclosed in quotes following "-a" will be passed to the subsystem as a whole.

    To make these options effective at system startup change /etc/rc.tcpip (the line beginning with "start /usr/lib/sendmail ...") accordingly.


    LVL 28

    Expert Comment

    by:Jan Springer
    Does the distribution with AIX not come with a  That's the file you should be modifying to create a
    LVL 68

    Expert Comment

    The .mc (and .m4) files that come with AIX are just samples and cannot reliably be used to build a working (without a lot of customization, that is).

    They're in /usr/samples/tcpip/sendmail
    See the README file there for more.


    Author Closing Comment

    Thanks woolmilkporc

    Solution worked, achieved whay i needed to.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
    Video by: Phil
    This video goes over how to configure and start a jail in FreeBSD.  This video is meant to supplement the article included with this course.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now