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...

  4. agarcia71

    agarcia71 New Member

    I'm not using ISPconfig
  5. Hans

    Hans Moderator ISPConfig Developer

    If you create a website within ISPConfig and create a mailuser for that site, the user will be created atomaticly within the /etc/postfix/virtusertable.

    Sorry, i supposed that you installed ISPConfig as well, but it is not.
    How did you create the mailuser then? Is the user within the MySQL database?

    Can you send an email to [email protected] in stead of [email protected] ?
    Last edited: Jan 2, 2007
  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

    table: users 1 record
    [email protected]

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

    user = admin_mail
    password = admin_pass
    dbname = db_mail
    query = SELECT domain AS virtual FROM domains WHERE domain='%s'
    hosts =

    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 =

    Thanks in advance

    PD: Sorry about my English
  7. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    postconf -n
    hostname -f

Share This Page