opensmtpd php_mail /usr/sbin/sendmail

2012-05-30 Thread lilit-aibolit
Hello misc. There are many web applications that used php_mail function, which points to /usr/sbin/sendmail on localhost. In some case sendmail used with smart_host+masquerade options to deliver email via gmail for example. Configure sendmail to work with gmail (SMTP AUTH/TLS) is hard for me. The

Re: opensmtpd php_mail /usr/sbin/sendmail

2012-05-30 Thread Gilles Chehade
On Wed, May 30, 2012 at 09:57:47AM +0300, lilit-aibolit wrote: Hello misc. Hello, There are many web applications that used php_mail function, which points to /usr/sbin/sendmail on localhost. In some case sendmail used with smart_host+masquerade options to deliver email via gmail for

Re: opensmtpd php_mail /usr/sbin/sendmail

2012-05-30 Thread lilit-aibolit
30.05.2012 10:23, Gilles Chehade P?P8QP5Q: You can configure opensmtpd to work with gmail relatively easily: /etc/mail/gmail-credentials.txt: mail.google.com user:password /etc/mail/smtpd.conf: map gmail source plain /etc/mail/gmail-credentials.txt accept