Problem with smtp using Thunderbird - The mail server responded 5.7.1 .....

6 posts / 0 new
Last post
#1 Tue, 09/08/2009 - 16:42
wonderland

Problem with smtp using Thunderbird - The mail server responded 5.7.1 .....

I'm trying to configure Mozilla Thunderbird for incoming and outgoing mail.

everything is great with incoming mail.

When i try to send mail through Thunderbird I get this error:

An error occurred while sending mail. The mail server responded: 5.7.1 name@mai.lv: Relay access denied. Please check the message recipients and try again.

I have rechecked spelling many times and tried different addresses but I keep getting the same error.

Tue, 09/08/2009 - 16:45
andreychek

Howdy,

One thing I'd do is verify that Thunderbird is set to authenticate for outgoing/SMTP emails.

Sometimes, a client can be configured to use a given relay, but not actually setup to authenticate with it.

Also, you may want to take a peek in the email log, either /var/log/mail.log or /var/log/maillog, and see if there's additional messages in there.

-Eric

Tue, 09/08/2009 - 16:52
wonderland

Hi,

How do you verify that on Thunderbird?

Sorry, but how do you take a peek in the email log ? :p

Thanks !

Tue, 09/08/2009 - 20:32
andreychek

I don't know the specifics about doing that in Thunderbird -- that best I can offer is to just poke around in the Accounts Settings options, look into the Outgoing SMTP area, and make sure that there's a username and password setup to authenticate.

Unfortunately, I don't use Thunderbird, so I can't be more specific than that :-)

For checking the email log -- you can either log in using SSH, and use a tool such as "less" to look at the logs.

Or, you can go into Webmin -> System -> System Logs, and browse the logs from there.

-Eric

Wed, 09/09/2009 - 00:39
wonderland

OK, so is the outgoing mail username and password the same as incoming mail's ? Although The persong who manages servers told me that they don't use authentication for outgoing mails, so I didn't provide username and password. maybe he's wrong, but he hasn't gotten back to me about this problem..

If he is wrong is there a place where I can look for smtp authentication username and password ?

Mail log: Sep 9 05:23:05 racs dovecot: IMAP(info.bcgroup): Connection closed Sep 9 05:23:52 racs dovecot: pop3-login: Login: user=<info.bcgroup>, method=PLAIN, rip=78.84.162.107, lip=89.111.13.87, TLS Sep 9 05:23:52 racs dovecot: POP3(info.bcgroup): Disconnected: Logged out top=0/0, retr=0/0, del=0/1, size=2282 Sep 9 05:29:58 racs dovecot: imap-login: Login: user=<info.bcgroup>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Sep 9 05:29:58 racs dovecot: imap-login: Login: user=<info.bcgroup>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Sep 9 05:29:58 racs postfix/pickup[2479]: 5CB9B43D4F: uid=1003 from=info@bcgroup.lv Sep 9 05:29:58 racs dovecot: IMAP(info.bcgroup): Connection closed Sep 9 05:29:58 racs dovecot: IMAP(info.bcgroup): Connection closed Sep 9 05:29:58 racs postfix/cleanup[4196]: 5CB9B43D4F: message-id=1252474198.4186@bcgroup.lv Sep 9 05:29:58 racs postfix/qmgr[1873]: 5CB9B43D4F: from=info@bcgroup.lv, size=733, nrcpt=1 (queue active) Sep 9 05:29:59 racs postfix/smtp[4200]: 5CB9B43D4F: to=dace.saitere@grindeks.lv, relay=mail2.grindeks.lv[80.232.162.124]:25, delay=0.73, delays=0.18/0.01/0.49/0.05, dsn=2.0.0, status=sent (250 ok: Message 2817945 accepted) Sep 9 05:29:59 racs postfix/qmgr[1873]: 5CB9B43D4F: removed Sep 9 05:33:52 racs dovecot: pop3-login: Login: user=<info.bcgroup>, method=PLAIN, rip=78.84.162.107, lip=89.111.13.87, TLS Sep 9 05:33:52 racs dovecot: POP3(info.bcgroup): Disconnected: Logged out top=0/0, retr=0/0, del=0/1, size=2282 Sep 9 05:34:44 racs postfix/smtpd[4318]: connect from unknown[78.84.162.107] Sep 9 05:34:44 racs postfix/smtpd[4318]: NOQUEUE: reject: RCPT from unknown[78.84.162.107]: 554 5.7.1 uldis.racs@gmail.com: Relay access denied; from=info@bcgroup.lv to=uldis.racs@gmail.com proto=ESMTP helo=<[78.84.162.107]> Sep 9 05:34:46 racs postfix/smtpd[4318]: disconnect from unknown[78.84.162.107] Sep 9 05:37:55 racs postfix/smtpd[4760]: connect from unknown[78.84.162.107] Sep 9 05:37:55 racs postfix/smtpd[4760]: NOQUEUE: reject: RCPT from unknown[78.84.162.107]: 554 5.7.1 uldis.racs@gmail.com: Relay access denied; from=info@bcgroup.lv to=uldis.racs@gmail.com proto=ESMTP helo=<[78.84.162.107]> Sep 9 05:37:57 racs postfix/smtpd[4760]: disconnect from unknown[78.84.162.107]

Wed, 09/09/2009 - 08:37
andreychek

Although The persong who manages servers told me that they don't use authentication for outgoing mails, so I didn't provide username and password. maybe he's wrong, but he hasn't gotten back to me about this problem.

Well, there's two options:

  1. He's wrong about requiring a username and password for outgoing email

  2. Your server is an open relay that allows anyone (including spammers) to use it to send emails anywhere on the Internet

Based on all the "Relay access denied" messages, I'm assuming we're dealing with #1 above :-)

So yes, the outgoing password is the same as the incoming password.

Just make the outgoing username/password the same as the incoming one in Thunderbird, and you should be good to go!

-Eric

Topic locked