Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

sendmail configuration

Posted on 1998-11-03
2
Medium Priority
?
308 Views
Last Modified: 2010-03-18
Hi,
   I own grommit.com, and aliased risc.grommit.com to the same IP, in order for VirtualHost to work properly under Apache.  I would now like to setup email accounts on my machine that work for risc.grommit.com.  I.E: the machine's actual hostname is grommit.grommit.com, so how can I make the machine accept email addressed to risc.grommit.com as well?  I put risc.grommit.com in the named configuration, but whenever I try to send mail to someone@risc.grommit.com, I get a "we do not relay" error... I'm running RedHat 5.1, kernel 2.0.35
0
Comment
Question by:coleslau
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 400 total points
ID: 1587619
In your sendmail.cf, you should have two lines near the top that start with Cw and CP.  Make sure that the hostname, risc.grommit.com is included in both lists.  Also, after changing the sendmail.cf, you must restart sendmail.  If you have a frozen sendmail configuration (i.e. sendmail.fc) you must rebuild or delete the frozen configuration file.
0
 

Author Comment

by:coleslau
ID: 1587620
thanks much.... it worked perfectly. =)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question