Exim.conf and exim.pl not compatible

tansu

Verified User
Joined
Jul 31, 2008
Messages
82
Hello,
I read tens of topics about people saying "you need to update your exim.pl, search in the forum", but i never found a topic about how to update it. So here is my exim conf:
Code:
SpamBlockerTechnology* powered exim.conf, Version 4.4.6
# Dec 5, 2015
# Exim configuration file for DirectAdmin
# Requires exim.pl as distributed by DirectAdmin here:
# http://files.directadmin.com/services/exim.pl version 21 or higher
# ClamAV optional
# SpamAssassin optional
# Dovecot/IMAP Mandatory
# *SpamBlockerTechnology is a Trademark of NoBaloney Internet Services:
# http://www.nobaloney.net

And here is exim.pl:
Code:
#!/usr/bin/perl

#VERSION=16

sub get_domain_owner
{
        my ($domain) = @_;
        my $username="";
        open(DOMAINOWNERS,"/etc/virtual/domainowners");
        while (<DOMAINOWNERS>)
        {
                $_ =~ s/\n//;
                my ($dmn,$usr) = split(/: /, $_);
                if ($dmn eq $domain)
                {
                        close(DOMAINOWNERS);
                        return $usr;
                }
        }
	close(DOMAINOWNERS);

        return -1;
}

# hit_limit_user
# checks to see if a username has hit the send limit.
# returns:

What should i do?
 
It shuld be ./build exim_conf not ./build eximconf :)

@tansu, when doing ./build exim_conf it should automatically also update exim.pl, it was only in the "old days" you had to update exim.pl manually.
 
If ./build eximconf works, it is news to me. If so, then you will be able to do both ./build eximconf and ./build exim_conf, I have always done exim_conf
 
Yes, the both variants are possible. Hardly can I say which one was the first... but as of now custombuild scripts shows "./build exim_conf" in its usage details.
 
Back
Top