LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-03-2005, 07:05 AM   #1
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Rep: Reputation: 30
Sendmail 550 access denied


Hello All,

I just installed sendmail on a Mandrake 10.1.

I started it up and tried to send a message via command line and this is what happend:

[root@XXXX]# telnet localhost 25
Trying 127.0.0.1...
Connected to XXXXX.com (127.0.0.1).
Escape character is '^]'.
220 XXXXX.com ESMTP Sendmail 8.13.1/8.13.1; Thu, 3 Mar 2005 13:57:40 +0100
MAIL FROM:<root@XXXXX.com>
550 5.0.0 Access denied


I thought it could have something to do with root but I tried with other users and get the same message back.

What could be the problem?
 
Old 03-03-2005, 08:06 AM   #2
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Original Poster
Rep: Reputation: 30
Perhaps this can help...

I sent email via an external client and got this back:

Final-Recipient: rfc822; root@XXXXXX.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; mail for XXXXXX.com loops back to myself
 
Old 03-03-2005, 08:42 AM   #3
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Original Poster
Rep: Reputation: 30
Apparently the error message is specificly related to:

"550 Requested action not taken: mailbox unavailable"

I have checked by typing:

[root@XXXXX]# mail
No mail for root

So I assume he has a mail box (and I have checked it too with other users), otherwise I would have had another type of error message.

What I haven't been able to figure out is where the mail boxes of the users reside. I checked in their home dirs but found nothing.

Is this going in the right direction?

Any thougts on why I get the 550 denied even when its the same user trying to access his own mail box?

Last edited by vous; 03-03-2005 at 08:43 AM.
 
Old 03-03-2005, 09:36 AM   #4
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Original Poster
Rep: Reputation: 30
I found a GREAT fix for ALL sendmail problems!!!

Procedure:

1) Uninstall Sendmail

2) Install Postfix

It works like a charm!
 
Old 03-03-2005, 09:36 AM   #5
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: SuSE (x86), NetBSD (Sparc), Solaris (Sparc & 32-bit x86)
Posts: 278

Rep: Reputation: 30
Looks like some possible DNS/sendmail local-host-name configuration issues. Hard to say for sure. You need to review the entire sendmail configuration to make sure it's proper. Mail (I believe) goes to /var/spool/mail on Linux.
 
Old 03-03-2005, 09:56 AM   #6
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Original Poster
Rep: Reputation: 30
Hi Brian,

thanks for the input, but that was exactly what threw me off from sendmail....I would have to dedicate myself for countless hours going through config files and docs; I understand that there are many who find that amusing, I on the other hand like: clear and to the point instructions. It's a shame that there is no such thing with sendmail, or I just didn't find it.

Anyways, I don't know if you are installing a mail server as well, but if you want a tip, go with postfix. I spent 4 hours decrypting the "user friendly" docs of sendmail and got nowhere with it; I got postfix to (at least) mail internally (from scratch) in 25 minutes!

Cheers!
 
Old 03-03-2005, 10:11 AM   #7
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: SuSE (x86), NetBSD (Sparc), Solaris (Sparc & 32-bit x86)
Posts: 278

Rep: Reputation: 30
Quote:
Originally posted by vous
Hi Brian,

thanks for the input, but that was exactly what threw me off from sendmail....I would have to dedicate myself for countless hours going through config files and docs; I understand that there are many who find that amusing, I on the other hand like: clear and to the point instructions. It's a shame that there is no such thing with sendmail, or I just didn't find it.

Anyways, I don't know if you are installing a mail server as well, but if you want a tip, go with postfix. I spent 4 hours decrypting the "user friendly" docs of sendmail and got nowhere with it; I got postfix to (at least) mail internally (from scratch) in 25 minutes!

Cheers!
I run sendmail, postfix, and Exchange mail servers on various platforms :-) Exchange is a big headache all the way around (but is best choice for linking with Outlook/PDA's). Postfix is easiest to get up and running initially, but is harder to do more complex configurations with (best choice for smaller number of domains). Sendmail has a harder initial install, but once done, everything else is easier to manage (scales better).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail Denied Access quack322 Red Hat 1 07-12-2005 12:10 PM
sendmail relay access denied techrolla Linux - Networking 5 06-11-2005 01:59 PM
FTP upload problem: Error 550 Access Denied andrewstr Linux - Networking 0 12-17-2003 01:19 PM
Remote host said: 550 Relaying Denied conymn Linux - Networking 4 09-10-2003 06:33 AM
mailman: send error 550 5.0.0 access denied katana Linux - General 2 08-26-2003 10:35 PM


All times are GMT -5. The time now is 09:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration