# apt-get install exim4 /etc/exim4/update-exim4.conf.conf: dc_eximconfig_configtype=’smarthost’ dc_other_hostnames='server1.sitevalley.com' dc_local_interfaces='127.0.0.1' dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='smtp.gmail.com::587' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='' dc_mailname_in_oh='true' dc_localdelivery='mail_spool' /etc/exim4/passwd.client: gmail-smtp.l.google.com:my.name@gmail.comassword *.google.com:my.name@gmail.comassword smtp.gmail.com:my.name@gmail.comassword # update-exim4.conf php.ini: SMTP = smtp.gmail.com smtp_port = 587 sendmail_path = /usr/sbin/exim4 -t # reboot Добавлено через 08:44 сек. # echo test message | sendmail мой мэйл