Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-19 Thread Michael Storz
Am 2015-03-18 18:49, schrieb Viktor Dukhovni: On Wed, Mar 18, 2015 at 11:31:40AM -0600, @lbutlr wrote: Gmail does not restrict the from address in outgoing emails. In fact, when my server is offline, i send admin warnings via gmail that are ?from? my postmaster account. Your gmail account

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-19 Thread Fernando Maior
Hi Viktor, You are right! I should add that I send emails via Gmail to a Gmail account. I mean, sendemail connects via tls to Gmail servers and send an email to a Gmail account using other Gmail account and credentials. Thanks! Atenciosamente, --- Fernando Maciel Souto Maior Projetos e Soluções

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-19 Thread Viktor Dukhovni
On Thu, Mar 19, 2015 at 10:17:20AM +0100, Michael Storz wrote: They've replaced the envelope and header From: address with the gmail account address. Replies and bounces go to the email address for the login account, not the envelope sender. This is not a multi-user solution (yes it works

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Dominik George
Hi, But the problem is that all users on the same ubuntu server will be able to use the same google account to send emails. Is there a way to configure postfix so that each Ubuntu user will use his/her own google account to send emails? Thanks. You could always build transport maps dependent

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Koko Wijatmoko
On Wed, 18 Mar 2015 05:19:32 -0500 Peng Yu pengyu...@gmail.com wrote: I just need to send emails via gmail through command line. Configuring postfix for this seems to overkill. Using MUA like mutt and sup overkills, too. Does anybody know a simplest solution to send emails via gmail on

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Peng Yu
On Wednesday, March 18, 2015, Dominik George n...@naturalnet.de wrote: Hi, But the problem is that all users on the same ubuntu server will be able to use the same google account to send emails. Is there a way to configure postfix so that each Ubuntu user will use his/her own google

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Fernando Maior
You also may try sendemail. Look at http://caspian.dotconf.net/menu/Software/SendEmail. I use it to send emails from scripts directly to gmail accounts I use for servers backup control. --- Fernando Maciel Souto Maior On Wed, Mar 18, 2015 at 7:29 AM, Koko Wijatmoko k...@wijatmoko.name wrote:

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Christian Kivalo
Am 18. März 2015 11:19:32 MEZ, schrieb Peng Yu pengyu...@gmail.com: On Wednesday, March 18, 2015, Dominik George n...@naturalnet.de wrote: I just need to send emails via gmail through command line. Configuring postfix for this seems to overkill. Using MUA like mutt and sup overkills, too.

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Alexandre Ellert
Le 18 mars 2015 à 11:19, Peng Yu pengyu...@gmail.com a écrit : Does anybody know a simplest solution to send emails via gmail on command line (no receiving emails needed)? Yes, have a look at msmtp. It has TLS support, can do SMTP authentication and works perfectly with gmail.

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Postfix User
On Wed, 18 Mar 2015 07:38:33 -0300, Fernando Maior stated: You also may try sendemail. Look at http://caspian.dotconf.net/menu/Software/SendEmail. I use it to send emails from scripts directly to gmail accounts I use for servers backup control.  I use to use it too, but I began getting all

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Viktor Dukhovni
On Wed, Mar 18, 2015 at 07:38:33AM -0300, Fernando Maior wrote: You also may try sendemail. Look at http://caspian.dotconf.net/menu/Software/SendEmail. I use it to send emails from scripts directly to gmail accounts I use for servers backup control. Sending *to* is not sending *via*. --

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Viktor Dukhovni
On Wed, Mar 18, 2015 at 05:19:32AM -0500, Peng Yu wrote: I just need to send emails via gmail through command line. Configuring postfix for this seems to overkill. I am assuming that when you say via Gmail you really mean it. In other words Gmail (port 587 submission) will be asked to relay

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread @lbutlr
On Mar 18, 2015, at 10:16, Viktor Dukhovni postfix-us...@dukhovni.org wrote: Naturally they will want to authenticate the sending client, and generally enforce the equivalent of the Postifx reject_sender_login_mismatch feature (possibly allowing some specially provisioned client credentials to

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Viktor Dukhovni
On Wed, Mar 18, 2015 at 11:31:40AM -0600, @lbutlr wrote: Gmail does not restrict the from address in outgoing emails. In fact, when my server is offline, i send admin warnings via gmail that are ?from? my postmaster account. Your gmail account is in the headers, but most people will never

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Viktor Dukhovni
On Wed, Mar 18, 2015 at 12:06:48AM -0500, Peng Yu wrote: But the problem is that all users on the same ubuntu server will be able to use the same google account to send emails. Is there a way to configure postfix so that each Ubuntu user will use his/her own google account to send emails?

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread André Peters
Hi, Postfix 2.3 and later... smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwords smtp_sender_dependent_authentication = yes sender_dependent_relayhost_maps = hash:/etc/postfix/sender_depend_relay sasl_passwords: 1...@gmail.com 1...@gmail.com:pass1 2...@gmail.com

How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-17 Thread Peng Yu
Hi, I see the following post. How To Relay Postfix mails via smtp.gmail.com on Ubuntu 14.04.1 https://community.runabove.com/kb/en/instances/how-to-relay-postfix-mails-via-smtp.gmail.com-on-ubuntu-14.04.html But the problem is that all users on the same ubuntu server will be able to use the