Send as Alias

Discussion in 'Installation/Configuration' started by snoop168, Sep 10, 2019.

  1. snoop168

    snoop168 New Member

    This may not be specifically a problem with ISPConfig but I am using ISPConfig and I'm sure someone here will know the answer to this.
    I have an alias setup and point it to an actual mailbox. I enabled the "send as" checkbox in ISPConfig. Wondering how I would send as this alias... I use roundcube. Logged into Roundcube and added another identity for the alias. It seems to work, however I can add any address I want as another identity even non existent ones and they still send. The headers of the email always show:
    Received: from mydomain.com (localhost [127.0.0.1]) (Authenticated sender: [email protected])
    The From address will still show as the alias or non-existent address.

    Questions are: is this the correct way to send from an alias? Is there a way to lock down postfix so that it will not allow sending emails for non-existent or aliases that are not linked to the account you are authenticated as?

    Thanks in advance
     
  2. Steini86

    Steini86 Active Member

    It is probably a bit late, but for the others:
    Yes
    Activate: System -> Server Config -> Mail -> Reject sender and login mismatch
     
  3. snoop168

    snoop168 New Member

    Thanks! That worked... For some reason though when I first toggled the setting and waited for the cron to update the settings it didnt work... I toggled the setting back off and compared both versions of my main.cf file (from when the setting was on, and turned back off). Strangely both files were identical... I toggled the setting back on and viola it worked as expected and diff reported that the files now had some differences... Not sure why it didn't update initially....
     

Share This Page