Body: <p>CiviCRM 5.14.0</p>
  
  <p>I have bounce processing working fine but I am trying to track replies. Replies are sent using a VERP address and are being received in the correct mailbox as defined in the CiviMail Administer/CiviMail/Mail Accounts settings. </p>
  
  <p>I run the Process Bounces job and I expect to see an entry in the activities for anyone who replies to the email but I only see the outgoing mail under the type BULK EMAIL. The replies are correctly being moved from the Inbox to the Processed folder that CiviCRM created.</p>
  
  <p><strong>Replies are being counted correctly in the report for the mailing but are not being added to the contacts' activities.</strong></p>
  
  <p>There is a setting under System Administration/CiviMail/CiviCRM Component Settings that seems to be in error. If it is checked, it disables VERP replies. Leaving it unchecked causes replies to use VERP. This seems to be a bug.</p>
  
  <p><a href="https://i.sstatic.net/2AMMc.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/2AMMc.png" alt="enter image description here"></a></p>
  
  <p><strong>A Workaround</strong></p>
  
  <p>As I have access to the Postfix server, I was able to move the processed emails from the "Bouncer" mailbox to the Inbox of the "Activities" mailbox then run the fetch-activities job. This successfully processed the replies and inserted them in the activities table.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-02T16:14:56.453Z
Comments.Text: I have noticed that the report is showing there were no replies, however, I have replied and the reply was received in the default mailbox.
Comments.UserDisplayName: Vietyank
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-04T14:28:01.460Z
Comments.Text: were you able to look at the email address that it sent to did it have -r or similar in there and i actually think what you might want to do is run the bounce processor job not the inbound email job
Comments.UserDisplayName: Seamus Lee
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-04T16:07:19.740Z
Comments.Text: Seamus Lee: we did discuss this in Mattermost. I did not subscribe to the two folders CiviMail created, "processed" and "ignored". One I did, the replies were reported in the CiviMail report for the mailing. They are still not being recorded in the activities for the contacts that replied.
Comments.UserDisplayName: Vietyank
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-04T16:08:18.213Z
Comments.Text: I was confused but subsequently learned that it is the process bounces job that processed the replies, not the process inbound email.
Comments.UserDisplayName: Vietyank
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-05T01:26:29.827Z
Comments.Text: Received in Mattermost;
  
  @dmgray0325 that will happen if the following occurs
  
  The reply eventually ends up in the email to activity IMAP mailbox
  the process incoming email happens.
  Perhaps if you can if you can set up a rule in your email handling that moves an email with -r or -reply in the to email from the Bounce Mailboxe's processed folder to the email to activity  mailbox
Comments.UserDisplayName: Vietyank
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-05T01:32:08.133Z
Comments.Text: The last comment offers a partial solution. I believe CiviCRM should do this automatically.
  
  I move the mail from /var/mail/vhosts/vietfeir.com/civimail/.INBOX.civimail.processed to /var/mail/vhosts/vietfeir.com/activities/cur 
  
  I then ran the Process Inbound Emails job and the mails were moved to the Process folder and were recorded as Activities successfully. The activity type is Inbound Email and viewing it shows the content of the reply
Comments.UserDisplayName: Vietyank
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-05T01:35:07.670Z
Comments.Text: This, of course, is not ideal. I manage my own Postfix server so I can write a script to move the mails and then let fetch-activities handle the rest. I believe this all should be handled by CiviCRM and, when I used Sparkpost, it handled it like I expected. At this time, I do not want to use Sparkpost. 
  
  This is still an open question: Why doesn't CiviCRM handle this properly?
Comments.UserDisplayName: Vietyank
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-05T04:28:19.583Z
Comments.Text: Just to summarise - your issue is that replies are being counted in the report but not being added as activities?
Comments.UserDisplayName: Luke Stewart
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-05T19:00:05.833Z
Comments.Text: Yes, Luke. I'll update the original question to clarify that I
Comments.UserDisplayName: Vietyank
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-04-26T10:30:32.707Z
Comments.Text: I have the same issue on 5.48.2. I don't understand if whether there is a way to solve it in CiviCRM or how to do it.
  I would expect the fetch_bounces job to create the task.
  The forward-to doesn't work for me either....
