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

Adam Miller maxamillion at fedoraproject.org
Thu Jul 8 15:29:11 UTC 2010


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



More information about the redhat-list mailing list