Help needed with internal mail routing

After the courier install, the POP3 client (Outlook express) connects to the linux box no problem. The Maildir folder was created and I have made the change to main.cf to include home_mailbox = Maildir/

The problem now is, authentication fails. I specified cyberstorm as the username and password as the password (exactly as I setup the user account in linux) but authentication still fails.

I have tried various username combinations, like cyberstorm@localhost and [email protected] but whatever i try, authentication still fails....

Any ideas?
 
For a straight courier install, your username is the linux username and the same password. Courier includes its own authentication daemon - make sure it's running.

In /etc/courier/authdaemonrc you need to have the following line:

authmodulelist="authpam"

If that doesn't help, check what's in your mail log. You can set courier's debug up a notch or two and restart -that will give you a good idea of why it's failing.
 
For some reason POP3 authentication started working.
I did absolutely nothing...weird huh?

So, mail sent between users on the same domain gets routed internally, and mail destined for other domains gets pushed to the smtp relay address....so sweet :)

I'm still to test receiving of mail via fetchmail. Will report back soon enough.

When users are created on the linux, is there any way to automatically add the email address-to-local user mappings to the virtual and fetchmail files? (Fetchmail is running under root, with all accounts in a single file, that pulls mail from the POP3 server every 300 seconds)

Thank you so very much for all your help koffeejunkie!
If you were in South Africa I'd buy you a bottle of the finest whiskey :)
 
Glad it's working now - it probably just needed a restart (maybe automated updates ran or logrotate caused it to restart).

There's no way to add users to the virtual mappings by just adding them to linux, unless you're willing to write a script that will do that.

I'll be there in a month and a half :D
 
Top
Sign up to the MyBroadband newsletter
X