второй день как пытаюсь отправить почту логи и конфиги прилогаються буду очень признателен если ответите
echo «mailsent» |
ssmtp.conf
AuthMethod=LOGIN UseSTARTTLS=YES hostname= FromLineOverride=YES AuthUser=Kyshtymov@turbotron.ru AuthPass=mypassword mailhub=mailserver UseTLS=YES #rewriteDomain=turbotron.ru
reveliases
# sSMTP aliases # # Format: local_account:outgoing_address:mailhub # # Example: root:your_login@your.domain:mailhub.your.doma$ # where [:port] is an optional port number that defaults$ root:Kyshtymov@turbotron.ru:mailserver kishtimov:Kyshtymov@turbotron.ru:mailserver www-data:Kyshtymov@turbotron.ru:mailserver Kyshtymov:Kyshtymov@turbotron.ru:mailserver
log
cat /var/log/maillog Dec 21 12:21:13 sysadmin sSMTP[5042]: Cannot open mailserver:25 Dec 21 12:43:25 sysadmin sSMTP[5129]: Creating SSL connection to host Dec 21 12:43:25 sysadmin sSMTP[5129]: STARTTLS not working Dec 21 12:43:25 sysadmin sSMTP[5129]: Cannot open mailserver:25 Dec 21 12:43:55 sysadmin sSMTP[5134]: Creating SSL connection to host Dec 21 12:43:56 sysadmin sSMTP[5134]: STARTTLS not working Dec 21 12:43:56 sysadmin sSMTP[5134]: Cannot open mailserver:25 Dec 24 08:24:52 sysadmin sSMTP[3806]: Creating SSL connection to host Dec 24 08:24:52 sysadmin sSMTP[3806]: STARTTLS not working Dec 24 08:24:52 sysadmin sSMTP[3806]: Cannot open mailserver:25 Dec 24 08:28:26 sysadmin sSMTP[3868]: Creating SSL connection to host Dec 24 08:28:26 sysadmin sSMTP[3868]: STARTTLS not working Dec 24 08:28:26 sysadmin sSMTP[3868]: Cannot open mailserver:25 Dec 24 08:31:16 sysadmin sSMTP[3884]: Creating SSL connection to host Dec 24 08:31:16 sysadmin sSMTP[3884]: STARTTLS not working Dec 24 08:31:16 sysadmin sSMTP[3884]: Cannot open mailserver:25
После попытки отправить почту в home поевляеться файл sent токого содержания
From kishtimov@sysadmin.turbotron.server Mon Dec 24 08:28:26 2012 Date: Mon, 24 Dec 2012 08:28:26 +0400 From: kishtimov <kishtimov@sysadmin.turbotron.server> To: admin@turotron.ru Message-ID: <20121224042826.GA3866@sysadmin.turbotron.server> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) Status: RO Content-Length: 13 Lines: 1
send mail to
отрправка через почтовые клиенты проходит на ура