Quick and Dirty send-pr + ssmtp howto. 20031121: v0.1 Sometimes you don't have the time to correctly set up sendmail to send-pr, here's a quick and dirty howto to use ssmtp and send-pr Requirements: 1. an access to a working mail server (your ISP one) 2. ssmtp installed I. Configuring SSMTP: - Copy configuration file # cp /usr/local/etc/ssmtp/ssmtp.conf.sample /usr/local/etc/ssmtp/ssmtp.conf - Edit it to set your smarthost: # vi /usr/local/etc/ssmtp/ssmtp.conf mailhub=mail.yourisp.org rewriteDomain=yourdomain.org hostname=yourcomputer.yourdomain.org II. user settings - you need to set your full name % echo "My Name" > ~/.fullname - now you should define your email address % echo "nick@domain.org" > ~/.ssmtprc III. PR operations: If you didn't configure mailer.conf to use ssmtp, don't worry: just define MAIL_AGENT (you needn't to set it if ssmtp is your default mailer) To edit your PR: % LOGNAME=$(cat ~/.ssmtprc) MAIL_AGENT="/usr/local/sbin/ssmtp -oi -t" \ send-pr -a To send an existing PR % MAIL_AGENT="/usr/local/sbin/ssmtp -oi -t" send-pr -f