How to lock router by editing exim.conf

ssvvkk

New member
Joined
Mar 24, 2007
Messages
3
Hello, everybody..

I signed up here because I found that here are good specialists of the EXIM.
So, I really hope I 'll get help here...

Everybody knows that /etc/valiases/* contain mail redirects or forwarders.
So, I want to configure exim.conf to lock all forwarders from all addresses to addresses like *@email.net. But the ability of sending mails to these address from the server should exists. I only want to lock the forwarders.

Also I don't want to touch /etc/valiases/domain*

It means, please don't advise me to delete forwarders from valiases.

For example we have /etc/valiases/dom.com and there are an entry like:

[email protected]: [email protected],com@[B]email.com[/B],[email protected],x@[B]email.com[/B]

So when a mail comes to [email protected]... it should be sent to all of the forwarders except of [email protected] and [email protected]

And this is should work for all valiases..

But if client want to send a mail directly from [email protected] to [email protected]
It must work.

Please help.

Waiting for your answer.
Thank you.
 
Sorry, forgot one important thing...

Exim.pl shouldn't be touched. just modifying exim.conf

Thanks
 
Since our exim.conf file doesn't use a valiases directory it's likely our configuration is very different from yours.

The best place for you to get help is probably on the exim-users list. Check the site for this very valuable resource.

Jeff
 
Hello,
Additionally description of the problem:
Comcast keeps to block server IP for spam, none spam complaints previously issued.
I suppose it caused because of the forwarders to Comcast.net

Is there a way to modify Exim router to bypass all forwarders, but forwarders to Comcast? I suppose it's in exim.conf of cPanel:
================================
virtual_aliases_nostar:
driver = redirect
allow_defer
allow_fail
data = ${if exists{/etc/valiases/$domain}{${lookup{$local_part@$domain}lsearch{/etc/valiases/$domain}}}}}
file_transport = address_file
group = mail
pipe_transport = virtual_address_pipe
retry_use_local_part
domains = lsearch;/etc/localdomains
unseen
================================

If so, could you advise what's the correct way to modify "date = $" string to deny all forwarders to Comcast and process others?

Your help is greatly appreciated
Thank you
 
I'm very happy to take the time to help people using the Spamblocker exim.conf file used by DirectAdmin, since I wrote most of it.

However, i can not take the time to analyze your exim.conf file as I have no experience with it.

However ... I wouldn't touch the router; instead I'd modify how addresses get to the router.

I will leave the thread open to see if there are any additional responses from someone else who can help you but I strongly suggest you find someone on a CPanel support forum (or start using DirectAdmin :) ).

Jeff
 
Back
Top