PPRuNe Forums - View Single Post - Sun RaQ3 Cobalt - Sendmail Config Problems
Old 1st Sep 2006, 23:29
  #1 (permalink)  
LD Max
 
Join Date: Feb 2003
Location: Eire
Posts: 197
Likes: 0
Received 0 Likes on 0 Posts
Question Sun RaQ3 Cobalt - Sendmail Config Problems

Help please!!
For anyone not familiar with the RaQ3 it is a fairly old type of rackmounted server which runs on Linux. It provides Web (apache), e-mail (sendmail 8.9.3) and DNS services for multiple virtual domains (or virtual hosting).
Mails sent from local network (to which RaQ is connected) via any existing account to: user(at)deleteddomain.com are returned by the RaQ SMTP server with the following error:
The original message was received at Sat, 26 Aug 2006 19:13:22 -0400 from My ISP [XX.XX.XXX.XX] (may be forged)
----- The following addresses had permanent fatal errors ----- <[email protected]>
----- Transcript of session follows -----
554 MX list for deleteddomain.com points back to www.myserver.com
554 <[email protected]>... Local configuration error
Upon examining the root, I discovered the "/etc/sendmail.cw" file contains a list of domains which sendmail regards as its own and attempts local delivery for. The sendmail.cw file contained maybe 20 entries (including deleted domains and their host varients like www. and mail.). Bearing in mind I'm only hosting 3 domains now, it reads like a history list.
Sendmail documentation which I've read elsewhere suggests adding locally hosted domains to this file - to prevent the error described above - and conversely to remove entries for which local delivery is not required.
After manually editing the file and restarting sendmail, unfortunately it simply replaced my edited sendmail.cw file with the previous data. ALL the old domains reappeared in the file - BUT they don't appear anymore in the admin web interface (GUI).
There is also another file called: "/etc/virtusertable". The header of this file says it is automatically generated but to put any additions at the end. Scanning through this file the first section lists every possible combination of aliases mapped to usernames. These are all correct.
The next section starts:
Originally Posted by /etc/virtusertable
# accept-email-at-domain routes
(list in the following format)
@domain %[email protected]
@mail.domain %[email protected]
@mail.domain %1@www
(etc etc...)
However, this section includes all current AND deleted domains.
The last section of the file entitled "catch-all aliases" just lists the domains which are currently hosted.
I must take it these automatically generated files are gathering their information from the admin web interface GUI wizard. Clearly the GUI is not deleting domains cleanly in all the sendmail files, but hiding that fact when viewing the e-mail configuration through the web admin interface.
So now I'm really stumped for ideas!
Any help appreciated.

Last edited by LD Max; 3rd Sep 2006 at 00:04.
LD Max is offline