Help - Search - Members - Calendar
Full Version: Exim messed up, e-mail not working.
The Planet Forums > Control Panels > cPanel/WHM
cphan
Base on this topic:

http://www.cpanelhelp.org/modules/news/art....php?storyid=43

I tried to do this.

Went inside WHM, Exim Configuration Editor, and Switch to Advance Mode.

I went to the ACL section with the 3 boxes. Went inside the middle box and change:

accept domains = +local_domains
accept domains = +relay_domains
accept hosts = +relay_hosts
accept condition = ${perl{checkrelayhost}{$sender_host_address}}

to:

accept domains = +local_domains
endpass
message = unknown user
verify = recipient
accept domains = +relay_domains
accept hosts = +relay_hosts
accept condition = ${perl{checkrelayhost}{$sender_host_address}}

I hit save.

I then went back to Exim configure advance mode to check to see if the changes I made was saved. This is what I found:

#!!# ACL that is used after the RCPT command
check_recipient:
# Exim 3 had no checking on -bs messages, so for compatibility
# we accept if the source is local SMTP (i.e. not over TCP/IP).
# We do this by testing for an empty sending host field.
accept hosts = :


# Accept bounces to lists even if callbacks or other checks would fail
warn message = X-WhitelistedRCPT-nohdrfromcallback: Yes
condition =
${if and {{match{$local_part}{(.*)-bounces+.*}}
{exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}}
{yes}{no}}

accept condition =
${if and {{match{$local_part}{(.*)-bounces+.*}}
{exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}}
{yes}{no}}


# Accept bounces to lists even if callbacks or other checks would fail
warn message = X-WhitelistedRCPT-nohdrfromcallback: Yes
condition = %0

The line I edited:

accept domains = +local_domains
endpass
message = unknown user
verify = recipient
accept domains = +relay_domains
accept hosts = +relay_hosts
accept condition = ${perl{checkrelayhost}{$sender_host_address}}


is missing completely. Now e-mail is no longer working. I don't know what happened I need to change it back to what it was before. Could someone tell me what they had in their ACL third box?
I need to add this back in:

accept domains = +local_domains
accept domains = +relay_domains
accept hosts = +relay_hosts
accept condition = ${perl{checkrelayhost}{$sender_host_address}}
dball
QUOTE (cphan)
Could someone tell me what they had in their ACL third box?
I need to add this back in:


My first and third ACL boxes are empty. My 2nd ACL box has the following

------- pasted text ---------

CODE
#!!# ACL that is used after the RCPT command

check_recipient:

 # Exim 3 had no checking on -bs messages, so for compatibility

 # we accept if the source is local SMTP (i.e. not over TCP/IP).

 # We do this by testing for an empty sending host field.

 accept  hosts = :





 # Accept bounces to lists even if callbacks or other checks would fail

 warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes

          condition    =

          ${if and {{match{$local_part}{(.*)-bounces+.*}}

                    {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}}

               {yes}{no}}



 accept   condition    =

          ${if and {{match{$local_part}{(.*)-bounces+.*}}

                    {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}}

               {yes}{no}}





 # Accept bounces to lists even if callbacks or other checks would fail

 warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes

          condition    =

          ${if and {{match{$local_part}{(.*)-bounces+.*}}

                    {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}}

               {yes}{no}}



 accept   condition    =

          ${if and {{match{$local_part}{(.*)-bounces+.*}}

                    {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}}

               {yes}{no}}







 require verify = sender

 accept  domains = +local_domains

 endpass

 message = unknown user

 verify = recipient

 accept  domains = +relay_domains

 accept  hosts = +relay_hosts

 accept  condition = ${perl{checkrelayhost}{$sender_host_address}}



 accept  hosts = +auth_relay_hosts

         endpass

         message = $sender_fullhost is currently not permitted to

                       relay through this server. Perhaps you

                       have not logged into the pop/imap server in the

                       last 30 minutes or do not have SMTP Authentication turned on in your email client.

         authenticated = *



 deny    message = $sender_fullhost is currently not permitted to

                       relay through this server. Perhaps you

                       have not logged into the pop/imap server in the

                       last 30 minutes or do not have SMTP Authentication turned on in your email client.





#!!# ACL that is used after the DATA command

check_message:

 require verify = header_sender

 accept

----- end pasted text ------

note that I had made a previous change to get exim to reject mail to unknown addressees instead of putting it in the queue for days.

-- David
TP
Did you install the 8.9 edge version?

We did and that happen to use.
We had to rollback to 8.8 stable and re-install the rpm 4.3.

Then we found extra charectors in the script. /etc/exim
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.