Summary: I've used email in Linux fine in the past. I would like to set up IMAP on my computer so I can access my email from anywhere, but somewhere in the process of setting it up, I've screwed something up so that I can no longer send or receive email at all. I've backed off of IMAP for the moment and just want to understand enough to configure email for POP and SMTP.
Details: I'm not stupid, but I often feel like it when working with Linux.
I'm running ArkLinux 1.0 Alpha 10, and I have an Apache server that works fine (see my profile, I'm not allowed to post a url). What I'd like to do, ultimately, is get an imap server working on the same box so that I can access my email from anywhere, but I'd be happy at the moment just to be able to send and receive mail using pop & smtp. I have spent considerable time reading about email on Linux, and, honestly, I'm still so confused that I hardly even know what to ask. What I'd like to do is explain my situation as much as I can, and hopefully someone can figure out what additional information I need to provide in order to get some useful help.
I use a cable modem that has had the IP address 18.104.22.168 for as long as I was paying attention to it, and I have my firewall/router pass through the relevant ports (and probably a number of irrelevant ones
) : 25, 110, etc. I'm guessing, therefore, that my email address would be email@example.com, or firstname.lastname@example.org
ldomain for local mail. I can't get either to work at this point. When I go to send mail, the mail client (I've tried mutt and KMail) typically says the mail was sent successfully (sometimes not, depending on my current configuration, but it's not objecting at the moment). However, the mail never gets anywhere -- not to accounts on the local machine, and not to my outside account.
I have installed Postfix and tried various edits on main.cf. It's kind of a long file, but I can post all or part of it if that would help. In Webmin, I have a long and accumulating list of messages in the Mail Queue, but all user mailboxes are empty. For mailboxes, I have it set to ~/Mail, which does exist for the users I have been experimenting with. When there is an error sending mail, I can see the messages in the outgoing folder, so I know this is working at least partially.
It appears that smtp is working, at least for local addresses. I can telnet to port 25. However, I cannot telnet to port 110, even though I do have a pop daemon running. I understand the concept of a daemon fine, but I have no clue what xinetd does, so I don't know whether I need to edit the scripts in xinetd.d, or just run a daemon, or what. The mail log consistently shows the following error:
"Apr 28 13:55:25 localhost postfix/master: warning: process /usr/libexec/postfix/local pid 31123 exit status 1
Apr 28 13:55:25 localhost postfix/master: warning: /usr/libexec/postfix/local: bad command startup -- throttling."
I hope this gives some Linux guru enough to go on, at least to ask more questions about config or log files to find out what I'm doing wrong. I've been getting pretty comfortable with Linux, but this aspect of it has me completely baffled, so I will be very grateful for any help people can provide.