Koozali.org: home of the SME Server

Unable to send email

brian2hand

Unable to send email
« on: May 11, 2004, 12:27:08 PM »
Hi all,

I recently upgraded from 5.6 to 6.01-01 and had a problem finding emails in sub-folders that were created. In my efforts to fix the problem (following advice I have received) no one is now able to send any mail out- this is an extract of my qmail log file

2004-05-11 14:06:03.443974500 starting delivery 7: msg 3139929 to local di@fs1.****.com.au
2004-05-11 14:06:03.443979500 status: local 1/10 remote 0/20
2004-05-11 14:06:03.445098500 delivery 7: deferral: Uh-oh:_.qmail_has_file_delivery_but_has_x_bit_set._(#4.7.0)/
2004-05-11 14:06:03.445103500 status: local 0/10 remote 0/20
2004-05-11 14:07:47.437542500 starting delivery 8: msg 3139704 to local iantow@fs1.***.com.au
2004-05-11 14:07:47.437547500 status: local 1/10 remote 0/20
2004-05-11 14:07:47.438743500 delivery 8: deferral: Uh-oh:_.qmail_has_file_delivery_but_has_x_bit_set._(#4.7.0)/
2004-05-11 14:07:47.438748500 status: local 0/10 remote 0/20

I am using Twiggi as a mail client and outlook express, My machine is an Athlon 2800+ with 1GB of RAM and two 38GB SCSI drives - mirrored.

I entered the following for Twiggi, with no improvement (which comes from Darrell May's Site):
sbin/e-smith/db /home/e-smith/nngroupware setprop TWIGGIconfig imap_port "\"143/notls\""

/sbin/e-smith/db /home/e-smith/nngroupware setprop TWIGGIconfig mail_folder_delimiter "\";\""

/sbin/e-smith/db /home/e-smith/nngroupware setprop TWIGGIconfig imap_path "\"\""

/sbin/e-smith/signal-event twiggi-update

I loaded YUM and downloaded all the updates except anaconda and newt.

I also checked all file ownerships in the user's home/Mail and Maildir directories.

The file permissions are rwxr_xr__

somewhere along the line, these caused the whole system to stop sending and receiving mail.

Any help would be greatly appreciated.

I have another machine with a full Rsync'd copy of yesterday's everything - can I just rsync it back?

Offline hameren

  • *
  • 6
  • +0/-0
Unable to send email
« Reply #1 on: July 22, 2004, 08:46:32 PM »
Qmail is touchie about permissions on the Maildir directory and the
.qmail file. The maildir including it's subdirectories should be set to
700. The .qmail file should be set to 400.

Succes,
Peter

Offline satovey

  • ****
  • 75
  • +0/-0
    • Yevotas Ministry Network
Unable to send email
« Reply #2 on: July 28, 2004, 12:14:34 AM »
In upgrading, it is possible that the
group owner and user name has been changed
to root root.

What you will need to do is run the command
chuser -R username and
chgroup -R groupname

Run this in the users home directory where you
see the maildir. If you put these lines in
a changerpermissions.sh file you can automate
the process somewhat.

If your realy good at scripting with linux,
you can automate the whole thing.

You can check group and user settings on files
and directories in the maildir using the
midnight commander(mc) before you start
the changes. Odds are that the files are
not set to the proper group and usernames.

Hope this helps

Scott
Scott A Tovey