change postmaster email in an lxc container

Discussion in 'Mail Gateway: Installation and configuration' started by silvered.dragon, Jun 11, 2018.

  1. silvered.dragon

    Joined:
    Nov 4, 2015
    Messages:
    48
    Likes Received:
    2
    hi to all, just installed latest proxmox mail gateway on top of a debian lxc container, running on proxmox ve. everything is running perfect but I'm trying to figure out how to change the email address that is sending from administration-->spam quarantine-->deliver now is postmaster@mail.mydomain.com and obviously my iredmail is refusing this email. I tried everything inside proxmox lxc properties and inside proxmox mgw but I cannot change this. thanks
     
  2. heutger

    heutger Active Member

    Joined:
    Apr 25, 2018
    Messages:
    133
    Likes Received:
    37
    It seems not to be changeable currently. However, you can rewrite the sender with postfix header checks.
     
    silvered.dragon likes this.
  3. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    12,825
    Likes Received:
    304
    You can specify the sender address for quarantine reports on:

    "Configuration/Spam Detector: Quarantine - Email "From:""

    E.g.
    Proxmox Mail Gateway Admin <xyz@proxmox.com>
     
  4. silvered.dragon

    Joined:
    Nov 4, 2015
    Messages:
    48
    Likes Received:
    2
    this have to be done in the mail server or proxmoxMG?
     
  5. silvered.dragon

    Joined:
    Nov 4, 2015
    Messages:
    48
    Likes Received:
    2
    I have already tried this but is not affecting
    Inkedsetting_LI.jpg


    this is my mail server log as you can see postmaster remains..
    Inkedsender_LI.jpg

    is maybe lxc a problem for this setting?
     
  6. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    12,825
    Likes Received:
    304
    Postmaster and Quarantine Email Sender are two different things, I thought you want to change the quarantine sender.
     
  7. silvered.dragon

    Joined:
    Nov 4, 2015
    Messages:
    48
    Likes Received:
    2
    ok sorry, so how can I change postmaster email? I followed @heutger suggestions and rewrite the header in postfix, this works but maybe there is a clean way.
     
    heutger likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice