PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > sendemail with gmail?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

sendemail with gmail?

Réponse
 
LinkBack Outils de la discussion
Vieux 09/03/2007, 15h30   #1
Bruno Buys
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut sendemail with gmail?

Anyone succeeded using sendemail (its not sendmail) with gmail? I installed
the tls related packages, enabled -tls=yes in the command line, but no go.
And I already did what this guy at
http://caspian.dotconf.net/menu/Software/SendEmail/ said, under 'tls
support'.
Other smtp's do work.

Any is appreciated!


bruno buys

  Réponse avec citation
Vieux 09/03/2007, 16h10   #2
Juergen Fiedler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendemail with gmail?

On Fri, Mar 09, 2007 at 12:21:00PM -0300, Bruno Buys wrote:
> Anyone succeeded using sendemail (its not sendmail) with gmail? I
> installed the tls related packages, enabled -tls=yes in the command line,
> but no go. And I already did what this guy at
> http://caspian.dotconf.net/menu/Software/SendEmail/ said, under 'tls
> support'.
> Other smtp's do work.
>
> Any is appreciated!


In sid, the following works for me:

sendEmail -f my.account@gmail.com -t myself@domain.tld \
-u test -m "this is a test" \
-s smtp.gmail.com \
-o tls=yes \
-xu my.account -xp mypasswd

With the appropriate values for -f, -t, -xu and -xp, the mail is sent
successfully and arrives as expected.

Good luck,
--j

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF8YR0vKOJTPSBKa0RAg3BAKCX4GO0dlt7/StduS+tumTrBQBwaACcDoVM
fKDcy5EYTtv3SX66X4YDMxg=
=lsk5
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 09/03/2007, 18h00   #3
Bruno Buys
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendemail with gmail?

On 3/9/07, Juergen Fiedler <juergen@fiedlerfamily.net> wrote:
>
> On Fri, Mar 09, 2007 at 12:21:00PM -0300, Bruno Buys wrote:
> > Anyone succeeded using sendemail (its not sendmail) with gmail? I
> > installed the tls related packages, enabled -tls=yes in the command

> line,
> > but no go. And I already did what this guy at
> > http://caspian.dotconf.net/menu/Software/SendEmail/ said, under 'tls
> > support'.
> > Other smtp's do work.
> >
> > Any is appreciated!

>
> In sid, the following works for me:
>
> sendEmail -f my.account@gmail.com -t myself@domain.tld \
> -u test -m "this is a test" \
> -s smtp.gmail.com \
> -o tls=yes \
> -xu my.account -xp mypasswd
>
> With the appropriate values for -f, -t, -xu and -xp, the mail is sent
> successfully and arrives as expected.
>
> Good luck,
> --j
>



Hi Juergen, thanks for replying.
I tried your line, and here's the output:

Mar 09 14:58:26 cestudos sendEmail[3111]: WARNING => Name/Value pair
[tls=yes] will be ignored: unknown key [tls]
Mar 09 14:58:27 cestudos sendEmail[3111]: ERROR => Received: 530
5.7.0Must issue a STARTTLS command first b12sm3710770ana

Shall I generate a tls key first? How?

  Réponse avec citation
Vieux 09/03/2007, 19h00   #4
Juergen Fiedler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendemail with gmail?

On Fri, Mar 09, 2007 at 02:59:33PM -0300, Bruno Buys wrote:
[...]
> Hi Juergen, thanks for replying.
> I tried your line, and here's the output:
>
> Mar 09 14:58:26 cestudos sendEmail[3111]: WARNING => Name/Value pair
> [tls=yes] will be ignored: unknown key [tls]
> Mar 09 14:58:27 cestudos sendEmail[3111]: ERROR => Received: 530 5.7.0
> Must issue a STARTTLS command first b12sm3710770ana
>
> Shall I generate a tls key first? How?


Are you sure that your version od sendemail supports TLS? It rather
looks like it doesn't. The version that I have installed is 1.55-1,
TLS is only supported in 1.54 and later.

--j

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF8a5zvKOJTPSBKa0RArjKAJ0YkjZ+rlF/B7ah15JoSCjDDU4bhwCguGCh
4WkMlzGnYoUxHbPOBULyO9c=
=Nqml
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 09/03/2007, 21h50   #5
Bruno Buys
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendemail with gmail?

Juergen Fiedler wrote:
> On Fri, Mar 09, 2007 at 02:59:33PM -0300, Bruno Buys wrote:
> [...]
>
>> Hi Juergen, thanks for replying.
>> I tried your line, and here's the output:
>>
>> Mar 09 14:58:26 cestudos sendEmail[3111]: WARNING => Name/Value pair
>> [tls=yes] will be ignored: unknown key [tls]
>> Mar 09 14:58:27 cestudos sendEmail[3111]: ERROR => Received: 530 5.7.0
>> Must issue a STARTTLS command first b12sm3710770ana
>>
>> Shall I generate a tls key first? How?
>>

>
> Are you sure that your version od sendemail supports TLS? It rather
> looks like it doesn't. The version that I have installed is 1.55-1,
> TLS is only supported in 1.54 and later.
>
> --j
>

Hi Juergen,
That was the case. I was running 1.52 from etch. The 1.55 from the dev's
website does run ok with gmail.
thanks!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h41.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10528 seconds with 13 queries