alexeyshockov / postman-bundle
Mail handling for Symfony 2
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 0
Open Issues: 2
Type:symfony-bundle
Requires
- php: >=5.3.2
- alexeyshockov/clock: >=0.1.0
- alexeyshockov/colada: 1.0.*
- symfony/monolog-bundle: *
- willdurand/email-reply-parser: 1.0.*
- zetacomponents/mail: dev-master
This package is auto-updated.
Last update: 2020-02-05 23:22:57 UTC
README
Goal
Foundation for mail handling (like Symfony's core HttpFoundation for HTTP).
Installation
Usage
Define pipelining mail from your MTA to Symfony's console command. In Exim 4 this may be done by router
# /etc/exim4/conf.d/router/postman
postman:
debug_print = "R: postman for $local_part@$domain"
driver = accept
transport = postman_pipe
and transport
# /etc/exim4/conf.d/transport/postman
postman_pipe:
debug_print = "T: postman_pipe for $local_part@$domain"
driver = pipe
return_fail_output
# Failure to exec is treated specially, and causes the message to be frozen.
freeze_exec_fail
path = "/bin:/usr/bin:/usr/local/bin"
command = "/usr/bin/php /var/www/app/app/console -e=prod postman:mail:handle"
user = www-data
group = www-data
umask = 022