Sendmail on CentOS not working properly
I've been searching for some time how to resolve my issue, but from the threads/tutorials I found, nothing actually described my problem.
So there are some emails, that aren't sent or that are delayed with days and in the end flushed from the queue. I have 2 domains which I use on the machine, let's say domain1.com and domain2.com. Code:
I am trying to send an email to void@domain1.com but i get the following reply: Second problem is with domain2.com: Quote:
Code:
May 12 10:06:53 domain1 sendmail[11658]: dangerous permissions=40777 on queue directory /var/spool/clientmqueue/ Example: Code:
450 4.7.1 <....@gmail.com>: Recipient address rejected: Service is temporarily unavailable. Please try again later. |
im no expert, but here are a few things that im seeing:
1. If domain1 is telling you user unknown, then the issue is not on the domain2 system you are sending it from, but the other end. 2. your logs tell you right off the bat you have a major issue, that is not just your issue but the rest of the worlds issue as it will drastically increase the odds of your system spamming the world: Quote:
as for the connection refused, what mode is your SELinux configured to run and have you properly set both the IPTables and SELinux to allow for sendmail to function both inbound and out? |
Code:
can not chdir(/var/spool/clientmqueue/): Permission denied SELinux is disabled. Firewall has the needed ports open. Regarding "1" - emails from gmail for example are send without an issue to void@domain1.com |
Does void@domain1 have a hosted email account or is he just a user on Domain1?
Can you post the complete header from the rejected email please? |
All times are GMT -5. The time now is 05:19 PM. |