Results 1 to 2 of 2
  1. #1

    * My postfix doesn't respect my GID setting anymore

    Hi everybody, I need your help.

    I have configured postfix like this (main.cf) :

    Code:
    myhostname=mail.killix.org
    mynetworks=127.0.0.0/8
    virtual_alias_maps=
        mysql:/etc/postfix/mysql/virtual_forwardings.cf
        mysql:/etc/postfix/mysql/virtual_email2email.cf
    virtual_mailbox_domains=mysql:/etc/postfix/mysql/virtual_domains.cf
    virtual_mailbox_maps=mysql:/etc/postfix/mysql/virtual_mailboxes.cf
    virtual_mailbox_base=/var/mail/users
    virtual_uid_maps=static:104
    virtual_gid_maps=mysql:/etc/postfix/mysql/virtual_gid.cf
    
    etc ...
    And since I don't know when, when postfix receives e-mails it stores it with uid postfix and gid postfix whereas it should store with uid postfix and gid as in the field "user_id" of a table in a database.

    It had worked but now I don't know why it doesn't anymore.

    I tried setting :
    virtual_uid_maps=static:1000
    (with 1000 an existing gid) but it still stored mails with postfix : postfix.

    Have you got an idea ? What do you think I can do to solve this problem ?

  2. #2

    Thumbs up

    f3ew on #postfix @ freenode helped me, now the problem is solved :

    chmod 700 /var/www/users

    CU later guys .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •