Tiny Core Linux

General TC => General TC Talk => Topic started by: jackarius86 on March 26, 2013, 07:51:50 PM

Title: mailx and gmail
Post by: jackarius86 on March 26, 2013, 07:51:50 PM
Hi,

Im trying to set up mailx for gmail. Currently it has no problem with receiving emails but just will not send. When i hit ctrl-d at the end of my message, it pops up messages like this:

 postdrop: warning: mail_queue_enter: create file maildrop/152901.4048: No such file or directory


My .mailrc file looks a bit like:

account gmail {
set folder=imaps://USERNAME@imap.gmail.com
set password-USERNAME@imap.gmail.com="PASSWORD"
set record=+Sent                                 
set from="jack <USERNAME@gmail.com>"
set smtp-use-starttls               
set ssl-verify=ignore
set smtp=smtp://smtp.gmail.com:587
set smtp-auth=login               
set smtp-auth-user=USERNAME@gmail.com
set smtp-auth-password="PASSWORD"   
}                                 

I have googled this thing like mad, i found a kind of related post on this forum about it but it didnt shed much light for me. I understand it is a sendmail problem, I have googled a lot about sendmail too but still just cant get to grips with it.

Any help on the matter would be much appreciated :-)
Title: Re: mailx and gmail
Post by: AmatCoder on March 27, 2013, 07:23:09 AM
Have you executed this?

Code: [Select]
sudo /usr/local/etc/init.d/postfix start
Title: Re: mailx and gmail
Post by: AmatCoder on March 27, 2013, 08:08:55 AM
By the way, /usr/local/tce.installed folder and installed script from postfix.tcz have wrong permissions.
This leads to another permission errors with the touch command when loading subsequent extensions that do not contain a tce.installed script.

( If gutmensch read this: They have root:root and it needs root:staff )
Title: Re: mailx and gmail
Post by: jackarius86 on March 27, 2013, 04:54:30 PM
postfix was being a pain so i set up msmtp and after a bit of config got it up and running, now have a fully serviceable mail setup :) thanks for helping :-D