Command line sendmail client
Hello list
I am looking for some command line mail client that will allow me to send mail using some other smtp server instead of local one. For ex. I need something like 'mail -server smtp.gmail.com -to some@email.com -subject hello - text some text' . I have looked at mailx but cant seem to find what I am looking for. Anything like this around? Thanks -- Amar Ćosić amar.cosic@gmail.com amar@amar.ba +38761240095 http://www.amar.ba |
Command line sendmail client
On 01/29/2009 09:38 AM, Amar Cosic wrote:
Hello list I am looking for some command line mail client that will allow me to send mail using some other smtp server instead of local one. For ex. I need something like 'mail -server smtp.gmail.com -to some@email.com -subject hello - text some text' . I have looked at mailx but cant seem to find what I am looking for. Anything like this around? Thanks You need to configure your MTA to be a smart relay, detecting local mail and keeping it local, while relaying non-local email to smtp.gmail.com. This is easy with Postfix. Can't say about sendmail. -- Ron Johnson, Jr. Jefferson LA USA "I am not surprised, for we live long and are celebrated poopers." -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
Command line sendmail client
Hello Amar,
Amar Cosic wrote: > I am looking for some command line mail client that will allow me to send > mail using some other smtp server instead of local one. For ex. I need > something like 'mail -server smtp.gmail.com -to some@email.com -subject > hello - text some text' . I have looked at mailx but cant seem to find what > I am looking for. Anything like this around? Thanks Take a look on any small package that provides 'sendmail', for example, msmtp. -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com Ukrainian C++ Developer, Debian Maintainer, APT contributor |
Command line sendmail client
On Thu, Jan 29, 2009 at 04:38:12PM +0100, Amar Cosic wrote:
> Hello list > > I am looking for some command line mail client that will allow me to send > mail using some other smtp server instead of local one. For ex. I need > something like 'mail -server smtp.gmail.com -to some@email.com -subject > hello - text some text' . I have looked at mailx but cant seem to find what > I am looking for. Anything like this around? Thanks Newer versions of mutt will do this. Not sure if by "mail client" you mean an MTA, an MUA or both, though. The other suggestions are also good. Cheers, -- Eric Gerlach, Network Administrator Federation of Students University of Waterloo p: (519) 888-4567 x36329 e: egerlach@feds.uwaterloo.ca -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
| All times are GMT. The time now is 12:00 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.