Jump to content
  • 0

Can't Get Emails Imported As Tickets


SajanP

Question

Just installed Blesta and am working on getting emails imported as tickets, either by IMAP, POP3, or PIPING, don't care which.  Hoping someone here can lend a hand.

 

Some information;

 

1. Mail server is separate, Exim/Dovecot.

2. Blesta is installed on a separate server with NGINX/PHP5-FPM (everything is running awesome).

3. PHP Mailparse is successfully installed both via CLI and the FPM.

---------------------

When I try using IMAP + Cron

 

1. On the mail server, I don't see anything hit Dovecot...at all.

2. I go to Settings -> Automation and see a perpetual spinning, loading icon next to the 'Download Tickets' section where the 'Last Run' time is at.  I assume this implies that it is still working?  Again, I don't see anything hit the IMAP server.

---------------------

When I try using POP3 + Cron

 

- Same issues as IMAP + Cron.

---------------------

When I try to pipe the emails...

 

This is my preferred method.

 

1. Email sent to support@domain.com go to the mail server naturally.  From there the message is forwarded to support@portal.domain.com, which is the server that Blesta is installed at.  Postfix on this server accepts the message and successfully pipes the message into Blesta.  However, the client receives a 'Support Request Failed' email.  I am assuming this is happening because the mail was forwarded to support@portal.domain.com...except the message should still have support@domain.com in the To header so it should still work?

 

Edit: I can confirm that when the main Exim server forwards mail to the Blesta server, the To header in the message is not touched.  It does include the address Blesta expects.  So now I'm wondering why the Support Request Failed message goes out.

 

The department is NOT restricted to clients only, I'm using the right email address.  I've tried both piping paths.

---------------------

Sorry for the rambling.  I'm going to go to sleep and hopefully regain my wits in the morning.  In the meantime, if there are some obvious pitfalls I'm running into, please let me know.

 

Thanks!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

PHP Mailparse could be installed for CLI but not for other PHP, so install it also for the common PHP

 

example on my debian, I have 3:

/etc/php5/cli

/etc/php5/fpm

/etc/php5/cgi

 

 

so your php ini file for each must include the mailparse extension, and your php or server must be re-started

 

 

also, double check that your firewall allow port(s) you need for pop or imap, and are you using an anti-span because, if yes you need SPF DNS record and test that your email pass through DKIM, but even if you are not using an anti-span, your customer will, so you need to be ok with SPF & DKIM

 

 

SPF test:
---------
http://www.openspf.org/Why
http://www.kitterman.com/spf/validate.html
http://vamsoft.com/support/tools/spf-policy-tester


dkim test:
-------------
http://www.port25.com/support/authentication-center/email-verification/
http://www.brandonchecketts.com/emailtest.php
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...