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 > > account to send emails? Thanks. > > You could always build transport maps dependent on sender addresses and > put something together that makes Postfix use the correct saslpass for > them. > > But, if you feel the need to map all your system users to Google > accounts for sending system mail, you are doing something seriously wrong. 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 command line (no receiving emails needed)? > > -nik > > -- Regards, Peng