Mail Delivery Problem

Discussion in 'Server Operation' started by prophet, Jan 13, 2007.

  1. prophet

    prophet New Member

    Hi.

    I'm a bit new to ISP Config so please go easy on me if I'm making some newbie mistake ;)

    I've setup the ISP Config system and all is good from an apache, mysql and bind point of view, it's all working great.
    My problem is email.

    My server is www.chrisbray.co.uk, therefore handling chrisbray.co.uk.
    I added a user (chris), checked the catch-all box. All is good.
    I have an alias for root -> chris in /etc/alias so that my user (chris) gets all admin mail.

    I added another domain (pixelspotter.co.uk), into that I added a user (web18_admin) with the email address [email protected] and checked the catch-all box.

    Whenever I send a mail to [email protected] (or [email protected]) then mail is sent to [email protected] :(

    It's as if Postfix is not recognising the web18_admin user, and looking "up the tree" to the hosts "unknown" address (root) and forwarding the mail to that (which forwards to chris).

    The catch is, this happens for all my defined domains!

    What did I do wrong?!
     
    Last edited: Jan 13, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

  3. prophet

    prophet New Member

    Wouldy you believe that after the three hours or so of searching, then finally admitting defeat and posting the question, I found that FAQ about three minutes after I posted!

    Setting up my "base" domain in httpd.conf, /etc/aliases and with real users etc has solved my problems mail problems, but is there a way to add a "catchall" email in the /etc/aliases file? That's the last think I need to get working!

    Thanks for a great piece of software, I hope I can continue using it as it evolves and grows.

    One addition that I'd find real nice, is there any chance of adding support for Mono in the same way as PHP? Some of my customers are asking for Mono support and it'd be real nice to be able to automate it :)

    Thanks again.
    Chris
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Why do you want to set it in /etc/aliases? Why don't you use ISPConfig to create catchAll email addresses?

    This isn't planned yet as very few people seem to need this.
     
  5. prophet

    prophet New Member

    Cos I can't manage my "root" domain in ISPConfig, that FAQ says I can't have my root domain as an ISPConfig virtual domain... :confused:

    I've actually sorted it now anyway :)

    Shame :(

    What about adding a "custom Apache directives" box that I could add it myself on a per-domain basis?

    Anything to stop me having to edit the generated /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf file (and losing my changes when it gets re-generated!)
     
  6. martinfst

    martinfst Member Moderator

    Apache directives can already be added in ISPConfig per domain.

    About /etc/aliases: I think you can add your own redirects in there. I use it to fwd general things like root email to my account and it just keeps on working, even if I create new domains.
     
  7. prophet

    prophet New Member

    Forgive my ignorance but where did I miss that then?!
     
  8. falko

    falko Super Moderator Howtoforge Staff

  9. prophet

    prophet New Member

    Aaaah!
    Now I've re-enabled HTTPD Includes for the reseller that "owns" the account I can see it!

    Thanks very much and sorry again for the trouble!
     

Share This Page