Mailinglist Archive: opensuse (3349 mails)

< Previous Next >
Re: [SLE] Define root's email from address
  • From: Allen <gorebofh@xxxxxxxxxxx>
  • Date: Sun, 22 May 2005 00:46:05 -0400
  • Message-id: <20050522044605.GA32293@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Sat, May 21, 2005 at 06:37:12PM +0100, Richard Curtis wrote:
> >
> > > > I have some scripts which use the "mail" program to email a remote
> > email
> > > > address.
> > > > The problem I am having is that the upstream mail server we send
> > through
> > > > isa bouncing these mails back as undeliverable as the senders address
> > is
> > > > not resolving.
> > > >
> > > > The error is similar to:
> > > > <root@xxxxxxxxxxxxxx>... Domain of sender address
> > > > root@xxxxxxxxxxxxxx does not exist (in reply to MAIL FROM command)
> > > >
> > > > How do I setup root's senders address to be something like
> > > > root@xxxxxxxxxxxxxxxxxxxxxxxxx ?
> > > > I assume it is all down to /root/.mailrc, but I am struggling to find
> > the
> > > > appropriate syntax for doing this.
> > >
> > > In the mail command you can add "-r root@xxxxxxxxxxxxxxxxxxxxxxxxx" to
> > the
> > > parameter list.
> > >
> > > In the mailrc it looks like you should be able to do
> > >
> > > set from root@xxxxxxxxxxxxxxxxxxxxxxxxx
> > >
> > > to get the same effect
> >
> >
> > Or you could open YAST2 and go into the mail settings there and do it...
>
> I forgot all about using Yast2 :)
> I did it the manual way as per Anders' suggesstion.
> For the achives tho, the correct syntax was : set from=
> root@xxxxxxxxxxxxxxxxxxxxxxxxx <from=root@xxxxxxxxxxxxxxxxxxxxxxxxx>
> (note the "=")
> Thanks for the help

No prob. If you're using Mutt you can do it as well. I have a Muttrc file
I've made from last October I'm using which means I can send email from
wherever I want lol.


> Richard

< Previous Next >