Save all emails which are sent from my server

Discussion in 'Linux Beginners' started by pecka33, Apr 8, 2022.

  1. pecka33

    pecka33 Member


    i tried to find any soluition, but i cant. Is here any way how to save all emails sents from my server via smtp and phpmail function? Save completely email, now i use just
    sudo grep -a message-id /var/log/syslog
    or sent instead message-id
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    How is that grep command related to saving e-mails?
    I am not sure what you want, maybe not native language issue.
    If what you want is to postfix save a copy of every sent e-mail, try Internet Search Engines with
    postfix save copy of sent mail
    postfix save copy of sent mail
    ahrasis likes this.
  3. pecka33

    pecka33 Member

    Thank you. I used standard
    always_bcc = root@localhost
    in file.

Share This Page