WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mailx and gmail  (Read 4584 times)

Offline jackarius86

  • Newbie
  • *
  • Posts: 31
mailx and gmail
« 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 :-)

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: mailx and gmail
« Reply #1 on: March 27, 2013, 07:23:09 AM »
Have you executed this?

Code: [Select]
sudo /usr/local/etc/init.d/postfix start

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: mailx and gmail
« Reply #2 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 )
« Last Edit: March 27, 2013, 08:18:27 AM by AmatCoder »

Offline jackarius86

  • Newbie
  • *
  • Posts: 31
Re: mailx and gmail
« Reply #3 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