Re: [exim] Mail spam

Top Page
Delete this message
Reply to this message
Author: sal983
Date:  
To: exim-users
Subject: Re: [exim] Mail spam

Hello,

Once the mails from specified domains are relayed in the filter box, we can
send them for spam and virus checking, am I correct?

What are the spam and mail scanners that can give full advantage?

Regards,
Sal


schmerold@??? wrote:
>
> No email accounts are required on the filter box. Everyone has their own
> way of doing things, I have 2 relevent files in /etc/exim folder:
> relay_domains states what domains we are going to filter
> transport states where we are going to send the mail after filtering.
>
> My exim.conf looks like this - Exim wizards will find plenty to
> criticize, but it should get you started:
> # /etc/exim/exim.conf
> ############# INITIAL SETTINGS######################
> # set some defaults values and read in config files#
> host_lookup = 0.0.0.0/0
> spamd_address = 127.0.0.1 783
> qualify_domain = schmerold.com
> qualify_recipient = schmerold.com
> message_size_limit = 10M
> smtp_accept_max = 100
> smtp_banner = schmerold.com secure smtp server
>
> domainlist relay_to_domains = /etc/exim/relay_domains
> hostlist relay_from_hosts = 127.0.0.1
> domainlist local_domains =
> acl_smtp_rcpt = acl_check_rcpt
> never_users = root
>
> ############# ACCEPT SETTINGS#######################
> # set rules for accepting messages here#
> begin acl
> acl_check_rcpt:
> accept hosts = :
> deny local_parts = ^.*[@%!/|] : ^\\.
>
>   accept local_parts = postmaster
>          domains = +local_domains

>
>   accept domains = +relay_to_domains
>          endpass
>          message = relay not permitted at this server
>          verify = recipient
>   accept hosts = +relay_from_hosts

>
> .include /etc/exim/exim_deny.conf
>
> deny message = relay not permitted at this server
>
>   deny message = Access denied - $sender_host_address listed by 
> $dnslist_domain\n$dnslist_text
>        dnslists = sbl-xbl.spamhaus.org : dnsbl.sorbs.net : 
> bl.spamcop.net : \
>        multi.surbl.org : spam.dnsbl.sorbs.net : bl.spamcannibal.org : \
>        dnsbl-2.uceprotect.net

>
>   deny message = This message scored $spam_score spam points.
>        spam = exim:true
>        condition = ${if >{$spam_score_int}{100}}

>
> ############# ROUTER SETTINGS#######################
> # set rules for selecting a transport#
> begin routers
> redirect:
> driver = redirect
> data = ${lookup{$local_part@$domain}lsearch{/etc/exim/user_alias}}
>
> internal:
> driver = manualroute
> domains = +relay_to_domains
> transport = remote_smtp
> route_data = ${lookup{$domain}partial-lsearch{/etc/exim/transport}}
>
> external:
> driver = dnslookup
> domains = ! +relay_to_domains
> transport = remote_smtp
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
> no_more
>
> ############# TRANSPORT SETTINGS####################
> # set rules for delivery transports#
> begin transports
>
> remote_smtp:
> driver = smtp
>
>
>
>
> Muhammed afsal wrote:
>> Hello,
>>
>> Thanks for your good suggestions.
>>
>> It would be very helpful if you can provide any useful links or
>> documents in configuring exim as an intermediate MTA ( Mail
>> filter/scanner)
>>
>> also
>>
>> Do we need mail accounts on the intermediate MTA( on which exim is
>> running) same that of groupwise mail server to configure a webmail
>> client ( ex: squirrel mail) on the server where exim is running?
>>
>>
>> Thanks,
>> Sal.
>>
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>
>


--
View this message in context: http://www.nabble.com/Mail-spam-tf4772867.html#a13664801
Sent from the Exim Users mailing list archive at Nabble.com.