Re: Need to change the source address in sendmail

From: jim martin (postfix168_at_yahoo.com)
Date: 08/04/04

  • Next message: jim martin: "Re: Need to change the source address in sendmail"
    Date: Wed, 4 Aug 2004 11:10:42 -0700 (PDT)
    To: stuart@sjsears.com, General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    Well, I changed my sendmail.mf file's MASQUERADE_AS(`abc.com')dnl, abc.com is the source domain that I want to be. but it still shown as root@mylinux.mycompany.com. In fact, I did install postfix before and configured the /etc/postfix/main.cf 's myorigin=abc.com but it still shown as root@mylinux.mycompany.com. And my friend told me that it is because my postfix is taken over by sendmail. So I stop my sendmail.. and restart the postfix.. postfix start fine.. but I still cannot send mail via postfix as the source address that define in main.cf "myorigin=abc.com" when I am using root.
     
    what my friend told me was it is because, I am still using Sendmail, namely because sendmail(1) is the Sendmail MTA and not Postfix' sendmail binary.
     
    BUT I wonder what he said is true or not now. As later I tried to start both sendmail and postfix and using the postfix command (mail -s "subject" david@yahoo.com < /file using other user account for example david instead of root. It does show the source address as david@abc.com. But I wonder it doesn't apply to root. Anyone can tell me??
     
    > Aug 4 00:57:42 watcher sendmail[21068]: i73Gvgrd021068: from=root,
    size=52, class=0, nrcpts=1,
    msgid=<200408031657.i73Gvgrd021068@watcher.teasin.com>, relay=root@localhost

    Stuart Sears <stuart@sjsears.com> wrote:
    On Wed, 2004-08-04 at 17:45, Stuart Sears wrote:
    > On Wed, 2004-08-04 at 17:36, jim martin wrote:
    > > Hi.. i am using sendmail in Fedora Core1 to send email. And I found that my source email address is always root@mylinux.mycompany.com. mylinux is my hostname and mycompany is my company domain name. but how can change my source email address to root@abc.com or myname@abc.com?? where is the setting??? Is that in /etc/mail/sendmail.cf ? But I don't know where should I change.
    > You can add somethinglike something like
    > to one of the lines in sendmail.mc
    > FEATURE (MASQUERADE AS `domain.com')
    > I believe...
    oops. Well it was _nearly_ in English...
    > Why not just use postfix like sane people?
    > myorigin = domain.com
    >
    > :-)
    >
    > Stuart
    > >
    > > ---------------------------------
    > > Do you Yahoo!?
    > > New and Improved Yahoo! Mail - Send 10MB messages!
    >

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    		
    ---------------------------------
    Do you Yahoo!?
    Yahoo! Mail - 50x more storage than other providers!
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: jim martin: "Re: Need to change the source address in sendmail"

    Relevant Pages

    • Re: sendmail vs. postfix question
      ... > Sendmail is a large, monolithic, complicated program that runs as ... > Sendmail configuration is complicated and arcane -- it is the ... > Postfix has a different architecture, ...
      (FreeBSD-Security)
    • Re: [opensuse] How to monitor Linux systems from a focal/central point (was: ranting and raving abo
      ... I'm perfectly well aware of how to set up Postfix, and, for my sins, ... workstation ran Postfix, exim, sendmail or other such MTA. ... this is solely regarding the case of a minimal install on a resource-limited ... client machine that has absolutely no need for an MTA to be installed. ...
      (SuSE)
    • Re: Large Prod Env Mail Host Was [Re: ClamAV Feedback]
      ... > Postfix is inappropriate for our task as it's not configurable enough ... Milter and LDAP support must be ... I believe you're building sendmail yourself them. ... > users to change their passwords and other things on the LDAP servers. ...
      (Fedora)
    • RE: java on RH AS 3.0?
      ... same program names) and switch between them without uninstalling either. ... Its most common use is to switch between sendmail and postfix, ... is done using a series of 'slave' links which are automtically switched ...
      (RedHat)
    • Re: Am I testing out sendmail correctly?
      ... I thought I'd send a test email to ... Connecting to yahoo and sending mail to a yahoo account will of course ... not involve your sendmail at all. ... You have verified that sendmail is *not* running - but that Postfix ...
      (comp.mail.sendmail)