I would like to use smtp.google.com SMTP to send e-mail, but I
see in 'mailer' that smtp:// urls do not include a field for user
name. Is smtp+starttls supported?

Yes, STARTTLS is supported. But why do you need a user name for it?

The config dialog for smtp in thunderbird includes a username
field. Without that, google smtp refuses delivering messages
and returns an authentication error. The smtp server used in
an office I used to work (smtp.terra.com.br) also worked like
that.

(Am I in the right path? Even if I could get smtp in 'mailer' I
don't think that would instruct 'mail' to send mail throw that
server. Is it possible to send mail using an user configured smtp
instead of the system MTA?)

Yes, that's what `mailer' is for.

But

    mail --config-lint

says

    mail: Info: parsing file `/home/mauricio/.mail'
    /home/mauricio/.mail:4: unknown section `mailer'
    mail: Info: finished parsing file `/home/mauricio/.mail'

This is my .mail:

    mailbox {
      mailbox-pattern 
"imaps://mauricio.antunes%40gmail.com:PASS;[email protected]";
    };
    mailer {
      url "smtp://smtp.google.com";
    }


Maurício



_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to