Mail Not Sent Sending error: 451 queuename: Cannot create

Mail Not Sent Sending error: 451 queuename: Cannot create

Post by Andy » Sat, 25 Sep 1999 04:00:00



I have a redhat 5.1 Linux box handling mail and web traffic for a small
network. It runs great, mail from Windows clients using POP/SMTP works
fine. I just have problems sending mail if I telnet in and use pine or
other console mail progs. Unless I am logged in as (or su'd to) root I get
the following errors.

In Pine

[Mail not sent. Sending error: 451 queuename: Cannot create "qfPAA14279]

In /var/log/messages

Sep 24 15:26:45 machinename sendmail[14285]: NOQUEUE: SYSERR(username):
queuename: Cannot create "qfPAA14279" in "/var/spool/mqueue" (euid=525):
Permission denied

I tried chmod +w /var/spool/mqueue just to see if it changed things - made
no difference to the problem.. so put the correct permissions back.

Any Ideas?

Thanks

Andy

------------------  Posted via CNET Linux Help  ------------------
                    http://www.searchlinux.com

 
 
 

Mail Not Sent Sending error: 451 queuename: Cannot create

Post by Michael Pow » Wed, 29 Sep 1999 04:00:00


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[posted and mailed]

    Andy> I have a redhat 5.1 Linux box handling mail and web traffic
    Andy> for a small network. It runs great, mail from Windows
    Andy> clients using POP/SMTP works fine. I just have problems
    Andy> sending mail if I telnet in and use pine or other console
    Andy> mail progs. Unless I am logged in as (or su'd to) root I get
    Andy> the following errors.

    Andy> In Pine

    Andy> [Mail not sent. Sending error: 451 queuename: Cannot create
    Andy> "qfPAA14279]

This simply means that the user does not have the necessary
permissions to write to the spool directory.  Check the perms of
/var/spool/mqueue and you'll probably find that it's set so that only
root can write to it.

mp

     ------------------------------------------------------------
        "Language is the dress of thought."  -- Samuel Johnson
- --

Portland, Oregon USA                       http://www.trollope.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.8 (GNU/Linux)
Comment: Mailcrypt 3.5.3/GnuPG v0.9.8 http://www.gnupg.org

iD8DBQE38bg4755rgEMD+T8RAtvLAJ9brOs6WYcY5UtgmQvH8Fo8Mlm8AwCfUMFV
PdJ+DOavwdglDqDs7N7Ui3g=
=y/8u
-----END PGP SIGNATURE-----

 
 
 

Mail Not Sent Sending error: 451 queuename: Cannot create

Post by sig.. » Thu, 07 Oct 1999 04:00:00




> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

> [posted and mailed]

>     Andy> I have a redhat 5.1 Linux box handling mail and web traffic
>     Andy> for a small network. It runs great, mail from Windows
>     Andy> clients using POP/SMTP works fine. I just have problems
>     Andy> sending mail if I telnet in and use pine or other console
>     Andy> mail progs. Unless I am logged in as (or su'd to) root I get
>     Andy> the following errors.

>     Andy> In Pine

>     Andy> [Mail not sent. Sending error: 451 queuename: Cannot create
>     Andy> "qfPAA14279]

> This simply means that the user does not have the necessary
> permissions to write to the spool directory.  Check the perms of
> /var/spool/mqueue and you'll probably find that it's set so that only
> root can write to it.

/var/spool/mqueue should be 755, and sendmail should have the
sticky bit (4755).  If as root you do

 # chmod 755 /var/spool/mqueue
 # chmod 4755 /usr/sbin/sendmail

that should do the trick.  Be sure to kill & restart sendmail, i.e.

 # kill (the sendmail id)
 # /usr/sbin/sendmail -bd

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. help: sendmail Deferred: 451 queuename error msg ?

        I'm using sendmail v8.8.4 with Linux kernel v1.3.20 and I just
upgraded from sendmail v8.6. Now I'm getting:

stat=Deferred: 451 queuename: Cannot create "qfCAA34386" in
"/var/spool/mqueue" (euid=0): Not a directory

        whenever I try to send e-mail to a certain host. This error
message so far hasn't shown up in any of my other hosts I send e-mail
to but just this one. I can receive mail from this host just fine, I
just can't send mail to it cause sendmail complains that it "can't
write to my mqueue dir".

        So, can anyone tell me why I'm getting this message? And only
for a certain host?

        Here are the perms for the related files:

drwxrwxr-x   2 root     mail         1024 Mar  9 20:55 mail
drwxrwxr-x   2 root     daemon       1024 Mar  9 21:48 mqueue

-r-sr-sr-x   1 root     root       291769 Mar  9 19:34 /usr/sbin/sendmail

-rw-r--r--   1 root     root        23644 Mar  9 21:17 sendmail.cf
-rw-r--r--   1 root     root          408 Mar  9 21:33 sendmail.st

        sendmail.cf has:

# queue directory
O QueueDirectory=/var/spool/mqueue

        I've looked for the FAQ but it seems rtfm.mit.edu is dead
now. And the only FAQ I could find was for v8.6 only which didn't
mention this problem.

        Any help appreciated. Please e-mail responses so I don't miss
your reply. Thanx!

2. "cc" comand not found when running make

3. mail.aliases does not exist - errors sending mail

4. Sound Drivers at boot time

5. Can send mail out but can't send mail in?

6. Invalid partion table messsage

7. SMTP error: 451 cannot lockf(/etc/aliases.dir ; Why?

8. AMD K6 and ASUS P5T2P4S

9. (PINE)error: 451 SMTP-MAIL: died on signal 11

10. Help -- Linux box can send mail out, but cannot receive mail

11. Able to send mail but cannot receive mail

12. Help! Sending mail But not Receiving mail!

13. For Help:sendmail can not send mail to a lotus mail server