Подскажите как настроить sendmail на VPS с Debian. mail() возвращает false. В /var/log/mail.log есть только вот это:
Dec 12 12:02:53 Debian-77-wheezy-64-LAMP sendmail[20103]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 12:03:53 Debian-77-wheezy-64-LAMP sendmail[20103]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 12:03:53 Debian-77-wheezy-64-LAMP sendmail[20103]: alias database /etc/mail/aliases rebuilt by root
Dec 12 12:03:53 Debian-77-wheezy-64-LAMP sendmail[20103]: /etc/mail/aliases: 12 aliases, longest 10 bytes, 134 bytes total
Dec 12 12:03:53 Debian-77-wheezy-64-LAMP sm-mta[20161]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 12:03:55 Debian-77-wheezy-64-LAMP sm-msp-queue[20166]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 12:04:53 Debian-77-wheezy-64-LAMP sm-mta[20161]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 12:04:53 Debian-77-wheezy-64-LAMP sm-mta[20170]: starting daemon (8.14.4): SMTP+queueing@00:10:00
Dec 12 12:04:55 Debian-77-wheezy-64-LAMP sm-msp-queue[20166]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 12:08:19 Debian-77-wheezy-64-LAMP sm-mta[20199]: sBCB5E9q020199: localhost.localdomain [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
Dec 12 12:12:44 Debian-77-wheezy-64-LAMP sm-mta[21136]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 12:12:46 Debian-77-wheezy-64-LAMP sm-msp-queue[21141]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 12:13:44 Debian-77-wheezy-64-LAMP sm-mta[21136]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 12:13:44 Debian-77-wheezy-64-LAMP sm-mta[21145]: starting daemon (8.14.4): SMTP+queueing@00:10:00
Dec 12 12:13:48 Debian-77-wheezy-64-LAMP sendmail[21147]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 12:14:44 Debian-77-wheezy-64-LAMP sm-mta[2614]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 12:14:46 Debian-77-wheezy-64-LAMP sm-msp-queue[2767]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 12:15:44 Debian-77-wheezy-64-LAMP sm-mta[2614]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 12:15:44 Debian-77-wheezy-64-LAMP sm-mta[2981]: starting daemon (8.14.4): SMTP+queueing@00:10:00
Dec 12 12:15:46 Debian-77-wheezy-64-LAMP sm-msp-queue[2767]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 12:20:01 Debian-77-wheezy-64-LAMP sm-msp-queue[3104]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 12:21:01 Debian-77-wheezy-64-LAMP sm-msp-queue[3104]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 12:40:01 Debian-77-wheezy-64-LAMP sm-msp-queue[3288]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 12:41:01 Debian-77-wheezy-64-LAMP sm-msp-queue[3288]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 13:00:01 Debian-77-wheezy-64-LAMP sm-msp-queue[3457]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 13:01:01 Debian-77-wheezy-64-LAMP sm-msp-queue[3457]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 13:20:01 Debian-77-wheezy-64-LAMP sm-msp-queue[3749]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 13:21:01 Debian-77-wheezy-64-LAMP sm-msp-queue[3749]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 13:40:01 Debian-77-wheezy-64-LAMP sm-msp-queue[4127]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 13:41:01 Debian-77-wheezy-64-LAMP sm-msp-queue[4127]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 14:00:01 Debian-77-wheezy-64-LAMP sm-msp-queue[4485]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 14:01:01 Debian-77-wheezy-64-LAMP sm-msp-queue[4485]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 14:10:28 Debian-77-wheezy-64-LAMP sendmail[4578]: My unqualified host name (Debian-77-wheezy-64-LAMP) unknown; sleeping for retry
Dec 12 14:11:28 Debian-77-wheezy-64-LAMP sendmail[4578]: unable to qualify my own domain name (Debian-77-wheezy-64-LAMP) -- using short name
Dec 12 14:15:45 Debian-77-wheezy-64-LAMP sendmail[4578]: sBCDBSAG004578: from=root, size=0, class=0, nrcpts=0, relay=root@localhost
Из настроек sendmail только добавление строчки
sendmail_path = /usr/sbin/sendmail -t -i