Announcement

Collapse
No announcement yet.

Configuration of Postfix

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Configuration of Postfix

    Hi,
    pls, can somebody help me with setting of postfix.
    I tried this settings:

    local_recipient_maps = proxy:unixasswd.byname
    alias_maps = hash:/etc/postfix/cyrus_recipients
    mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
    smtpd_sasl_auth_enable = yes
    It is working, but I want to authorize against db.

    But I am sure, that I can use solution like in 8.6.4
    mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
    virtual_alias_domains = mysql:/etc/postfix/ox_domains.cf
    virtual_alias_maps = mysql:/etc/postfix/ox_user_aliases.cf, mysql:/etc/postfix/ox_aliases.cf, mysql:/etc/postfix/ox_resource_aliases.cf, mysql:/etc/postfix/ox_group_aliases.cf
    smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/ox_externaldomaincheck.cf
    smtpd_restriction_classes = local_only
    local_only = check_recipient_access mysql:/etc/postfix/ox_domains.cf, reject
    smtpd_recipient_restrictions = check_sender_access mysql:/etc/postfix/ox_senderrestrictions.cf, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination

    Can somebody help me please with database queries???

    PS: Sorry for my bad English.
Working...
X