Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it L'avatar di smol
    Registrato dal
    Feb 2005
    Messaggi
    251

    Mandare mail dalla shell

    Ragazzi, mi hanno detto che è possibile inviare e-mail dalla shell di linux tramite la semplice sintassi:

    > mail pippo@libero.it

    Ho provato in tutti i modi, ma la mail non arriva mai. Vi posto il log dal mio PC:

    Aug 27 17:32:24 u-s sendmail[12084]: l7RFWOIE012084: from=root, size=48, class=0, nrcpts=1, msgid=<200708271532.l7RFWOIE012084@u-s.it>, relay=root@localhost
    Aug 27 17:32:24 u-s sendmail[12085]: l7RFWOGL012085: <pippo@libero.it>... User unknown
    Aug 27 17:32:24 u-s sendmail[12084]: l7RFWOIE012084: to=pippo@libero.it, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30048, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
    Aug 27 17:32:24 u-s sendmail[12085]: l7RFWOGL012085: from=<root@u-s.it>, size=48, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=u-s.it [127.0.0.1]
    Aug 27 17:32:24 u-s sendmail[12084]: l7RFWOIE012084: l7RFWOIF012084: DSN: User unknown
    Aug 27 17:32:24 u-s sendmail[12085]: l7RFWOGN012085: from=<>, size=1841, class=0, nrcpts=1, msgid=<200708271532.l7RFWOIF012084@u-s.it>, proto=ESMTP, daemon=MTA, relay=u-s.it [127.0.0.1]
    Aug 27 17:32:24 u-s sendmail[12084]: l7RFWOIF012084: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31072, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l7RFWOGN012085 Message accepted for delivery)
    Aug 27 17:32:24 u-s sendmail[12087]: l7RFWOGN012085: to=<root@u-s.it>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31999, dsn=2.0.0, stat=Sent

    Ho notato chhe la stringa relay=[127.0.0.1] e relay=u-s.it (che è l'hostname della mia macchina) sono diverse rispetto a quello che ho visto nel log di una macchina funzionante, dove il relay corrispondeva ad un server smtp funzionante.
    Come posso risolverlo?
    dove si imposta il server smtp in sendmail?
    Grazie a tutti.
    All i want, all i need is here in my arms

  2. #2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.