LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2016, 12:15 PM   #1
kumarjohn
LQ Newbie
 
Registered: Oct 2012
Posts: 26

Rep: Reputation: Disabled
Thumbs up Configure postfix to deliver mail to particular directory locally


I want to setup postfix so that any outbound mails to admin@mydomain.com are stored locally in to /apps/mails_admin directory and each mail should have file name in YYYY-mm-dd hh.mm.ss.eml Format.

Please suggest me the configuration in postfix to achieve the same.

Best Regards,
KJ.
 
Old 11-10-2016, 12:27 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,330

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by kumarjohn View Post
I want to setup postfix so that any outbound mails to admin@mydomain.com are stored locally in to /apps/mails_admin directory and each mail should have file name in YYYY-mm-dd hh.mm.ss.eml Format.

Please suggest me the configuration in postfix to achieve the same.
We will suggest you read the "Question Guidelines" link in my posting signature...have you tried to read the Postfix documentation???

There is the smtp-sink piece: http://www.postfix.org/smtp-sink.1.html, set up always_bcc to go to a local address, which can then be renamed/copied with a script you write. There are MANY options. What have you done/tried so far?
 
  


Reply

Tags
postfix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix - Deliver mail locally and forward a copy ndc Linux - Software 1 04-25-2014 04:26 AM
mail server migration: howto deliver locally AND forward mail to new server pedrobl Linux - Server 1 01-22-2011 12:12 AM
Postfix Mail Server: cant deliver mail in Users Inbox madfed Linux - Server 1 06-14-2009 06:08 AM
Can't deliver mail (postfix) to local user wheel Linux - General 1 04-05-2006 08:45 AM
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration