how to configure mail command to use a specific mail server?

Eugene Jansen van Rensburg eugenejvr at gmail.com
Fri Jul 9 18:13:35 UTC 2010


Hi there,

I use "sendEmail" for exactly this. It is absolutely brilliant. I don't
think the mail command will be of great use.

Find it here, its a single perl script that you can copy to your /bin/.
directory for easy access.
http://caspian.dotconf.net/menu/Software/SendEmail/

Hope it helps!
-- 

*Eugene Jansen van Rensburg*
eMail: eugenejvr at gmail.com

*"Quit is NOT an option"*
On Fri, Jul 9, 2010 at 9:50 AM, ESGLinux <esggrupos at gmail.com> wrote:

> Thanks Adam,
>
> I´ll try it,
>
> one question, i need to pass user and pass, and I think this script doesn´t
> support it, does it?
>
> Thanks  again for your time,
>
> ESG
>
> 2010/7/8 Adam Miller <maxamillion at fedoraproject.org>
>
> > I wrote a small python script that satifies this need because there was a
> > case where I needed similar functionality. I can't promise much and its
> > somewhat primitive but if you have requests for change in functionality I
> > will gladly make changes. I meant to actually implement most of the
> > features
> > of the mail command and then package and release the code/script but
> never
> > got around to it. Maybe this will jump start that :)
> >
> > https://fedorahosted.org/pymail/browser/pymail
> >
> > -AdamM (From Android)
> >
> > On Jul 8, 2010 6:45 AM, "ESGLinux" <esggrupos at gmail.com> wrote:
> > > thanks Mike,
> > >
> > > I agree with you because I can´t find a way to do it
> > >
> > > Greetings
> > >
> > > ESG
> > >
> > > 2010/7/8 Mike Burger <mburger at bubbanfriends.org>
> > >
> > >> > When I use the mail command from the console the mail is delivered
> > using
> > >> > the
> > >> > local postfix. How can I configure this command to use a specific
> mail
> > >> > server?
> > >> >
> > >> > I have a postfix running in other machine and I want that the client
> > >> > machines uses this server as outgoing server (configure it with
> other
> > >> mail
> > >> > clients like thunderbird is trivial)
> > >> >
> > >> > Thanks in advance,
> > >>
> > >> I don't belive that there is a way. The mail command comes with
> Postfix
> > >> (or sendmail, or qmail, or...).
> > >>
> > >> The most that I believe you an do is to configure the local postfix to
> > use
> > >> the other server as a "smart relay".
> > >> --
> > >> Mike Burger
> > >> http://www.bubbanfriends.org
> > >>
> > >> Visit the Dog Pound II BBS
> > >> telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
> > >>
> > >> To be notified of updates to the web site, visit:
> > >>
> > >> https://www.bubbanfriends.org/mailman/listinfo/site-update
> > >>
> > >> or send a blank email message to:
> > >>
> > >> site-update-subscribe at bubbanfriends.org
> > >>
> > >> --
> > >> redhat-list mailing list
> > >> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > >> https://www.redhat.com/mailman/listinfo/redhat-list
> > >>
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list