Zoeken


afdrukken pdf
Questions about SMTP, POP3 and IMAP

SMTP

Principle

To use SMTP, you must indicate it in your email software.
At OVH, the smtp is on ns0.ovh.net. Its alias is smtp.yourdomain

To send the email via ns0.ovh.net, you must:

  • Either to get connected to pop3/imap server before using SMTP (OPEN-SMTP),
  • or use SMTP-AUTH.


Open-smtp

OPEN-SMTP is a protection against spam. A lot of spammers look for SMTP servers on the Internet to use them. In order to protect our installations against these practices, we have set up a protection. The functioning of this protection is very simple: our customers know the login and password of their pop3/imap accounts. Therefore, they just need to log into their pop3/imap account with this login and password. The server automatically saves the IP during this connection and add it in the IP list that can use the SMTP server for 1 hour.

Smtp-auth

SMTP-AUTH consists in sending login and password at the time of the SMTP connection. Do not hesitate to use TLS/SSL at the time of your connection to encrypt the login and the password.

Coding

To use the TLS/SSL layer (coding), you must use the SMTP server called ssl0.ovh.net. Your email server will connect on the SMTP server and will check that the TLS/SSL certificate is for ssl0.ovh.net. If you indicate an alias (e.g.: ns0.ovh.net) you will get an error message.

Options

  • SSL/TLS: you can activate a coding tunnel between your email software and our SMTP server (port 25),
  • SMTPS: you can create a coding SSL tunnel directly to any connection (port 465),
  • Our SMTP servers always try to force the connections in SSL/TLS (port 25).

Limits

The maximum size of an email is 10 MB. The duration of an email in the spool is 24 hours (i.e. if you send an email to someone and his smtp server doesn't work for 24 hours, your email will be forwarded to you with this following error:

Sorry, I wasn't able to establish an SMTP connection. (#4.4.1) I'm not going to try again;
this message has been in the queue too long.


Errors

  • Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)

This means that you have sent an email via our SMTP server. Our SMTP server looked for the SMTP server of your recipient. But it has been unable to get connected to it many times. This is due to the fact that the SMTP server doesn't work. There's nothing we can do at this stage.

  • Sorry, I wasn't able to establish an SMTP connection. (#4.4.1) I'm not going to try again; this message has been in the queue too long.

This is the same message as above.

  • Sorry, that domain isn't allowed to be relayed thru this MTA

This happens often in case you didn't carry any open-smtp operation and you can not send emails.

  • TLS not available: connect failed: error:00000000:lib(0):func(0):reason(0)

This means that the SMTP server is connected to the SMTP server of the recipient. At the time of the connection, the SMTP server of the recipient has indicated that it is able to communicate in SSL/TLS (create a coding tunnel). The connection went through in SSL/TLS but the SMTP server of the recipient hasn't been able to manage this connection correctly. This is maybe due to the fact that the SSL certificate on the SMTP server of the recipient is not correctly installed or has wrong rights.

  • 554 sorry, your envelope sender is in my badmailfrom list

This means that the SMTP server of the recipient refused your email because it has been sent with an email account that belongs to a list of spammers. This is not the SMTP server that is blacklisted but the email that is used for sending the email. Only use another email FROM.

  • while talking to air-yb04.mail.aol.com.:> RCPT To:< 550 MAILBOX NOT FOUND 550 ... User unknown

That means that we have sent an email to a recipient that doesn't exist at AOL.

  • : Sorry, no mailbox here by that name. vpopmail (#5.1.1)

This means that you have taken the catch-all off and the recipient of the email doesn't exist, i.e. there is no alias/forward (.qmail), no pop 3 account either (ni directory in vpasswd).

# cat .qmail-default
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
# grep "admin" vpasswd
# ls -l admin
ls: admin: No file or directory of this type
#ls -l .qmail-admin
ls: .qmail-admin: No file or directory of this type


: Name service error for mx2.jamesxxx.com: Host found but no data record of requested type

That means that your host doesn't exist. You have maybe created the host at a registrar, but you didn't do it in your domain zone (it's a bad point for the registrar who accepts to create hosts at the registry but that doesn't exist in the zone. It's to avoid this kind of problem that OVH accepts the creation of the host only if it exists on the domain zone):

# host mx2.jamesxxxx.com
#


  • Non-existing DNS_MX: MAIL FROM:


This means that the smtp server doesn't find the smtp server of the recipient. The origin is here very simple: there is a space in excess in the email at the end.

POP3

Principle

The POP3 server enable to recover emails received by the SMTP servers and temporarily stored on the files servers.
To get connected, you can use ns0.ovh.net or pop3.yourdomain alias. The login is like email%domain. If your email is webmaster@something.com the login is webmaster%something.com

You have 25 MB to 2 GB (according to the offer and the configuration you have chosen) per pop3/imap account.

Coding

You can send the crypted login and password with the POP3S protocol: you can create a SSL tunnel to consult emails (port 995).

Limits

A consultation is carried out at an interval of 60 seconds at the maximum. The time of the optimal consultation should be of 5 minutes. Here is the documentation: EmailPopTooOften

The pop3 account postmaster@yourdomain must always exist. You can not therefore delete it.

Errors

Your server has stopped the connection in an unexpected way. If you use pop3 server too often (more often than 60 seconds), the pop3 server will stop the connection to get protected. You have to increase the time (e.g. 5 minutes). Here is the documentation EmailPopTooOften. This doesn't cause any specific problem.

IMAP

The connection settings and the server are considerably the same as for POP3. IMAPS are managed on the port 993.