Sendmail & SquirrelMail problems

rmrf

Platinum Member
May 14, 2003
2,872
0
0
I have a box that has apache, mysql, php, sendmail(sort of), and imap. My situation is this, I can send email to anybody outside of localhost, and anybody outside of localhost can send email in. If I try to send mail from one user to another on the server itself, it doesn't work. I can do the following:

telnet localhost 25
telnet localhost 110

I can't do a telnet localhost 143 though. If I call imapd manually, it will emulate what it should look like when I run telnet, but telnet does not work. Thanks in advance to anyone who can help
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Cut out all the extra players - get a shell and do

mail someuser < testfile

where, obviously, someuser is a valid username and testfile is some text file. That should be a straight-up, sendmail-only delivery. Then check out /var/maillog - if it fails, then there's a local delivery problem somewhere. If it succeeds, then we look higher up in the chain.
 

rmrf

Platinum Member
May 14, 2003
2,872
0
0
I don't know what the deal was, but I uninstalled sendmail and imap, reinstalled and it all worked. i must have had a bad file in there somewhere. Thanks for the help.