View Issue Details

IDProjectCategoryView StatusLast Update
0015336phpList 3 applicationAttachmentspublic21-06-18 13:00
Reportercazzani 
PrioritynormalSeveritytextReproducibilityalways
Status newResolutionopen 
Product Version2.10.10 
Target VersionFixed in Version 
Summary0015336: when processing queues PHPlist does not attach the file uploaded, it attaches the file only in test messages
DescriptionI can regularly upload the file during message preparation and when I send me a test message, I receive it correctly.

However, when the same message is queued for delivery, no attachments is being sent. Messages are received without attachments and as administrator I receive error messages stating:
Error, when trying to send message xx the attachment
              yyyyy could not be found
Additional InformationPHPList 2.10.10 running on Linux centos-5-x86 virtual machine.

Sequence of event I tried:
- I uploaded the file to be attached: 0803_NI_DAQ_USB_6821.gif

- I checked it is the correct attachments repository configured, diectory /tmp, outside the web space, which has the following permission:
 tmp <dir> Sep 18, 2009 02:04:52 PM drwxrwxrwt root root

- Two files are actually there created by PHPlist after upload:
0803_NI_DAQ_USB_68219EnYwd 0.00 kb Sep 18, 2009 02:04:52 PM -rw------- apache apache
0803_NI_DAQ_USB_68219EnYwd.gif 12.22 kb Sep 18, 2009 02:04:52 PM -rw-r--r-- apache apache

- I noticed that PHPlist web space is using in using a different account:
admin.php 8.95 kb Jun 19, 2009 11:42:24 AM -rw-r--r-- joomlaftp psacln

I therefore thought that some permissione problem could be an issue, so I tried to set CHMOD 777 on the two files uploaded, but the end result is still the same:
file is attached in test messages, but when queued it is not attached and I get the message:
Error, when trying to send message 58 the attachment
              0803_NI_DAQ_USB_6821.gif could not be found
Tagsdocumentation

Activities

cazzani

21-09-09 15:49

reporter   ~0050739

I also notices that if the queues are processed manually, they attachments are sent correctly.

Instead, if the queues are processed periodically through a cron job, the attachments are NOT sent.

cazzani

22-09-09 11:24

reporter   ~0050740

As a workaround, I moved the attachments repository inside the web space in a new directory owned by the web space account (joomlaftp) with CHMOD 777

michiel

06-05-11 19:10

manager   ~0051286


and you're sending the queue with a cron?

sounds like a permissions problem, and the alert email is telling you about it, so afaict it's all ok. Eventually, we can't know whether we have access to the attachments at send time.

cazzani

09-05-11 08:32

reporter   ~0051290

Yes, using cron job.

michiel

12-05-11 18:18

manager   ~0051331


marking for documentation, as it's mostly a configuration issue to be aware of

-> make sure that the commandline user has access to the attachment repository

the phpList functionality is fine, as it sends out an alert for not having access to it, which should help to discover the issue when it happens. Apart from that, there's little we can do.