SMTP server requires STARTTLS

user1500178 asked:

I am using fetchmial. Below is my configuration. I want the retrieved emails to be sent to my gmail address. But I encountered an error below. Could someone help me with this? Thank you in advance.

configuration:
poll android.imap.mail.yahoo.com with protocol IMAP
user ‘xxxx@yahoo.com’ password ‘passwd’ smtpname xxx@gmail.com smtphost smtp.gmail.com

the error:
fetchmail: SMTP< 530 5.7.0 Must issue a STARTTLS command first. pe8sm1120100pbc.76
fetchmail: SMTP error: 530 5.7.0 Must issue a STARTTLS command first. pe8sm1120100pbc.76
SMTP server requires STARTTLS, keeping message.

My answer:


Google Mail’s SMTP server is requiring you to connect with TLS, but you have configured fetchmail to never use TLS.

Check your fetchmail command line and configuration file for sslproto and make sure it is set to TLS1.

On the command line:

--sslproto TLS1

In the conf file:

sslproto TLS1

See the fetchmail documentation for more on configuring SSL/TLS.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.