Cmdline mail client that talks to remote SMTP server?

Paul Howarth paul at city-fan.org
Wed Mar 29 10:19:22 UTC 2006


CodeHeads wrote:
> On Tue, 28 Mar 2006 23:32:18 -0500
>> How about configuring sendmail on localhost to use the other SMTP as a
>> smart host?  If I get what you're saying, it does what you want and
>> has the added advantage that you can use any command line email client
>> - even good old mail.
>>
>> For example, to use smtp.example.com as the smart relay:
>>
>>   sed -i -e 's/^DS$/DSsmtp.example.com/' /etc/mail/sendmail.cf
>>   service sendmail restart
>>
> 
> How would you add a user name and password for the smart host??
> Sorry sendmail is confusing to me :) Just thought I would ask for future
> reference. 

See "Providing SMTP AUTH Data when sendmail acts as Client" in 
/usr/share/sendmail-cf/README (in the sendmail-cf package).

Paul.




More information about the fedora-list mailing list