Squirrelmail is on a different computer than the mail server in question. It accesses it via the IP that is in the ip_alias_map table in MySQL for that domain. Logging in manually to the Courier server brings up the same "Maildir: No such file or directory" error. The username/password authentication works; if I type the wrong password, it fails the login.. Only if I use a proper username/password pair will it give the error.
Andre -----Original Message----- From: Jesse Guardiani [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 15, 2002 2:06 PM To: Andre Fortin; vpopmail Subject: Re: [vchkpw] More ip alias woes How is squirrelmail accessing Courier-IMAP? Does squirrelmail access Courier-IMAP on the same IP as squirrelmail is accessed? Does IP-based domain work for normal Courier-IMAP logins? Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info. ----- Original Message ----- From: "Andre Fortin" <[EMAIL PROTECTED]> To: "vpopmail" <[EMAIL PROTECTED]> Sent: Sunday, December 15, 2002 12:50 AM Subject: [vchkpw] More ip alias woes > Hi, > > I'm using vpopmail with MySQL backend, and courier-imap for SquirrelMail > webmail. I am trying to use vipmap to authenticate different domains via > IP, and have applied Bill's patch for getting aroun IPv6, but when I log in > to a vipmap'd domain(other than the one in --enable-default-domain) it > returns the following: > > --------------- > > Unknown error: Fatal error: Maildir: No such file or directory > > Read data: > > --------------- > > > The default domain was a cdb domain before, so i made sure to move the > vpasswd files out of the way to make sure it wasnt just grabbing the correct > directory from the files rather than the MySQL database.. > > If I log in with the complete email address, it works; It only causes this > problem when I try to connect to the vipmap'd domain without using the > complete email address. I am not much of a coder, but I'm assuming the > problem is that the authvchkpw module is looking at the user@default-domain > instead of looking at user@ip-aliased-domain for the users directory.. Not > finding the user in the default domain, it will not have a proper directory > to find its Maildir/ and exits with this error. When logged into via the > complete email address, Courier of course does not use the default domain > and authenticates properly.. Am I right? Is there already a solution for > this issue? Let me know if any more information is needed.. Thanks, > > Andre > > >