Re: [Exim] Using Pine with Exim

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tamas TEVESZ
Ημερομηνία:  
Προς: Brent Jones
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Using Pine with Exim
On Wed, 24 Oct 2001, Brent Jones wrote:

> First of all, I want to know if having them pull mail from
> /var/mail/username is even a good idea in the first place, but it seems like
> the only way to get Pine working.


wrong. ${MAIL} is where pine looks for the mailbox. if you set it
some_dir/ (trailing slash), that it can even use maildir for you
(might need a spearate patch though).

> Second, how would one make Pine keep a local copy for itself in case of an
> accidental Outlook download?


do a procmail rule that copies the message to ~/mbox as well as leave
it in /var/mail/${username}. then set ${MAIL} to ${HOME}/mbox

> I also have another question about user authentication.
> I had it setup to allow user authentication, using plaintext, so I could
> allow users to relay once theyve authenticated. But that method has never
> seemed to work.
> If someone could give me a breif example on how to accomplish this, I would
> be most appreciative!


plain:
driver = plaintext
public_name = PLAIN
server_condition = ${if eq{$3}{${lookup{$2}lsearch{/etc/exim/authtab}{$value}}}{1}{0}}
server_set_id = $2

login:
driver = plaintext
public_name = LOGIN
server_prompts = Username:: : Password::
server_condition = ${if eq{$2}{${lookup{$1}lsearch{/etc/exim/authtab}{$value}}}{1}{0}}
server_set_id = $1

--
[-]