Tag Archives: mailscript

Mass SMTP mailer from shell

I configured my local mail system to use the gmail SMTP server. Install package ssmtp and configure /etc/ssmtp/ssmtp.conf with following parameters: root=postmaster AuthUser=kdguntu@gmail.com AuthPass=NoWAYiWILLtellYOUmypassWORD FromLineOverride=YES mailhub=smtp.gmail.com:587 UseSTARTTLS=YES hostname=defaults.be This scripts reads an input file (listusers.txt) with ; seperated values for … Continue reading

Posted in bash, linux, mail, server | Tagged , , | Leave a comment