LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 07-24-2007, 12:31 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 51
[SOLVED]Give config files for gmail account for sending with mutt for a normal user?


(Email:Either for sendmail or Postfix installed)
(We suppose that the postfix or sendmail / mutt are installed on the machine and no root rights)
Configuration files (WORKING) for the normal user (without any root/system rights). Thanks a lot !!

Last edited by frenchn00b; 07-24-2007 at 04:42 PM.
 
Old 07-24-2007, 02:14 PM   #2
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 51
Looks interesting:
http://mogrify.homelinux.org/2006/01...tt-with-gmail/

http://bbs.archlinux.org/viewtopic.php?pid=195969
http://phraktured.net/config/.procmailrc.fake

______________
Finally, the solution from the n00b !:

1/apt-get remove esmtp mutt postfix sendmail nbsmtp sendmail smtpd mailx kmail sendmail-bin postfix nbsmtp mutt smtpd procmail --purge
apt-get install postfix mutt procmail
apt-get install postfix mutt procmail kmail
apt-get install msmtp #- light SMTP client with support for server profiles
apt-get install msmtp-mta

2/get the sources and compile the nbsmtp from the tar.gz (1.00 I did)
Code:
./configure --enable-ssl
make 
make install

3/ gedit .muttrc
Code:
set sendmail="/usr/local/bin/nbsmtp"
unset use_from



4/

Code:
.nbsmtprc
relayhost=smtp.gmail.com
fromaddr=surname.famillyname@gmail.com
domain=surname.famillyname@gmail.com
auth_user=surname.famillyname@gmail.com
auth_pass=XXXXXXXXXXXXXXXXXXXXXXX
auth_mech=login
port=587
use_tls=True
use_starttls=True
debug=2






5/
Is it working, let us know ? If I managed to do so, you can easily make it! lol
Great

Enjoy DEBIAN & other Distros

Last edited by frenchn00b; 07-24-2007 at 04:58 PM.
 
  


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
LXer: Transfer files to your Gmail account with Gspace LXer Syndicated Linux News 0 04-17-2007 12:16 AM
How can give ROOT permission to a NORMAL USER bipinkdas Linux - Software 2 06-24-2005 12:03 AM
Configuring Mutt , and gmail account? D3javu Linux - Software 2 02-09-2005 10:07 AM
Give Root Access To A Normal User waknauss Linux - Security 2 11-11-2004 10:00 AM
how to give a normal user access to cd burning? zero79 Debian 2 08-14-2004 09:38 PM


All times are GMT -5. The time now is 12:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration