Gammadyne Corporation
Home Page Contact Us

Relaying Denied

"Relaying" is when you send email to one mail server, expecting it to pass the email on to its intended recipient who resides on a different mail server (known as "non-local email").  A mail server will produce a "Relaying Denied" error when an unauthorized user attempts to send non-local email.

Mail servers will not relay mail from just anyone.  Otherwise, spammers could flood the mail server, making it do their dirty work.  You must be authorized to use a mail server for relaying.  Unauthorized users will always receive the "Relaying Denied" error.

Preventing "Relaying Denied"

To use a mail server, you must prove to the mail server that you are authorized to send email.

  • By far the most common cause is that no user name and password were specified.  In Gammadyne Mailer, these fields are on the Servers/SMTP branch under "Login with user name and password".  The user/password may be the same as for your POP3 email account, or it may not.  If authentication is failing, you will need to contact the SMTP server's administrator.
  • The Sender of the email should be a user on the server, although this is not always required.  The Sender is where bounce-backs are sent when the email is undeliverable - it is not necessarily the same as the From: header.  In Gammadyne Mailer, this corresponds to the "Sender:" field on the "Headers" branch.
  • The "From:" header may need to be a user on the server, although this is rare.
  • If the mail server is on a Local Area Network, it may be necessary to specify the mail server's local IP address, not its name.
  • This error can sometimes be circumvented by first checking for incoming email.  Some servers are smart enough to recognize that when you are properly authenticated to receive mail, then you should also be able to send mail.
  • It is also possible that the mail server will only relay mail for users that are currently connected to the ISP.  If you want to be able to send mail when using a different connection, you will need to ask your ISP if "SMTP authenticated login" is supported.  If it is, they will give you a user name and password.  In Gammadyne Mailer, this must be entered on the Servers/SMTP branch under "Login with user name and password".
  • Occasionally, a mail server may require that the email program say hello properly.  This corresponds to the HELO/EHLO command in the SMTP protocol.  The mail server may require that this command reports a proper domain name that is authorized to send email.  Even though this practice is discouraged, some mail servers perform this check as a form of spam prevention.  In Gammadyne Mailer, this corresponds to the "Override EHLO Domain" field on the Send/Delivery branch.

Direct Delivery

The only other solution is to not use the mail server at all.  When using Gammadyne Mailer, you can check the "Direct Delivery" box on the Send/Delivery branch.  This will bypass the SMTP server altogether, and deliver each email directly to the recipient.  This has the additional benefit of eliminating a point of failure.  However, please read the entire article on Direct Delivery so that the disadvantages are understood.