First off, I may not have assessed the situation correctly.
Here's what I think is going on:

My domain is memcpy.com. My logs show that my courier smtp
server is getting hit all the time with delivery attempts to
bogus addresses. That's fine, it's usually responds with
"User unknown." Often, the other server will be sending with
a from address in my domain (like mail at memcpy) to a
bogus adress in my domain (mike at memcpy). The 'mail'
account is just an alias to a real account, I don't actually
send mail from it and I assume the sender is just guessing.

The problem is that occassionally, the 'mail' account gets
a bounce delivered saying it was trying to contact the bougs
mike account and it failed. This ends up in my inbox (because
'mail' is aliased to 'kbyrd').

So it looks like some random server (foo.bar.baz) is sending
from mail at memcpy to mike at memcpy. The logs show this
being refused a few times but occasionally a delivery, ususally
right after a 502 error.

Is this misconfiguration? Is there any way to tell courier
not to accept from addresses in my domain from outside senders.
It's a personal vanity domain, I controll the small number of
accounts, and there is only this server. What about accepting
[EMAIL PROTECTED], deliverying only valid local accounts and throwing
the rest away? The only problem with this, is that I'd like
friends who intend mail for me but mispell to get a 550 error,
that's what it's for, right?

A log snippet, I've sanitized them a bit to avoid something scrapping
the addresses, assume the addresses are formatted correct.

Jul  6 03:42:13 whistler courieresmtpd: started,ip=[::ffff:24.23.163.34]
Jul  6 03:42:22 whistler courieresmtpd: 
error,relay=::ffff:24.23.163.34,from=<mail at memcpy>,to=
<mike at memcpy>: 550 User unknown.
Jul  6 03:42:23 whistler courieresmtpd: started,ip=[::ffff:24.23.163.34]
Jul  6 03:42:26 whistler courieresmtpd: started,ip=[::ffff:83.206.57.141]
Jul  6 03:42:28 whistler courieresmtpd: 
error,relay=::ffff:216.168.230.163,from=<>,to=<admin at
memcpy>: 550 User unknown.
Jul  6 03:42:28 whistler courieresmtpd: 
error,relay=::ffff:216.168.230.163,msg="502 ESMTP command
error",cmd: DATA
Jul  6 03:42:31 whistler courieresmtpd: 
error,relay=::ffff:24.23.163.34,from=<mail at memcpy>,to=
<mike at memcpy>: 550 User unknown.
Jul  6 03:42:36 whistler courieresmtpd: started,ip=[::ffff:83.206.57.141]
Jul  6 03:42:37 whistler courieresmtpd: started,ip=[::ffff:216.168.230.162]
Jul  6 03:42:46 whistler courieresmtpd: 
error,relay=::ffff:216.168.230.162,from=<mail at memcpy>,
to=<mike at memcpy>: 550 User unknown.
Jul  6 03:42:46 whistler courieresmtpd: 
error,relay=::ffff:216.168.230.162,msg="502 ESMTP command
error",cmd: DATA
Jul  6 03:43:03 whistler courierd: newmsg,id=0000046D.42CBB5B6.000067C0: dns; 
omr1.netsolmail.com
(omr1.netsolmail.com [::ffff:216.168.230.162])
Jul  6 03:43:03 whistler courierd: 
started,id=0000046D.42CBB5B6.000067C0,from=<>,module=local,host
=kbyrd!!1000!100!/home/kbyrd!!,addr=<kbyrd>
Jul  6 03:43:03 whistler courierd: Waiting.  shutdown time=none, wakeup 
time=none, queuedelivering
=1, inprogress=1
Jul  6 03:43:09 whistler courierlocal: 
id=0000046D.42CBB5B6.000067C0,from=<>,addr=<kbyrd at
memcpy>,size=71013,success: Message delivered.
Jul  6 03:43:09 whistler courierd: completed,id=0000046D.42CBB5B6.000067C0
Jul  6 03:43:09 whistler courierd: Waiting.  shutdown time=Wed Jul  6 04:30:59 
2005, wakeup time=W
ed Jul  6 04:30:59 2005, queuedelivering=0, inprogress=0



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to