Save all emails which are sent from my server

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

  1. pecka33

    pecka33 Member

    Hello,

    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
    Code:
    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
    Code:
    postfix save copy of sent mail
    or
    Code:
    postfix save copy of sent mail site:howtoforge.com
     
    ahrasis likes this.
  3. pecka33

    pecka33 Member

Share This Page