>I'd like to support both users "andy" and "dick" if I can, but if, >due to not having root, I can only handle one mailbox, that's fine >(dick is satisfied with pop3 from ducks and smtp to the isp).
I'm thinking this would be very difficult for multiple mailboxes from one non-root account.
Not at all. Have the aliases deliver to the normal account, and then procmail can forward them to different addresses based on the to address.
The thing is, he doesn't have ROOT on ducks. Ducks is just the mail machine he has a shell account on. How does using procmail to forward the email get him anywhere?
Now, obviously, he could have the two other addresses forward to his account on ducks, and then use procmail to deliver them to different mailboxes in his home-directory. The trick, though, will be getting binc to actually authenticate his users properly.
Come to think of it, if you write your own checkpassword script, that may not be so bad. Just have it check the validity of the provided password, and then set $USER, $HOME, and $SHELL and so forth. Check out the description of checkpassword here: http://cr.yp.to/checkpwd/interface.html
It's reasonably easy if you're a bit of a coder. Can even be done as a shellscript.
>I run bincimap on ducks (listening on a nonstandard port)
Why nonstandard? I'd use it on the normal ports, and then use iptables to forward nonstandard ports to them if necessary.
Uh, because he doesn't have root on ducks?
>ducks runs sendmail. [EMAIL PROTECTED] and ducks smtp to ducks, possibly >through a ssl'ed tunnel to evade firewalls. Some authentication system >is used to prevent open relays.
That's going to be a function of qmail. If you use the SMTP AUTH patch (standard on Gentoo) you'll be good to go. You can even require STARTTLS before AUTH if you want.
Yeah, except for the "doesn't have root on ducks" part.
~Kyle
--
Real Programmers consider "what you see is what you get" to be just as bad a concept in Text Editors as it is in women. No, the Real Programmer wants a "you asked for it, you got it" text editor---complicated, cryptic, powerful, unforgiving, dangerous.
-- Unknown
signature.asc
Description: Digital signature
