Jump to Navigation

290 - thunderbird 5.7.1 relay access denied

After create a new account in thunderbird, you got the following error when sending an e-mail.

 * thunderbird 5.7.1 relay access denied

1. Check the configuration on thunderbird first

o to Tools > Account Settings > [account name] > Server Settings > Advanced > Smtp and verify the correct SMTP server
is selected there. If you see "Relay access denied" or "Relaying denied" errors, be sure to verify this setting.

2. Check SMTP server if still got the error

You should check the maillog in the smtp(postfix) server /var/log/maillog

# view /var/log/maillog

Jul  2 10:19:11 ca postfix/smtpd[29405]: NOQUEUE: reject: RCPT from unknown[12.125.108.70]: 554 5.7.1 <user01@myserver1.com>: Relay access denied; from=<guest01@myserver2.com> to=<user01@myserver.com> proto=ESMTP helo=<[192.168.5.155]>

You need to configure mynetworks in main.cf of postfix

The mynetworks parameter specifies the list of "trusted" SMTP clients that have more privileges than "strangers".

#vi /etc/postfix/main.cf

mynetworks = 12.125.108.0/24 127.0.0.0/8

(CIDR : 12.125.108.0/24    From 12.125.108.0  To 12.125.108.255)

3. Restart postfix.

# service postfix restart

 

 



Main menu 2

Story | by Dr. Radut