Virtual Users And Domains With Postfix, Courier And MySQL

Discussion in 'HOWTO-Related Questions' started by faalhaas, Aug 20, 2008.

  1. faalhaas

    faalhaas New Member

    Hi All,

    After following this http://www.howtoforge.com/virtual-users-and-domains-postfix-courier-mysql-fedora8 howto, i ran into a small problem.

    I have a fedora 8 server, on which a Lotus Domino server runs. Now, we want to combine Lotus Domino mail and PostFix. In essence, we want postfix to recieve the mail, and pass some of the mail to Lotus Domino on the same server, listening at port 30. If postfix recognises the user, it must accept the message and deliver it, in the case postfix knows the domain, but not the user the message must be passed to Lotus Domino, in all other cases, the message must be rejected.

    I have set the following configuration in the mysql tables

    domains:
    domain1.com
    domain2.com

    forwardings is empty

    transport:
    domain1.com smtp:[127.0.0.1]:30
    domain2.com smtp:[127.0.0.1]:30

    users:
    testuser1@domain1.com (password quota are set)

    mail send to testuser1 is accepted. All other mail is rejected with the message user unknown.

    I expected postfix to allow the relay to work with this configuration. After spending 5 days expermenting and googling i have given up on figuring this out on my own. Any help is appreciated.
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

Share This Page