D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Grey Listing

 

Hi

Thanks for all of your comments, i have some more questions as follows:

do i need to have greylisting and other features in a certain order in the 
sendmail.mc file?
(Spamissan#in, Mail relay blacklist)

########################
divert(-1)dnl

include(`/usr/share/sendmail-cf/m4/cf.m4')dnl

VERSIONID(`setup for linux')dnl

OSTYPE(`linux')dnl

define(`confDEF_USER_ID', ``8:12'')dnl

define(`confTO_CONNECT', `1m')dnl

define(`confTRY_NULL_MX_LIST', `True')dnl

define(`confDONT_PROBE_INTERFACES', `True')dnl

define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl

define(`ALIAS_FILE', `/etc/aliases')dnl

define(`STATUS_FILE', `/var/log/mail/statistics')dnl

define(`UUCP_MAILER_MAX', `2000000')dnl

define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl

define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl

define(`confAUTH_OPTIONS', `A')dnl

define(`confTO_IDENT', `0')dnl

dnl # next 3 lines stop DOS dnl

define(`confMAX_DAEMON_CHILDREN',`5')dnl

define(`confCONNECTION_RATE_THROTTLE',`3')dnl

define(`confMAX_RCPTS_PER_MESSAGE',`50')dnl

INPUT_MAIL_FILTER(`greylist',`S=local:/var/milter-greylist/milter-greylist.sock')

define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')

define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')

define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')

define(`confMILTER_MACROS_ENVRCPT', `{greylist}')

FEATURE(`no_default_msa', `dnl')dnl

FEATURE(`smrsh', `/usr/sbin/smrsh')dnl

FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl

FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl

FEATURE(redirect)dnl

FEATURE(always_add_domain)dnl

FEATURE(use_cw_file)dnl

FEATURE(use_ct_file)dnl

FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl

FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl

FEATURE(`blacklist_recipients')dnl

dnl # EXPOSED_USER(`root')dnl

FEATURE(`dnsbl', `ipwhois.rfc-ignorant.org', `"550 Mail from " 
$&{client_addr} " refused. Rejected for bad WHOIS info on IP of your SMTP 
server - see http://www.rfc-ignorant.org/";')dnl

FEATURE(`dnsbl', `proxies.blackholes.easynet.nl', `"550 5.7.1 ACCESS DENIED 
to OPEN PROXY SERVER "$&{client_name}" by easynet.nl DNSBL 
(http://proxies.blackholes.easynet.nl/errors.html)"')dnl

dnl # FEATURE(`dnsbl', `relays.ordb.org', `"550 Email rejected due to 
sending server misconfiguration - see 
http://www.ordb.org/faq/\#why_rejected";')dnl

FEATURE(`dnsbl', `bl.spamcop.net', `"450 Mail from " $`'&{client_addr} " 
refused - see http://spamcop.net/bl.shtml";')dnl

FEATURE(`dnsbl', `sbl.spamhaus.org', `"Rejected - see 
http://spamhaus.org/";')dnl

dnl FEATURE(`accept_unresolvable_domains')dnl

LOCAL_DOMAIN(`localhost.localdomain')dnl

FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl

MAILER(smtp)dnl

MAILER(procmail)dnl

DAEMON_OPTIONS(`Port=smtp,Name=MTA')

dnl # GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl

dnl define(14')dnl

######################

If you have 2 or 3 MX records, will grey listing cause the sending smtp to 
try the next server?

######################

When a ISP has a group of SMTP servers, how do they centralise the mail for 
POP3 etc, do they sync the mail to a master server for all clients to 
connect to?

Has any one got a good URL for this solition?

#######################

Does anyone know if there's any plans for a meet in Exeter?

Regards



Sam







----- Original Message -----
From: "stinga" <stinga@xxxxxxxxxxxxx>
To: <list@xxxxxxxxxxxx>
Sent: Monday, June 23, 2008 8:52 AM
Subject: Re: [LUG] Grey Listing


> On 22/06/08 21:55:32, sam@xxxxxxxxxxxxxxxxx wrote:
>> Hi
>>
>> Have recenly aplied Grey listing 3 to my SMTP server.
>>
>> Have had some mails bounce, My settings are "delay 15m autowhite 12h", 
>> what
>> should i be using?
>>
>> I think any automated email is being bouced, Any tips as i don't really 
>> want
>> to have a white list.
>>
>>
>> recent message:
>> Your membership in the mailing list list has been disabled due to
>> excessive bounces The last bounce received from you was dated
>> 13-Jun-2008.
>>
>
> Probably not greylisting, more likely you have broken something else.
> You might want to change 12h to 2d or a larger number of hours or 
> whitelist the servers.
>
> It could do with an interface to it really, so that you could update on 
> demand without having to manually edit a file, but mostly that problem 
> goes away after a few days, once you have most of them set up.
>
> -- 
> 'ooroo
>
> stinga...(:)-)
> ---------------------------------------------------
> Email: stinga@xxxxxxxxxxxxx      o
> You need only two tools.        o /////
> A hammer and duct tape. If it    /@   `\  /) ~
> doesn't move and it should,     >  (O)  X<  ~  Fish!!
> use the hammer. If it moves and  `\___/'  \) ~
> shouldn't, use the tape.           \\\
> ---------------------------------------------------
>
> -- 
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 270.4.1/1514 - Release Date: 6/23/2008 
7:17 AM


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html