Skip to Content.
Sympa Menu

en - Re: [sympa-users] [External] RE: Permission denied

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Silvers, Tim" <address@concealed>
  • To: LOURDES REBOLLAR REIER <address@concealed>, "Stefan Hornburg (Racke)" <address@concealed>, "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] [External] RE: Permission denied
  • Date: Wed, 24 Oct 2018 12:57:41 +0000

Which user are you running the 'mailq' commands under? And which user is
postfix running under? Look at the 'mail_owner' value in the main.cf file.
You have only granted the 'sympa' user permissions to many of the directories
under /var/spool/sympa/. What are the permissions on /var/spool/ and
/var/spool/sympa/? That may be the issue.


Tim


On 10/24/18, 2:44 AM, "address@concealed on behalf of
LOURDES REBOLLAR REIER" <address@concealed on behalf of
address@concealed> wrote:

This message was sent from a non-IU address. Please exercise caution when
clicking links or opening attachments from external sources.
-------

Hello,

Thank you for you answer, I have search that file but That file doesn't
exist in the queue directories,

# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
15C30608AD 6382 Wed Oct 24 08:38:16 address@concealed
(temporary failure. Command output: /usr/libexec/sympa/queue: while
opening
queue file 'address@concealed': Permission denied)
address@concealed

-- 6 Kbytes in 1 Request.

#ls -l /var/spool/sympa/*
/var/spool/sympa/automatic:
total 0

/var/spool/sympa/bounce:
total 0
drwxr-x---. 2 sympa sympa 94 oct 18 11:01 bad

/var/spool/sympa/bulk:
total 0
drwxr-x---. 4 sympa sympa 28 oct 10 13:51 bad
drwxr-x---. 2 sympa sympa 6 oct 18 13:47 msg
drwxr-x---. 2 sympa sympa 6 oct 18 13:47 pct

/var/spool/sympa/digest:
total 0

/var/spool/sympa/msg:
total 0
drwxr-x---. 2 sympa sympa 94 oct 18 11:01 bad

/var/spool/sympa/outgoing:
total 0
drwxr-x---. 2 sympa sympa 6 oct 10 13:51 bad

/var/spool/sympa/task:
total 40
-rw-r-----. 1 sympa sympa 217 oct 17 13:52
1540381940.ACTION.process_bouncers._global
-rw-r-----. 1 sympa sympa 111 oct 23 13:56
1540382199.ACTION.eval_bouncers._global
-rw-r-----. 1 sympa sympa 365 oct 23 13:56
1540382199.ACTION.expire_bounce._global
-rw-r-----. 1 sympa sympa 108 oct 23 13:56
1540382199.ACTION.purge_logs_table._global
-rw-r-----. 1 sympa sympa 122 oct 23 13:56
1540382199.ACTION.purge_one_time_ticket_table._global
-rw-r-----. 1 sympa sympa 118 oct 23 13:56
1540382199.ACTION.purge_session_table._global
-rw-r-----. 1 sympa sympa 120 oct 23 13:56
1540382199.ACTION.purge_spools._global
-rw-r-----. 1 sympa sympa 116 oct 23 13:56
1540382199.ACTION.purge_tables._global
-rw-r-----. 1 sympa sympa 136 oct 10 13:52
1541850735.ACTION.purge_orphan_bounces._global
-rw-r-----. 1 sympa sympa 124 oct 10 13:52
1541850735.ACTION.purge_user_table._global

/var/spool/sympa/tmp:
total 0

what are we doing wrong?

Best regards

Lourdes

-----Mensaje original-----
De: address@concealed
[mailto:address@concealed] En nombre de Stefan
Hornburg
(Racke)
Enviado el: martes, 23 de octubre de 2018 16:47
Para: address@concealed
Asunto: Re: [sympa-users] Permission denied

On 10/23/18 2:20 PM, LOURDES REBOLLAR REIER wrote:
> Hello,
>
>
>
> We had installed Sympa 6.2.37b.1 with Postfix 2.10.1 (Single domain
> setting) and RedHat 7.5. Everything is ok now but when we sent a mail
> to address@concealed <mailto:address@concealed> with subject help to
> test the installation , the mail is queued and we get the following
error:
>
>
>
> # mailq
>
> -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
>
> AA2776B41D 6378 Tue Oct 23 13:56:18 address@concealed
> <mailto:address@concealed>
>
> (temporary failure. Command output: /usr/libexec/sympa/queue: while
> opening queue file
> 'address@concealed': Permission denied)
>
> address@concealed
> <mailto:address@concealed>
>
>
>
> the queue executable file has the following security:
>
>
>
> # ls -l /usr/libexec/sympa/queue
>
> -rwsr-xr-x. 1 sympa sympa 24152 oct 6 12:51 /usr/libexec/sympa/queue

What are the permissions of the queue file
address@concealed?

Regards
Racke

>
>
>
> And the aliases file is :
>
>
>
>
>
> # more /etc/sympa/aliases.sympa.postfix
>
> # Robot aliases for Sympa.
>
> sympa: "| /usr/libexec/sympa/queue address@concealed
> <mailto:address@concealed>"
>
> listmaster: "| /usr/libexec/sympa/queue listmaster@
> xxxxx.ucm.es <http://xxxxx.ucm.es>"
>
> bounce: "| /usr/libexec/sympa/bouncequeue sympa@
> xxxxx.ucm.es <http://xxxxx.ucm.es>"
>
> abuse-feedback-report: "| /usr/libexec/sympa/bouncequeue sympa@
> xxxxx.ucm.es <http://xxxxx.ucm.es>"
>
> sympa-request: postmaster
>
> sympa-owner: postmaster
>
>
>
> Please any help? Must we modify master.cf <http://master.cf> file ?
>
>
>
> Looking forward to your answer & Best regards
>
>
>
> Lourdes Rebollar Reier
>
> -------------------------------------------------------
> Universidad Complutense
>
> Centro de Proceso de Datos
> Avda. Complutense S/N.
> 28040 Madrid
> Tel: +34-91-3944769
>
> Fax: +34-91-3944773
> E-mail:lrebollar at ucm es
>
> P *El consumo de papel es perjudicial para el medio ambiente. Por
> favor, téngalo en cuenta antes de imprimir este mensaje.*
>
> *Paper waste harms our environment. Please bear this in mind before
> printing this message. *
>
>
>
>
>
>
>


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.


Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.19+.

Top of Page