Hi!
I am unable to write mails to most of my friends now because my ip is listed as dynamic at sorbs. Is it possible to configure sendmail to send mails via smtp.gmail.com? I was using mutt for sending mails and mutt is using sendmail. I looked at the mutt manual, but I did not find an answere to my problem there. Maybe someone here is using gmail too and could help me with that?
I do not have to use sendmail if there are easier ways to do what I want. I want to be able to write mails using mutt and to send them using gmail (smtp.gmail.com).
Thanks in advance
Regards,
athanatos
EDIT:
I fixed the problem:
1. I installed postfix from linuxpackages.net
2. I followed the instructions:
http://souptonuts.sourceforge.net/postfix_tutorial.html
3. I needed to change some things after following those instructions:
3.1. The entry 'smtp.gmail.com' in the file /etc/postfix/tls_per_site had to be MUST_NOPEERMATCH
and not MUST.
3.2. I had to add 'smtpd_enforce_tls = no' to /etc/postfix/main.cf
3.3. I also had to do 'postmap /etc/postfix/transport (this is not outlined in the tutorial but it is needed)
3.4. I had to stop sendmail
3.5. I did 'chmod -x /etc/rc.d/rc.sendmail' and 'chmod +x /etc/rc.d/rc.postfix'
3.6. I added a call for rc.postfix in /etc/rc.d/rc.local
Now everything is working perfect