Bambero writes:

Hello

As as I think mail server should reject mail when there is no account.

I'm using courier 0.48.2 with maildrop delivery:
| /usr/local/bin/maildrop

My maildroprc file looks like this:

exception {
         xfilter "/usr/local/bin/spamassassin -x"
}
exception {
         include "$HOME/.mailfilter"
}

When I try to send email to noexisting account logs show me:

Oct 25 22:14:55 spacenet courieresmtpd: started,ip=[::ffff:212.77.101.1]
Oct 25 22:14:55 spacenet ClamCour[8518]: Listener: Launched Inspector
for scan
Oct 25 22:14:55 spacenet ClamCour[9204]: Inspector: Scan under progress...
Oct 25 22:14:55 spacenet courierd: newmsg,id=0017DC19.435E923F.000023F3:
dns; smtp.wp.pl (smtp.wp.pl [::ffff:212.77.101.1])
Oct 25 22:14:55 spacenet courierd:
started,id=0017DC19.435E923F.000023F3,from=<[EMAIL 
PROTECTED]>,module=local,host=alias!noexistingaccount!2!2!/etc/courier/aliasdir!!,addr=<alias>
Oct 25 22:14:55 spacenet courierd: Waiting.  shutdown time=none, wakeup
time=Tue Oct 25 22:22:02 2005, queuedelivering=3, inprogress=1
Oct 25 22:14:56 spacenet courierlocal:
id=0017DC19.435E923F.000023F3,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>:
maildrop: Unable to create a dot-lock.
Oct 25 22:14:56 spacenet courierlocal:
id=0017DC19.435E923F.000023F3,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,status:
deferred
Oct 25 22:14:56 spacenet courierd: completed,id=0017DC19.435E923F.000023F3
Oct 25 22:14:56 spacenet courierd: Waiting.  shutdown time=Tue Oct 25
22:51:45 2005, wakeup time=Tue Oct 25 22:19:56 2005, queuedelivering=3,
inprogress=0

As I see message is deffered not rejected. Whats wrong ?

The rest of your Courier configuration.

The default configuration of Courier does not accept mail to nonexistent mailboxes. You must've hacked Courier in one of several different ways in order to force it to do just that.

Undo whatever you did to the default configuration.


Attachment: pgpJCTmKTuYwV.pgp
Description: PGP signature

Reply via email to