Link to home
Start Free TrialLog in
Avatar of ccfcfc
ccfcfcFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Relay denies filling up logfiles

My Sendmail log has a number of entries for denied relays.


Jan 23 10:41:10 ldc-mail-02 sendmail[25353]: n0NAf9eZ025353: ruleset=check_rcpt, arg1=<s2288@mail2000.com.tw>, relay=118-167-129-101.dynamic.hinet.net [118.167.129.101], reject=550 5.7.1 <s2288@mail2000.com.tw>... Relaying denied
Jan 23 10:41:10 ldc-mail-02 sendmail[25353]: n0NAf9eZ025353: lost input channel from 118-167-129-101.dynamic.hinet.net [118.167.129.101] to MTA after rcpt
Jan 23 10:41:10 ldc-mail-02 sendmail[25353]: n0NAf9eZ025353: from=<titieueue@hotmail.com>, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=118-167-129-101.dynamic.hinet.net [118.167.129.101]


These denies are just taking up space in my log files. Is there any way I can divert these to another log, or add this particular address specifically to a denial list so that the deny doesn't actually make it into the log file at all ?

TIA
ASKER CERTIFIED SOLUTION
Avatar of jar3817
jar3817

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ccfcfc

ASKER

I figured that was going to be the answer but I thought I'd give it a try.

Thanks for the reply.
Avatar of jar3817
jar3817

How much space are we talking about? My maillog files are typically around 20MB for a few days worth of mail and I get around 2000 messages a day (not including dropped spam).
Avatar of ccfcfc

ASKER

We're getting messages trying to relay every 2 or 3 seconds, so it is building up quite a large log file when added to our own valid entries.

Our log files have in the region of 30-50 thousand entries a day.