Re: Sendmail masquerading configuration

From: Ian Moore (no-spam_at_swiftdsl.com.au)
Date: 02/06/05

  • Next message: Anthony Atkielski: "Re: favor"
    To: freebsd-questions@freebsd.org
    Date: Sun, 6 Feb 2005 21:19:56 +1030
    
    
    

    On Sun, 6 Feb 2005 20:58, Ted Mittelstaedt wrote:
    > > -----Original Message-----
    > > From: owner-freebsd-questions@freebsd.org
    > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Ian Moore
    > > Sent: Sunday, February 06, 2005 2:07 AM
    > > To: freebsd-questions@freebsd.org
    > > Subject: Sendmail masquerading configuration
    > >
    > >
    > > Hi,
    > > I'm hoping someone can help me with this.
    > >
    > > I want to make sendmail (on a 5.3-Release server) leave the
    > > host name out of
    > > the sender address when sending mail from that machine.
    > > I.E. mail from root currently has a sender address of
    > > root@myhost.foo.bar, I
    > > want it to be root@foo.bar instead.
    >
    > Not possible, I think, as I recall masquerading only works on
    > users not in the T macro. (ie: Trusted Users) root is
    > most definitely in this macro.

    I guess even if I redirect root's mail to another user & forward that to my
    account on the ISP's server, it wouldn't work for the same reason.

    > Masquerading is a bullshit way of doing this kind of
    > thing anyhow. Use the -f switch if your calling the sendmail
    > binary directly from programs. If your using /bin/mail
    > as a MUA, then get a better one like Elm or Pine that
    > lets you do this.

    It's mail from cron, periodic etc. that I want to redirect to my work email
    account, so i can tell if my server is still alive when I'm on holidays.
    This wasn't a problem until a few days ago when our ISP started blocking mail
    with a hostname attached.

    Cheers,

    -- 
    Ian
    GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc
    
    



  • Next message: Anthony Atkielski: "Re: favor"

    Relevant Pages

    • Re: redirect emails
      ... done with server side rule. ... person's account and add it to the same rule condition. ... > i mean i have to redirect all incoming emails (which are sent by other ...
      (microsoft.public.outlook.general)
    • Having problems connecting to email server
      ... I set up my windows mail so that I can get my work email at home. ... Subject 'Re: Special Needs Application', Account: 'campberachah.org', ... Server: 'campberachah.org', Protocol: SMTP, Server Response: '250 AUTH LOGIN ...
      (microsoft.public.windows.vista.mail)
    • Re: My Documents Redirection
      ... That depends on if the Particular Folder Redirection Policy was set to ... redirect the content back to the local machine or keep it at the server. ... > Someone delete and then recreated an account that has a GPO to redirect ...
      (microsoft.public.win2000.group_policy)
    • Re: coexistence/migration of 2003 Exchg with 2000 exchange OWA
      ... Your problem would be resolved by deploying a Front end server. ... The redirect takes place, but the information cannot be processed ... which is able to return it to your browser on the Internet. ... > account from the web now that it is on the other server. ...
      (microsoft.public.exchange.admin)
    • Re: coexistence/migration of 2003 Exchg with 2000 exchange OWA
      ... One last question Ben....do I make my 2000 or 2003 server the front end server? ... The redirect takes place, but the information cannot be processed ... which is able to return it to your browser on the Internet. ... >> account from the web now that it is on the other server. ...
      (microsoft.public.exchange.admin)