Quote:
Originally Posted by chickenjoy
Hi Can anyone point me to the right direction on how to configure postfix to do what i want?
I need a simple SMTP server to run and accept emails and store the messages in .EML format in one location. Nothing else; no emails will be sent out. and it will only receive emails over SMTP port 25 over a LAN. there will only be one email address and any email address will do.
|
Ok, so the Postfix documentation covers how to do a simple set-up. Many, MANY setup guides on how to do basic Postfix configuration:
https://help.ubuntu.com/community/Po...asicSetupHowto
http://www.postfix.org/BASIC_CONFIGURATION_README.html
Quote:
most of the guides i see also instructs to install squirrelmail (and apache) which I don't need. Just need the email dumped into a folder in .EML format.
|
Well, if you don't need squirrelmail or apache, then just don't install them??? Seems simple enough. You don't say what version/distro of Linux you're using, or what your goal is in having .EML format, versus maildir, but you can use procmail to get messages into .EML.
If you want this only for a specific user, create that user a ~/.procmailrc file, containing:
Code:
DEFAULT=/some/path/to/eml/filestorage/
And add to /etc/postfix/main.cf
Code:
mailbox_command = /path/to/procmail
Restart postfix. That's it.