I have set up a FC5 postfix mail server using the guide "Virtual Users And Domains Wi

Discussion in 'HOWTO-Related Questions' started by agarcia71, Jan 2, 2007.

  1. agarcia71

    agarcia71 New Member

    I have done every thing from the how-to,

    i create this on MySQL db_mail

    domain: webmail.miservidor.com
    user: [email protected]

    This is the Postfix program at host webmail.miservidor.com.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The Postfix program

    <[email protected]>: unknown user: "agarcia"

    thanks in advance, Happy New Year
     
  2. Hans

    Hans Moderator ISPConfig Developer

    Did you create that user wthin ISPConfig for that domain and is the user within the file /etc/postfix/virtusertable ?
     
  3. agarcia71

    agarcia71 New Member

    I guess i miss....

    I guess i miss to do something, but the how-to didn't say nothing about to setup a users on that file...

    thanks
     
  4. agarcia71

    agarcia71 New Member

    I'm not using ISPconfig
     
  5. Hans

    Hans Moderator ISPConfig Developer

  6. agarcia71

    agarcia71 New Member

    my server is temorary webmail.miservidor.com, after everything working good, the name have to be miservidor.com

    ok, i set with the phpmyadmin next records:

    database: db_mail
    table: domains 1 record
    webmail.miservidor.dom

    table: users 1 record
    [email protected]

    i did everthing is wrote in the howto, if you need confing files.

    /etc/postfix/mysql-virtual_domains.cf
    user = admin_mail
    password = admin_pass
    dbname = db_mail
    query = SELECT domain AS virtual FROM domains WHERE domain='%s'
    hosts = 127.0.0.1

    /etc/postfix/mysql-virtual_mailboxes.cf
    user = admin_mail
    password = admin_pass
    dbname = db_mail
    query = SELECT CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/') FROM users WHERE email='%s'
    hosts = 127.0.0.1

    Thanks in advance

    PD: Sorry about my English
     
  7. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    postconf -n
    and
    Code:
    hostname -f
    ?
     

Share This Page