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
Email Servers

Avatar of undefined
Last Comment
ccfcfc

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
jar3817

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
ccfcfc

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

Thanks for the reply.
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).
ASKER
ccfcfc

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.
Your help has saved me hundreds of hours of internet surfing.
fblack61