Postfix/Courier/Squirrelmail Virtual Domains/Users Help

Discussion in 'Server Operation' started by dewdude, Apr 6, 2009.

  1. dewdude

    dewdude New Member

    Ok, I've been fighting with this for 3 days...and I've offically given up. Seriously. I wanted email, but if it's going to give me this much problem, I'm just going to leave all the half-broken daemons and run as far away as I can from this fiasco.

    your howto was well written, but incomplete. At no point was I able to tell exactly what I was confguring and for what reasons...and now I'm stuck with the following problems that's preventing anything from working.

    Postfix works and picks up mail....the problem is, it has to be a actual system user. I, for example, have a user account on my box titled 'dewdude', when I set this email up, i put '[email protected]' as a user in the MySQL, sent it a test message and saw it appear in the logs. When I attempted to login with squirrelmail...I instantly got dropped by IMAP.

    I checked why....the log told me "chdir: my.domain/dewdude/: No Such File or Directory.

    Apparently IMAP/POP3 is looking somewhere else for my mail when it's in /var/mail/dewdude - that doesn't seem very virtural.

    the other issue is...if i create a virtural user that doesn't exist on the system...IMAP does not give me that error. However, I still can't log in because THIS appears to happen:

    it seems like it's jus rejecting vusers.

    where can i look for help? I'd like to get this going, but i'm not wasting ANY more time on it. The daemons can sit there and rot for all I care right now...7 hours trying to do this is ENOUGH. I used a howto, should of taken 20 minutes.

    Thanks for lack of real comments as to what i'm doing...I can't even figure out where to begin to fix my config...and if i follow your howto EXACTLY to the letter a second time, this is where I end up. virtural users can't get mail at all and system-accounts can't log in to get mail. exactly the opposite for what my mail server needs to do.

    *edit*: Forgot to mention my server is a VPS running Ubuntu 8.04 amd64. More complete specs @
    Last edited: Apr 6, 2009
  2. dewdude

    dewdude New Member

    Bah...i figured it out...

    I made a modification in my postfix config I THOUGHT I was supposed to do...turns out I'm not supposted to list every vhost in that it was treating everything as if it was system-wide and not virtual. Once I took that out...postfix started routing everything properly with virtual users and domains.

    squirrelmail just gives me HTTP 500's when I attempt to log i'll just ditch that.
  3. falko

    falko Super Moderator ISPConfig Developer

    Did you check Apache's error log?
  4. dewdude

    dewdude New Member

    Thanks for the reply.

    I looked at the apache log, but it wasn't very informative. I believe a 302 for login and a 500 on the page after.

    Digging through logs has yielded no reason it won't load, unless there are logs outside of /var/log I need to be looking at.

    It could be because my vps is near max ram? The amavis (sorry if I've got the name wrong) daemon didn't want to load and the admin had to bump me up a little.

    ClamAV uses a LOT of ram...and..I don't really need virus scanning in postfix if it'll gain me some extra ram and im considering possibly removing that if it's not going to be too difficult.
  5. falko

    falko Super Moderator ISPConfig Developer

    Did you check Apache's access log only, or also the error log?

    I don't think the 500 error is related to RAM, but it's not impossible...

Share This Page