My quest to receive email with sendmail started 14 months ago on RHEL3. Now that I have a server with RHEL4 I am willing to give it another shot. Keep in mind this is a plain RHEL4 without any control panel.
I have studied many articles and read/posted in many forums to no avail. I'm not sure if anyone really understands sendmail. (Can you tell I've had it up to my eyeballs in frustration. ;D)
I'll start from the very beginning of the process and allow you to walk me through it.
I type the following command to listen to port 25 for any activity:
[root@plain /]# tcpdump -i eth0 port 25
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
Then, I send an email to the domain name of the server from my gmail account and watch the putty window to see if there is activity. I immediately get this kind of stuff, which shows me that email is successfully hitting the server:
18:54:13.994095 IP wr-out-0506.google.com.25806 > plain.ev1servers.net.smtp: S 2617874197:2617874197(0) win 5720 <mss 1430,sackOK,timestamp 4292017532 0,nop,wscale 0>
18:54:13.994178 IP plain.ev1servers.net.smtp > wr-out-0506.google.com.25806: R 0:0(0) ack 2617874198 win 0
From what I read, after setting things up right, the mail is supposed to end up in /var/spool/mail/. I have high hopes for this working, but every time I try to apply the things that I read, it never works. As far as I can tell, the problem ISN'T between screen and keyboard. I have managed to accomplish a lot already by following directions.
If I could pay Experts Exchange $100 to give 10,000 points to whoever solves this for me, I would gladly give it. I wish they had some kind of special option to pay for special operations.
Genuinely looking forward to this!