LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2006, 07:56 AM   #1
athanatos
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, OpenBSD 4.0
Posts: 58

Rep: Reputation: 15
Cool How to configure sendmail with gmail? [fixed]


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

Last edited by athanatos; 07-17-2006 at 05:33 PM.
 
Old 07-18-2006, 05:37 PM   #2
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
Good to know the solution as well.

I'm also posting to remove this thread from the 0-replies threads
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure sendmail juanb Linux - General 4 10-23-2005 03:46 AM
how to configure sendmail juanb Linux - Software 0 09-19-2004 09:49 AM
configure sendmail Red Squirrel Linux - Software 5 04-12-2004 05:31 PM
configure sendmail s_diptiman Linux - Newbie 1 10-10-2003 02:13 AM
configure sendmail?? dexter_modem Slackware 5 07-07-2003 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration