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

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

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

    jojo's blog--快樂憂傷都與你同在
    為夢(mèng)想而來,為自由而生。 性情若水,風(fēng)起水興,風(fēng)息水止,故時(shí)而激蕩,時(shí)又清平……
    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) 評(píng)論(0)  編輯  收藏 所屬分類: 每日一記

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

    常用鏈接

    留言簿(6)

    隨筆檔案

    文章分類

    文章檔案

    新聞分類

    新聞檔案

    相冊(cè)

    收藏夾

    搜索

    •  

    最新評(píng)論

    閱讀排行榜

    評(píng)論排行榜

    主站蜘蛛池模板: 美女又黄又免费的视频| 亚洲一区二区三区亚瑟| 一级毛片免费播放试看60分钟| 好吊妞在线新免费视频| 最新亚洲卡一卡二卡三新区| 免费看成人AA片无码视频羞羞网| 中文字幕免费在线播放| 成人免费福利视频| 久久精品国产亚洲av麻豆蜜芽| 和日本免费不卡在线v| 亚洲三级中文字幕| 在线免费观看国产视频| 免费无码午夜福利片 | 黄视频在线观看免费| 希望影院高清免费观看视频 | 亚洲中文字幕久久精品无码VA| 久久精品无码一区二区三区免费| 亚洲婷婷五月综合狠狠爱| 免费观看91视频| 久久亚洲精品中文字幕| 女人被弄到高潮的免费视频 | 麻豆亚洲AV永久无码精品久久| 57pao一国产成永久免费| 精品亚洲AV无码一区二区| 免费无码又爽又刺激毛片| 日韩在线视频免费| 亚洲国产综合91精品麻豆| 亚洲第一视频在线观看免费| 亚洲高清国产拍精品26U| 一二三四视频在线观看中文版免费 | 久久久久久久久免费看无码| 美女视频黄频a免费| 国产V亚洲V天堂无码久久久| 国产精品视频永久免费播放| 四虎精品成人免费视频| 久久亚洲sm情趣捆绑调教| 国产成人无码免费视频97| 久久香蕉国产线看免费| 亚洲av福利无码无一区二区| 国产又黄又爽又猛免费app| 在线播放国产不卡免费视频|