Koozali.org: home of the SME Server

E-Mail Errors

Abe Loveless

E-Mail Errors
« on: July 30, 2002, 08:22:04 PM »
Users are continually getting the following error bounced back to them by the mail server. SME 5.5.  I believe the messages are actually being delivered, but I'm confused as to why it doesn't show the actual e-mail address below.



Hi. This is the qmail-send program at lth5.k12.il.us.
I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.



<
@SME-Mail2.lth5.k12.il.us>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.




Any ideas?

Abe Loveless

Re: E-Mail Errors
« Reply #1 on: July 30, 2002, 08:37:28 PM »
After a little more searching... the messages are being delivered... sort of.  They are getting appended to a file named "?" in their Maildir directory.

So, I have a number of users with the following:
/home/e-smith/files/users/USERNAME/Maildir/?
It looks like the permissions on this file are User RW (chmod 600).

Any ideas what I would have done to cause this... or how to fix it?

Thanks,
Abe

Abe Loveless

Re: E-Mail Errors
« Reply #2 on: July 30, 2002, 08:58:13 PM »
I think I've narrowed down the trouble.  Most users do not have the following file:
/home/e-smith/files/users/USERNAME/Maildir/.uidvalidity

This file appears to be empty for the users that do have it.  Is there something special to this file, or can I just re-create a blank file for each user that doesn't have one??

thanks

Charlie Brady

Re: E-Mail Errors
« Reply #3 on: July 30, 2002, 09:05:03 PM »
Abe Loveless wrote:

> After a little more searching... the messages are being
> delivered... sort of.  They are getting appended to a file
> named "?" in their Maildir directory.

My guess is that is not the case. My guess is that they are being appended to a file named ^M (control-M) in the Maildir directory. Because this character can't be displayed (it's a carriage return), it shows up as ? in the directory listing.
 
> So, I have a number of users with the following:
> /home/e-smith/files/users/USERNAME/Maildir/?
> It looks like the permissions on this file are User RW (chmod
> 600).
>
> Any ideas what I would have done to cause this... or how to
> fix it?

I'd guess that you, or somebody, edited their .qmail file with a DOS editor.
Going into the manager and "modifying" the user should regenerate a good .qmail file.

Charlie

Abe Loveless

Re: E-Mail Errors
« Reply #4 on: July 30, 2002, 09:46:26 PM »
Thanks Charlie... it seems to be working appropriately now.  That's what I get for messing around with it.  :)

Is there an easy way to retrieve the messages from the ^M file, or should I just delete them all?

Thanks again.

Charlie Brady

Re: E-Mail Errors
« Reply #5 on: July 30, 2002, 10:43:32 PM »
Abe Loveless wrote:

> Is there an easy way to retrieve the messages from the ^M
> file, or should I just delete them all?

You'll need to read the man page carefully, then experiment, but formail can split up a mailbox and resend messages. You'll need to strip the Delivered-To header, or qmail will consider the messages to be looping.

Charlie

John Clarke

Re: E-Mail Errors
« Reply #6 on: September 24, 2002, 08:29:08 PM »
Hi
I'm using Version 5.0 to collect mail, it's positioned on a DMZ (Smoothwall), a mail server on the 'Trusted' network then logs onto E-Smith and collects all the mail for the domain (no users have been set up on e-smith, it just accepts all the mail for its domain (directly from the internet) and passes it to the the other server which does the filtering and distribution.
All was well up to the weekend, now I am getting mail bounced with the reply :-

Sorry, no mailbox here by that name. (#5.1.1)

???? any help appreciated