Redirecting a copy of outgoing mail

Discussion in 'Server Operation' started by Berry, Feb 9, 2007.

  1. Berry

    Berry New Member

    Hi to all!

    I have Perfect Sarge on my webserver powered by ISPConfig and one client that needs every copy of sent outgoing mail to be also forwarded to main companies mailbox. Does anyone have idea how to solve it trough postfix. Using "CC" is ofcourse out of coice...

    Thanks for any help guys!
     
  2. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    You can add the always_bcc option with postconf. See http://www.postfix.org/postconf.5.html:
    Code:
    postconf -e "always_bcc = [email protected]"
     
  3. Berry

    Berry New Member

    martinfst, thanks for Your reply!

    But I'm not sure how to use this option only for specific mail account, not the whole Postfix server. As I see it - this would BCC all mails of all accounts on Postfix.
     
  4. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    "always_bcc" is not selective, it BCC's *all* the mail. But you could use a simple filter to remove all but the mail you need from the stream. As ISPConfig already uses procmail, you need to dig into procmail rules/filters for the user receiving all the always_bcc mail.
     
  5. Ovidiu

    Ovidiu Active Member

    sorry to dig up such an old thread but is this still the only solution?
    just curios if ispcfg maybe incorporates such a feature itsself or if there have been any new improvements in this matter.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    No, this is still the only solution.
     

Share This Page