LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can sbdy give config files for gmail account for sending with mutt for a normal user? (http://www.linuxquestions.org/questions/linux-newbie-8/can-sbdy-give-config-files-for-gmail-account-for-sending-with-mutt-for-a-normal-user-571917/)

frenchn00b 07-24-2007 12:31 PM

[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 !!

frenchn00b 07-24-2007 02:14 PM

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


All times are GMT -5. The time now is 11:31 AM.