ISPconfig/ Postfix forward

Discussion in 'Installation/Configuration' started by nemo12, Mar 15, 2006.

  1. nemo12

    nemo12 New Member

    I have ispconfig installed and there is site: host.maidomain.ee- What I need is all this mail, whitch users are in ispconfig, are comeing to this server to their mailboxes and all mail, whitch users aren't in users table goes to another server(like mailscanner). till today I used for it transport_maps in postfix, but ISPconfig looks for e-mails before it and inf no alias in user table then says no user.

    what could be the solution?
     
  2. falko

    falko Super Moderator

    You could create a catch-all account and then try to forward these emails (e.g. with the forward field in ISPConfig or with transports).
     
  3. nemo12

    nemo12 New Member

  4. nemo12

    nemo12 New Member

    jeah, got the point. just catchAll-Email needed and transport mapping works :)
     
  5. nemo12

    nemo12 New Member

    it wasn't so easy.

    I don't know why, but after that I once checked catch all mail, transport maps got working. if I uncheck catch all, transport maps still working - thats good :)

    but now - it sends all mail to next smtp server even these what are in ispconfig.
     
  6. falko

    falko Super Moderator

    What did you put into /etc/postfix/transport?
     
  7. nemo12

    nemo12 New Member

    test1.domain.ee smtp:nextsmtpserverip
     
  8. falko

    falko Super Moderator

    Please put the catch-all email address into the transports table instead:

    Code:
    example@test1.domain.ee smtp:nextsmtpserverip
     
  9. nemo12

    nemo12 New Member

    not working - sends all mail to with same name as catch all accout. I need people in other server get their mails to own mailbox.


    I think it is quite logic that - postfix checks users tables and if there is no user sends mail to next smtp - or it isn't so easy? this means actually ispconfig doesn't need to confuse situation - postfix just checks users table and sends all unknown to next smtp.
     
  10. nemo12

    nemo12 New Member

    again myself - maybe it helps.

    In my other server I have configured:

    virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
    virtual_gid_maps = static:1001
    virtual_mailbox_base = /home/virtual
    virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
    virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
    virtual_mailbox_limit = 51200000
    virtual_minimum_uid = 1001
    virtual_transport = virtual
    virtual_uid_maps = static:1001


    at first it looks to the virtual alias table and if user unknown uses transport_map.

    ispconfig needs that users are in local tables and domains are in mydestination. thats why I get local user unknown.

    is any idea how to hack this?
     

Share This Page