Comments.UserDisplayName: masetto
Tags: <civimail>
Title: Cannot get replies to show up in activities
ThreadText: # Cannot get replies to show up in activities
  
  (Asked by: username_0 on 2019-06-28)
  
  CiviCRM 5.14.0
  
  I have bounce processing working fine but I am trying to track replies. Replies are sent using a VERP address and are being received in the correct mailbox as defined in the CiviMail Administer/CiviMail/Mail Accounts settings.
  
  I run the Process Bounces job and I expect to see an entry in the activities for anyone who replies to the email but I only see the outgoing mail under the type BULK EMAIL. The replies are correctly being moved from the Inbox to the Processed folder that CiviCRM created.
  
  **Replies are being counted correctly in the report for the mailing but are not being added to the contacts' activities.**
  
  There is a setting under System Administration/CiviMail/CiviCRM Component Settings that seems to be in error. If it is checked, it disables VERP replies. Leaving it unchecked causes replies to use VERP. This seems to be a bug.
  
  [![enter image description here](https://i.sstatic.net/2AMMc.png)](https://i.sstatic.net/2AMMc.png)
  
  **A Workaround**
  
  As I have access to the Postfix server, I was able to move the processed emails from the "Bouncer" mailbox to the Inbox of the "Activities" mailbox then run the fetch-activities job. This successfully processed the replies and inserted them in the activities table.
  
  **Tags:** civimail
  
  > **Comments:**
  > **username_0**: I have noticed that the report is showing there were no replies, however, I have replied and the reply was received in the default mailbox.  
  > **username_1**: were you able to look at the email address that it sent to did it have -r or similar in there and i actually think what you might want to do is run the bounce processor job not the inbound email job  
  > **username_0**: username_1: we did discuss this in Mattermost. I did not subscribe to the two folders CiviMail created, "processed" and "ignored". One I did, the replies were reported in the CiviMail report for the mailing. They are still not being recorded in the activities for the contacts that replied.  
  > **username_0**: I was confused but subsequently learned that it is the process bounces job that processed the replies, not the process inbound email.  
  > **username_0**: Received in Mattermost;  @dmgray0325 that will happen if the following occurs  The reply eventually ends up in the email to activity IMAP mailbox the process incoming email happens. Perhaps if you can if you can set up a rule in your email handling that moves an email with -r or -reply in the to email from the Bounce Mailboxe's processed folder to the email to activity  mailbox  
  > **username_0**: The last comment offers a partial solution. I believe CiviCRM should do this automatically.  I move the mail from /var/mail/vhosts/vietfeir.com/civimail/.INBOX.civimail.processed to /var/mail/vhosts/vietfeir.com/activities/cur   I then ran the Process Inbound Emails job and the mails were moved to the Process folder and were recorded as Activities successfully. The activity type is Inbound Email and viewing it shows the content of the reply  
  > **username_0**: This, of course, is not ideal. I manage my own Postfix server so I can write a script to move the mails and then let fetch-activities handle the rest. I believe this all should be handled by CiviCRM and, when I used Sparkpost, it handled it like I expected. At this time, I do not want to use Sparkpost.   This is still an open question: Why doesn't CiviCRM handle this properly?  
  > **username_2**: Just to summarise - your issue is that replies are being counted in the report but not being added as activities?  
  > **username_0**: Yes, username_2. I'll update the original question to clarify that I  
  > **username_3**: I have the same issue on 5.48.2. I don't understand if whether there is a way to solve it in CiviCRM or how to do it. I would expect the fetch_bounces job to create the task. The forward-to doesn't work for me either....  
  
  ---
  
  ## 0 answers
  
  