<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    jojo's blog--快樂憂傷都與你同在
    為夢想而來,為自由而生。 性情若水,風起水興,風息水止,故時而激蕩,時又清平……
    posts - 11,  comments - 30,  trackbacks - 0
    Paul Howarth wrote:
    > On Thu, 2005-07-21 at 10:03 +0200, Andreas Wahlert wrote:
    >
    >>Paul Howarth wrote:
    >>
    >>>On Thu, 2005-07-21 at 09:35 +0200, Andreas Wahlert wrote:
    >>>
    >>>
    >>>>i have script which sends e-mail to me. How can i specify a complete
    >>>>sender address like "boom@work.de"?? i see in my mailclient only senders
    >>>>such "nagios@localhost.localdomain". On my host ist FC3 installed "out
    >>>>of the box"
    >>>
    >>>
    >>>Do you want *all* mail originating from scripts on this machine to have
    >>>a "work.de" address, or just mail originating from nagios?
    >>>
    >>>Does this mail need to be sent over the Internet? If so, you will need a
    >>>valid envelope sender domain instead of localhost.localdomain. What type
    >>>of Internet connection do you have (dialup, always-on, static/dynamic?).
    >>>
    >>>The configuration is best done in sendmail, which will then work for all
    >>>programs, not just "mail".
    >>>
    >>>Paul.
    >>
    >>
    >>It's only a host for Monitoring. There runs "Fujitsu ServerView" and
    >>"nagios" That means "work.de" is enough for all. The script send only
    >>notifications mail to my internal mailserver.
    >>
    >>
    >>Where can i do this configuration in sendmail??
    >
    >
    > # yum install sendmail-cf
    >
    > Edit /etc/mail/sendmail.mc and change:
    >
    > dnl MASQUERADE_AS(`mydomain.com')dnl
    >
    > to:
    >
    > MASQUERADE_AS(`work.de')dnl
    >
    > If you want to be able to rewrite "nagios" as "boom", you should also
    > add:
    >
    > FEATURE(`genericstable',`hash -T<TMPF> /etc/mail/genericstable')dnl
    >
    > just below the existing line:
    >
    > FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
    >
    > Then create a file /etc/mail/genericstable containing the line:
    >
    > nagios boom@work.de
    >
    > Then run "make -C /etc/mail; service sendmail reload"
    >
    > I think that should do what you want.
    >
    > Paul.


    wow,



    now it works.

    sendmail is really tricky. i have found a nice howto to switch to
    postfix. I guess it's better for me, to have a postfix on this machine.
    There i'm understanding what i'm doing :-))



    posted on 2009-06-06 09:53 Blog of JoJo 閱讀(269) 評論(0)  編輯  收藏 所屬分類: 每日一記

    <2025年5月>
    27282930123
    45678910
    11121314151617
    18192021222324
    25262728293031
    1234567

    常用鏈接

    留言簿(6)

    隨筆檔案

    文章分類

    文章檔案

    新聞分類

    新聞檔案

    相冊

    收藏夾

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 一级成人生活片免费看| 亚洲啪啪免费视频| 蜜桃精品免费久久久久影院| 久久久久久99av无码免费网站| 午夜视频在线观看免费完整版| 国产午夜亚洲精品国产成人小说| 亚洲国产精品无码专区| 亚洲一区欧洲一区| 日韩成人毛片高清视频免费看| 99久久精品免费精品国产| 午夜免费不卡毛片完整版| 亚洲a∨无码精品色午夜| 久久免费国产精品一区二区| 成年性午夜免费视频网站不卡| 亚洲人成网站在线播放vr| 国产精品亚洲专区在线观看| 好男人www免费高清视频在线| 亚洲小说图区综合在线| 中文字幕天天躁日日躁狠狠躁免费| 国产啪亚洲国产精品无码| a毛片在线还看免费网站| 国产小视频免费观看| 亚洲精品日韩专区silk| 成人国产精品免费视频| 又大又黄又粗又爽的免费视频| 97久久国产亚洲精品超碰热| 午夜毛片不卡高清免费| 亚州**色毛片免费观看| 国产jizzjizz视频免费看| 亚洲日本天堂在线| 最近中文字幕免费mv视频8| 羞羞漫画小舞被黄漫免费| 91视频国产免费| 777亚洲精品乱码久久久久久| 中国黄色免费网站| 亚洲人成综合在线播放| 亚洲国产中文字幕在线观看| 亚洲av成人一区二区三区在线播放| 中文国产成人精品久久亚洲精品AⅤ无码精品| 亚洲AV无码成人精品区日韩| 国产亚洲真人做受在线观看|