Re: Need to change the source address in sendmail
From: jim martin (postfix168_at_yahoo.com)
Date: 08/04/04
- Previous message: Lew Bloch: "Re: access my computer remotely? (& ipconfig)"
- In reply to: Stuart Sears: "Re: Need to change the source address in sendmail"
- Next in thread: jim martin: "Re: Need to change the source address in sendmail"
- Reply: jim martin: "Re: Need to change the source address in sendmail"
- Reply: Mike Burger: "Re: Need to change the source address in sendmail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Lew Bloch: "Re: access my computer remotely? (& ipconfig)"
- In reply to: Stuart Sears: "Re: Need to change the source address in sendmail"
- Next in thread: jim martin: "Re: Need to change the source address in sendmail"
- Reply: jim martin: "Re: Need to change the source address in sendmail"
- Reply: Mike Burger: "Re: Need to change the source address in sendmail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|