exim problems again

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
Facing some serious probs with exim.

1. Exim accepts mails without checking mail attachments which are banned in the system filter and then once the check happens, sets a bounce back for that mail. Unfortunately those mails are spams / virus mails so they get stuck in the mail queue for hrs without any delivery.

Is there a way to check for attachments like pif etc during the mail accepting process ??

2. Even though the exim editor exists certain values exist which needs to be changed by the editor doesn't allow that. Moreover the biggest irony is that even after using chattr +i, every day i find all my servers exim.conf replaced by default exim.conf. Well nick can we please have some solution to this ?? We need more editing inside the exim.conf. To give an example:

deliver_queue_load_max = 3
auto_thaw = 1h

Now i don't use the normal auto_thaw and deliver_queue_load_max values. I need to change them for my servers, but ...

Similarly:
ignore_bounce_errors_after = 2d
timeout_frozen_after = 7d

The above two values need to be changed, but exim editor doesn't allow this. There are other changes also which i need to do.

cPanel.net Support Ticket Number:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
forgot to add this in earlier post

I want to reject mails from certain domains and/ or email ids. Is there a way ?? I will explain this. Lets says i don't want to accept mails from [email protected] or from entire domain yahoo.com, how to achieve this.

RBL Checks: Well the RBL checks have been discussed lot of times, now this is an actual problem i am facing on a single box. The customers use the server's smtp to relay mails. Their isps are listed in RBL lists so whenever they try to authenticate with their username and passwords they get rejected with an error mesage statting that their ISP is banned. Now ideally we should allow mails to be send from the smtp server even though their isps are banned. This will allow legitimate users atleast use the smtp. However it sill leaves a hole where the user itself is a spammer, however i am ready to take just a risk.

P.S. The actual email id and domains are different, i don't want to actually stop yahoo's mail ;)

cPanel.net Support Ticket Number:
 

pleighly

Member
Jan 20, 2003
22
0
151
Re: Who the hell is root

YOU ARE !!!

cPanel.net Support Ticket Number:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
the stuff there is nice, but can't implement it as it can't be done using exim editor. If i do it manually, upcp will replace my exim.conf with its own default like it does everyday :(
 
Last edited:

Silverado

Well-Known Member
Mar 19, 2003
153
0
166
Backyard - Poolside
Well not if you will set your update preferences correct. I set all mine to manual.
BTW...... I haven't had to remodify my /exim.conf in a long time.
Also...... it's just as easy to do it in shell and you can chatter it.
I personally have just done this so often I can just copy and paste my codes..... and upload my files for blocked domains.
It's only difficult if you make it difficult.
You wanted a fix........ there it is.
Really easy to set up I promise.

cPanel.net Support Ticket Number:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
Originally posted by Silverado
Well not if you will set your update preferences correct. I set all mine to manual.
BTW...... I haven't had to remodify my /exim.conf in a long time.
Also...... it's just as easy to do it in shell and you can chatter it.
I personally have just done this so often I can just copy and paste my codes..... and upload my files for blocked domains.
It's only difficult if you make it difficult.
You wanted a fix........ there it is.
Really easy to set up I promise.

cPanel.net Support Ticket Number:
I don't disagree that its not easy to setup / make changes to exim in shell. Infact i do all my work from there only. Just recently i stopped as i found every day my exim.conf being replaced by the upcp script.

Will try to setup the upcp to manual now, and forget auto update, i guess thats the only way left now.

cPanel.net Support Ticket Number:
 

Silverado

Well-Known Member
Mar 19, 2003
153
0
166
Backyard - Poolside
It's the best way to do it.
This way you only have to change it every time cPanel comes out with a new stable version.
Once you do it a few times it will only take a few minutes per server.
I just save all the codes I add and then paste them in the exim.conf
It works great! You'll love it.
Great thread by aussie

cPanel.net Support Ticket Number: