الجمعة، 28 مايو 2010

Gid XXX is not permitted to relay mail at /etc/exim.pl line XXX

If the below provided error is encountered at exim_mainlog

==

root@vps [~]# tail -f /var/log/exim_mainlog | exigrep we2cares@yahoo.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it

2006-11-12 07:46:20 1GjFfA-0007Gr-1Y <= account@domain.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it . U=cpanel P=local S=736 id= 20061112074619.atql9mq01xwk484g@www.domain.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it 2006-11-12 07:46:20 1GjFfA-0007Gr-1Y failed to expand condition "${perl{checkspam}}" for lookuphost router: Gid 32003 is not permitted to relay mail at line 365. 2006-11-12 07:46:20 1GjFfA-0007Gr-1Y failed to expand condition "${perl{checkspam}}" for literal router: Gid 32003 is not permitted to relay mail at /etc/exim.pl line 365. 2006-11-12 07:46:20 1GjFfA-0007Gr-1Y ** we2cares@yahoo.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it R=fail_remote_domains: unrouteable mail domain "yahoo.com" 2006-11-12 07:46:21 1GjFfA-0007Gr-1Y Completed
[edit]
==

Follow the below steps to fix the error:
vi /etc/exim.pl +365
[edit]
=
#MAILTRAP
my $safegid = (getgrnam("mailtrap"))[2];
if ($uid >= 99 && $gid >= 99 && $safegid ne $gid && -e "/etc/eximmailtrap") {
die "Gid $gid is not permitted to relay mail";
}
#MAILTRAP
[edit]
=


Move or delete the file "/etc/eximmailtrap"
Try sending mail again
The issue should be fixed by now.

 

ليست هناك تعليقات:

إرسال تعليق