
data at ds9
Feb 17, 1997, 3:58 PM
Post #2 of 2
(259 views)
Permalink
|
|
Re: I fixed the SMTP-problem... But troubles with pop3d still remains
[In reply to]
|
|
On Mon, 17 Feb 1997, Peter Olsson wrote: > Where do I change the path where pop3d searces for mail?? Now it's > searching in /var/spool/mail/$USER.... Here's a patch that I put together for pop3d. This is designed for the version of pop3d that runs with Shadow passwords under Linux; however, I'd imagine that the mods should be similar for the non-shadow version of pop3d as well. --- pop3.h.orig Sun Jan 26 16:35:47 1997 +++ pop3.h Sun Jan 26 16:34:59 1997 @@ -80,7 +80,8 @@ #define SVR_BUFSIZ 1024 #define CLI_BUFSIZ 128 -#define DEF_MAIL_DIR "/usr/spool/mail/" +#define DEF_MAIL_DIR "/home/" +#define DEF_MAIL_FILE "/Mailbox" #define DEF_POP3_DIR "/usr/spool/pop/" #define POP3_TMPFILE "/tmp/pop3XXXXXX" #define POP3_RCPT_HDR "X-POP3-Rcpt:" --- main.c.orig Sun Jan 26 16:36:31 1997 +++ main.c Sun Jan 26 14:02:25 1997 @@ -183,6 +183,7 @@ } strcpy(svr_buf,DEF_MAIL_DIR); strcat(svr_buf,cli_user); + strcat(svr_buf,DEF_MAIL_FILE); return(fld_fromsp(svr_buf)); } ********************************************************************** * Bryce Newall * IRC: Data * Email: data [at] dal * * WWW: http://voyager.abac.com/data * IRC Admin, voyager.dal.net * * --== Try DALnet! Server irc.dal.net, port 7000 ==-- * * "Stop smirking, Number 1." -- J.L. Picard * * "I'm a doctor, not a doorstop!" -- EMH Program, ST:FC * **********************************************************************
|