send email from command line

Karl Larsen k5di at zianet.com
Wed Sep 24 19:28:21 UTC 2008


mierda tuti wrote:
> Many thanks to all!
>
> I 've installed mailx and I think my kubuntu have exim default.
>
> I execute
> mailx -s hola mierdatuti at gmail.com < mensaje
>
> In the log says me:
>
> tail -f mainlog
>
> 2008-09-24 12:05:55 1KiZgR-0002AA-DR <= root at ubuntu U=root P=local S=316
> 2008-09-24 12:05:55 1KiZgR-0002AA-DR ** mierdatuti at gmail.com R=nonlocal:
> Mailing to remote domains not supported
> 2008-09-24 12:05:55 1KiZgR-0002AC-He <= <> R=1KiZgR-0002AA-DR U=Debian-exim
> P=local S=1099
> 2008-09-24 12:05:55 1KiZgR-0002AA-DR Completed
> 2008-09-24 12:05:55 1KiZgR-0002AC-He => david <root at ubuntu> R=local_user
> T=mail_spool
> 2008-09-24 12:05:55 1KiZgR-0002AC-He Completed
>
> Many thanks!
>
>
>
>
>
>
>
> 2008/9/24, Matthew Flaschen <matthew.flaschen at gatech.edu>:
>   
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> mierda tuti wrote:
>>     
>>> Hi,
>>>
>>> Well I don't explain to well.
>>>
>>> I have kubuntu 8,04 and I would like to send email for example to
>>> mierdatuti at gmail.com., because I don't know too much about how configure
>>>       
>> it,
>>     
>>> I 've saw that I have to configure a MTA (like postfix or sendmail) with
>>> relay host. My relay host is gmail. Could you say me how to configure it?
>>>
>>> Many  thanks and sorry for my english!
>>>       
>> No one has directly answered your question, though they've given you
>> some pointers.  I found a tutorial that specifically uses gmail
>> (http://www.linuxha.com/other/sendmail/gmail.html) as an SMTP provider.
>> That means you would be sending the email through your gmail account.
>> You can send email /to/ any email user, including other gmail users.
>>
>> Matt Flaschen
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFI2dTbQ5LSyju97VkRApqPAKCq5kMKeioUn8T8ekymts/6ls7wiQCfQZTI
>> 7MsVSwkBbsrVEIfIXkpfal8=
>> =e5zQ
>> -----END PGP SIGNATURE-----
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>     
>
>   
    According to man mailx the -s means send the subject of the message 
on the command line. It would seem it might mean "send the darn message" 
:-)

    But doesn't so no joy yet.

Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list