Dan Mahoney via Postfix-users:
> Hey there all,
> 
> I'm setting up a staging version of dayjob?s ticket system, and
> we?d basically like postfix to still function, but instead of
> touching the internet at all, just deliver everything to a single
> file (or a maildir, I suppose), regardless of if a file is invoked
> via sendmail, or a port 25 connection.  I?d like nothing to leave
> the box.
> 
> Is there some kind of transport hack I can use for this?

The local delivery agent comes to mind. It delivers to files or maildirs

- It is the default setting for "local_transport".

- It delivers by default to the system mail spool directory
https://www.postfix.org/postconf.5.html#mail_spool_directory

- It can deliver to the user's home directry
https://www.postfix.org/postconf.5.html#home_mailbox

And it can deliver to any file that is writable by the default user
https://www.postfix.org/aliases.5.html
https://www.postfix.org/postconf.5.html#default_privs
https://www.postfix.org/local.8.html

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to