-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Sam
Varshavchik
Sent: Sunday, February 02, 2003 3:46 PM
To: [EMAIL PROTECTED]
Subject: [courier-users] Re: Mail routing, default domain problem`

>Nothing is being rewritten to anything.  The mail is delivered to the 
>account in question, that's the first logged part.

I know, to be sure everything was Kosher, I reinstalled courier from scratch
and completely re-wrote the configuration files. I made sure to rm -Rf
/usr/lib/courier before reinstalling. I created a new maildir and recreated
my LDAP entries. I am getting the same behavior though...

Here it shows it delivering the msg to the right maildir



Feb  6 13:11:34 beeker imapd: LOGIN, [EMAIL PROTECTED],
ip=[::ffff:10.143.255.254]
Feb  6 13:13:15 beeker courieresmtpd: started,ip=[::ffff:10.143.255.254]
Feb  6 13:13:21 beeker courierd: newmsg,id=00067226.3E42A5C0.00000418
Feb  6 13:13:21 beeker courierd:
started,id=00067226.3E42A5C0.00000418,from=<[EMAIL PROTECTED]>,module=local,ho
[EMAIL PROTECTED]!!502!502!/home/vmail/domains!techblackboard.com/t
est/!,addr=<[EMAIL PROTECTED]>
Feb  6 13:13:21 beeker courierd: Waiting.  shutdown time=none, wakeup
time=none, queuedelivering=1, inprogress=1
Feb  6 13:13:21 beeker courierlocal:
id=00067226.3E42A5C0.00000418,from=<[EMAIL PROTECTED]>,addr=<test@techblackboa
rd.com>,
size=1246,success: Message delivered.

If I look at the Maildir the tmp folder datestamp is updated, showing that
courier wrote the file to the tmp folder....

Feb  6 13:13:21 beeker courierd: newmsg,id=0006722A.3E42A5C1.0000041D
Feb  6 13:13:21 beeker courierd:
id=0006722A.3E42A5C1.0000041D,from=<[EMAIL PROTECTED]>,addr=<techblackboard.co
[EMAIL PROTECTED]>: 550 User unknown.
Feb  6 13:13:21 beeker courierd:
id=0006722A.3E42A5C1.0000041D,from=<[EMAIL PROTECTED]>,addr=<techblackboard.co
[EMAIL PROTECTED]>,status: failure
Feb  6 13:13:21 beeker courierd: completed,id=0006722A.3E42A5C1.0000041D



>The 'newmsg' record indicates a completely new message injected into the 
>mail server.
>
>This is what happens when the mail account's .courier file (or some other 
>mail forwarding script), manually forwards the incoming mail.  The 
>forwarding address appears to be "techblackboard.com/chetw/", and since it 
>does not include a mail domain, the default mail domain is appended.

This is logical if I were running any scripts. I am not. I created the
Maildir with maildirmake and never touched the folders other than to set
them owner=vmail recursively.

How can I find out which config file/.whatever etc courier is using to
decide to create this new msg? I have combed through everything multiple
times with no success. Courier knows the user is local or wouldn't deliver
the mail to the right maildir into the tmp folder.

>You're probably running some script on that account that reads received 
>mail, chews on it, somehow, then sends it.  Why your script decides to 
>forward mail to an address called "techblackboard.com/chetw/" is something 
>that only you can answer.

This is what must be happening, yet I know for a fact I have not
intentionally done this. I added nothing, and basically only changed courier
options to start esmtp, imap, and pop daemons, and configured authdaemonrc
and authldaprc.

>So, let's see: you're running some script or a program whose presence you 
>neglected to explicitly mention.  It's doing something wrong, you haven't 
>even posted the script, and you want to know how to fix it?

Its not a script I installed, it must be that I have somehow mis-configured
something that natively comes with courier. If this is the case, can you
please suggest which config files I should post? I can also have a private
conversation with anyone willing to help and create them a SSH account to
poke around and test it with me.

>Do you see something wrong with this picture?

No, I don't.

>You should read http://www.courier-mta.org/FAQ.html#help, which contains a 
>list of some helpful things you can do in order to prepare a request for 
>help that can actually contains all the needed information for someone to 
>figure out what's happening.

The only things I can think of are including my locals, hosteddomains, and
esmtpacceptmailfor, so here they are.


[root@beeker sbin]# cat ../etc/locals
localhost
beeker.techfortify.com


[root@beeker courier]# cat etc/esmtpacceptmailfor.dir/vmail 
techfortify.com
.techfortify.com
techblackboard.com

[root@beeker courier]# cat etc/hosteddomains
techblackboard.com
techfortify.com
.techfortify.com
.techblackboard.com


Thank you again to anyone who might have a suggestion.

Chet




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to