send email from command line

mierda tuti mierdatuti at gmail.com
Wed Sep 24 19:08:59 UTC 2008


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080924/fbadce35/attachment.html>


More information about the ubuntu-users mailing list