Postfix behavior for internal emails

Discussion in 'Server Operation' started by voltron81, Dec 8, 2009.

  1. voltron81

    voltron81 New Member

    Hi guys.
    I've realized a configuration of postfix that will put in the queue all the emails to send (deferred queue) and, when I want, the email to send will be relayed to the main mailserver.

    Now I've 2 questions:
    1) How to queue the emails directly in Hold?
    I've setup with this lines:
    transport_maps = hold:[]
    defer_transports = hold
    default_transport = hold
    virtual_transport = hold
    hold      unix  -       -       n       -       -       smtp
    2) How to setup postfix to not queue and relay the internal emails?
    All the internal emails will have the same domain (

    Thanks a lot
  2. voltron81

    voltron81 New Member

    I guess that for the question n.2, I've to find the way to say to postfix that all the emails where the receiver is must me delivered locally (with maildir).

    Any idea?
  3. voltron81

    voltron81 New Member

    Ok I've solved the question 2:
    In mail_transport database I'll setup:
    Code:  :
    *  hold:[]
    Now the local email are now queued and are delivered locally...

    I still have the question number 1...



Share This Page