Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ingest email via something other than IMAP #80

Closed
ptman opened this issue Nov 4, 2018 · 11 comments
Closed

Ingest email via something other than IMAP #80

ptman opened this issue Nov 4, 2018 · 11 comments
Labels
help wanted Extra attention is needed

Comments

@ptman
Copy link

ptman commented Nov 4, 2018

E.g. a webhook so that one could write a really small piece of software to deliver email from the MTA without having to have an IMAP account set up.

@freescout-helpdesk
Copy link
Contributor

IMAP is used to fetch emails from the mailbox (not to send).
Can you give an example of the software?

@dabeeeenster
Copy link

Support for things like Mailgun incoming mail webhooks would be perfect

@ptman
Copy link
Author

ptman commented Nov 4, 2018

Sure. Say you're running postfix. You can add pipe commands to aliases -files or ~/.forward:

# /etc/aliases
mymailinglist: |/usr/local/bin/command-that-processes-mail --mailing-list-name mymailinglist
# ~/.forward
|/usr/local/bin/command-that-processes-mail --mailing-list-name myusername

@freescout-helpdesk freescout-helpdesk added the help wanted Extra attention is needed label Nov 4, 2018
@mattsims
Copy link

mattsims commented Mar 6, 2019

@freescout-helpdesk I'm up for the challenge, can you assign this task to me?

@freescout-helpdesk
Copy link
Contributor

You are welcome to implement it.

@freescout-helpdesk
Copy link
Contributor

Implementation using https://github.com/beyondcode/laravel-mailbox will add several extra dependencies, so it would be better to implement it as a module.

#254

@mattsims
Copy link

mattsims commented Apr 2, 2019

No problem. Is there any documentation on creating modules? Or should I just examine an existing module?

What were your thoughts on a Laravel v5.7 compatible release? As would still need this even if the new functionality is introduced via a module.

@freescout-helpdesk
Copy link
Contributor

Upgrading to Laravel v5.7 is not planned for now. You will need to make chosen package working on Laravel v5.7.

@iPublicis
Copy link

No problem. Is there any documentation on creating modules? Or should I just examine an existing module?

Thanks for getting forward on this.

Piping email with Laravel example at https://www.sitepoint.com/piping-emails-laravel-application/
Sample module for FreeScout at https://github.com/freescout-helpdesk/SampleModule

@iPublicis
Copy link

Hi @mattsims. Any news on this front?

@freescout-helpdesk
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants