Bon, merci à tous.
J'ai installé EXIM pour finir. Ca marche et la memoire utilisée est faible.
C'est tout bon.
A+
-jec

Marcel Ryser wrote:
Comment faire pour envoyer un mail depuis une box Debian sans avoir de daemon qui tourne?

une solution est d'utiliser un serveur smtp externe:
par ex. avec smtplib de python

def mailit(subject, fro, to, msg):
    import smtplib
msg = ("From: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n%s" % (fro, to, subject, msg))
    server = smtplib.SMTP('smtp.deckpoint.ch')
    server.sendmail(fro, to, msg)
    server.quit()

mailit("hello", "[EMAIL PROTECTED]", "[EMAIL PROTECTED]","corps du mail")



--
JeSC - Software et Consulting
Jean-Eric Cuendet
Ingénieur HES en télécommunications
1168 Villars-sous-Yens

Web       : http://jesc.ch
Blog      : http://jesc.wordpress.com
Tel       : +41 21 800 3343
Mobile    : +41 76 222 3343
--------------------------------------------------------
_______________________________________________
gull mailing list
[email protected]
http://lists.alphanet.ch/mailman/listinfo/gull

Répondre à