This version contains the patch from Enoch Wu to
allow sending to mail agents which don't listen on port 25.
For example, if you're using a ssh tunnel to the mail agent of
your employer:
ssh -L 2525:mail.employer.com:25 ...
then you can change /etc/ssmtp/ssmtp.conf to contain the following
mailhub entry now:
mailhub=localhost:2525
To complete the installation you'll have to call
/usr/bin/ssmtp-config
It asks several questions.
- The name of your local system. Please enter the full qualified
domain name (FQDN) of your box.
- The name of your domain.
- The FQDN of the mailhub to which ssmtp shall send mails.
- The port number on which the mailhub listens.
The result is written to /etc/ssmtp/ssmtp.conf
Open /etc/ssmtp/ssmtp.conf and have a look whether everything is
ok or not. Especially proove two options:
If `rewriteDomain=' is uncommented, ssmtp always rewrites
the `From' envelope and the `From:' line so that the FQDN is set to
.
If the option `FromLineOverride' is set to YES, ssmtp uses the same
`From' in the mail envelope as you have written into the `From:' line of
your mail.
When using mutt as the mail client, add the following line to your
$HOME/.muttrc file:
set sendmail="/usr/sbin/ssmtp"
Please send all mails related to ssmtp for Cygwin or Cygwin in general
always to the mailing list mailto:cygwin@cygwin.com.
Have fun,
Corinna
               (
geocities.com/win32mutt)