3
1
In my ubuntu trusty sending email on the command line (mutt, mail, mailx, or sendemail) works fine, except when sending the mail to any of my two @gmail.com addresses. Mail does not arrive there, silently, except when using sendemail, which causes a "Mail delivery failed: returning message to sender" message saying:
Our system has detected that this message is likely unsolicited mail.
The same message sent by thunderbird or from my iPad is accepted with no problem.
Is there a way to tell gmail.com that mail sent from the command line is not necessarily spam?
Maybe by faking the Useragent in the header? But how?
How is your mail delivered? Directly to the target server? Or via your mail service’s SMTP server? – Daniel B – 2014-11-08T12:32:56.327
what is the outgoing mail server in thunderbird and ipad, is the machine you are using as outgoing server on those two clients, the same machine from which you are trying to send the mail from command line? Also what are you using SMTP authentication when sending from command line, what it the from address, you are using in command line, and in thunderbird/ipad? – rAlen – 2014-11-08T12:34:42.170
How do I find that out? Can it be exim4? (sendmail or postfix are not installed here) – Wybo Dekker – 2014-11-08T12:48:46.950