Re: [exim] relaying for a domain

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Asif Aslam Chaudhry
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] relaying for a domain
Tony I am now successfully relaying relavant 2 domain emails abc.com,
xyz.com to a smart host but am facing problems

1)    The junk email that i dont want ( email for other than 2 domains 
specified ) tries to bounce back and adds to queue and my queue reaches 50, 
000 messages !!!


2)     the system due to this slows down to the limit that in order to even 
assess the queue length I have to wait minutes. ( using a PIV with 256MB RAM 
on Linux)


I want all the other emails that dont match my 2 domains to be deleted (
just like /dev/null concept in sendmail ) and not to be bounced back.

DO u suggest if i configure split_spool_directory option would it help

regards

Asif




----- Original Message -----
From: "Asif Aslam Chaudhry" <asif@???>
To: <exim-users@???>
Sent: Wednesday, June 07, 2006 9:20 AM
Subject: Re: [exim] relaying for a domain


> Thanks Tony. I will try it and will give my feedback
>
> Asif
> ----- Original Message -----
> From: "Tony Finch" <dot@???>
> To: "Asif Aslam Chaudhry" <asif@???>
> Cc: <exim-users@???>
> Sent: Tuesday, June 06, 2006 6:19 PM
> Subject: Re: [exim] relaying for a domain
>
>
>> On Tue, 6 Jun 2006, Asif Aslam Chaudhry wrote:
>>>
>>> We are trying to use EXIM as a relay server for two domains xyz.com, and
>>> abc.com. The purpose is to filter out JUNK non-reciepient emails other
>>> then these 2 domains.
>>>
>>> Our relay server will face the outside world and we will forward all the
>>> relevant emails for xyz.com and abc.com to another SMTP server.
>>>
>>> please guide shall we use ACLs or the manual router entry for this task
>>
>> Yes. You use the ACLs to decide what to accept and the routers to decide
>> where it should go.
>>
>> In the default configuration, add this domain list:
>>
>> domainlist manualroute_domains = lsearch;/etc/exim/manualroutes
>>
>> and add it to the local domains list:
>>
>> domainlist local_domains = @ : +manualroute_domains
>>
>> This setup ensures that the default ACLs and dnslookup router will do the
>> right things. After the dnslookup router, you need to add:
>>
>> manualroute:
>> driver = manualroute
>> domains = +manualroute_domains
>> route_data = $domain_data
>> transport = smtp
>>
>> Populate /etc/exim/manualroutes with entries like:
>>
>> xyz.com: mail.server.for.xyz.com
>> abc.com: mail.server.for.abc.com
>>
>> You probably also want a way to verify which local parts are valid in
>> these domains. The easiest way is to change the ACLs so that they say:
>>
>>  accept  domains       = +local_domains
>>          endpass
>>          verify        = recipient/callout=use_sender,defer_ok

>>
>> i.e. add the callout parameters.
>>
>> Tony.
>> --
>> <fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
>> N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
>> \N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}
>>
>> --
>> ## List details at http://www.exim.org/mailman/listinfo/exim-users
>> ## Exim details at http://www.exim.org/
>> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>>
>> --
>> This message has been scanned for viruses and dangerous content by Orbit
>> Mail Server, and is believed to
>> be clean.
>>
>
>
> --
> This message has been scanned for viruses and dangerous content by Orbit
> Mail Server, and is believed to
> be clean.
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>
> --
> This message has been scanned for viruses and dangerous content by Orbit
> Mail Server, and is believed to
> be clean.
>



--
This message has been scanned for viruses and dangerous content by Orbit Mail Server, and is believed to
be clean.