[SOLVED] postfix error

Issues related to applications and software problems
simon_lefisch
Posts: 67
Joined: 2017/07/12 21:02:02

[SOLVED] postfix error

Post by simon_lefisch » 2020/01/21 06:16:50

Hello everyone,

I am receiving a postfix error as shown in the pic below

Screen Shot 2020-01-20 at 9.55.18 PM.png
Screen Shot 2020-01-20 at 9.55.18 PM.png (56.91 KiB) Viewed 252 times

I have search all over for the "permission denied" part of the error but cannot find anything about it. All I see is the error with "No such file or directory." I'm at a bit of a loss here. Can anyone point me in the right direction? It looks to be a permissions issue for /var/spool/postfix/pickup but I don't know wha those are supposed to be. Tried "postfix set-permissions" but nothing.

Screen Shot 2020-01-20 at 10.05.28 PM.png
Screen Shot 2020-01-20 at 10.05.28 PM.png (28.91 KiB) Viewed 252 times

Hoping someone can shed a little light on what's going on. Happy to provide any extra need info. Thanks in advance :mrgreen:
Last edited by simon_lefisch on 2020/01/29 08:00:55, edited 1 time in total.
Hardware:
Supermicro X10SRi-F mobo
E5-2620v4 CPU
58GB RAM
2x 250GB SSD RAID1 (OS)
2x 4TB HDD RAID 1 (Storage)

User avatar
TrevorH
Forum Moderator
Posts: 27714
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: postfix error

Post by TrevorH » 2020/01/21 08:11:14

Run postfix set-permissions
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

simon_lefisch
Posts: 67
Joined: 2017/07/12 21:02:02

Re: postfix error

Post by simon_lefisch » 2020/01/21 15:10:40

TrevorH wrote:
2020/01/21 08:11:14
Run postfix set-permissions
Hi @Trevor, I already ran that and nothing (see the last couple lines of my post). Any other ideas? Is that pickup file supposed to be 0b?
Hardware:
Supermicro X10SRi-F mobo
E5-2620v4 CPU
58GB RAM
2x 250GB SSD RAID1 (OS)
2x 4TB HDD RAID 1 (Storage)

User avatar
TrevorH
Forum Moderator
Posts: 27714
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: postfix error

Post by TrevorH » 2020/01/21 15:15:53

I don't have a pickup file there at all.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

simon_lefisch
Posts: 67
Joined: 2017/07/12 21:02:02

Re: postfix error

Post by simon_lefisch » 2020/01/21 15:19:17

Hmm...interesting. I did look at my Samba/NFS server which is CentOS 7 as well and I also do not have that file. I do not have postfix installed on that filer server either, but yea....now I'm curious as to what is going on then.
Hardware:
Supermicro X10SRi-F mobo
E5-2620v4 CPU
58GB RAM
2x 250GB SSD RAID1 (OS)
2x 4TB HDD RAID 1 (Storage)

User avatar
KernelOops
Posts: 206
Joined: 2013/12/18 15:04:03
Location: xfs file system

Re: postfix error

Post by KernelOops » 2020/01/21 16:01:15

the pickup socket should be under /var/spool/postfix/public

look at your /etc/postfix/ configuration, maybe something points to the wrong location?

Code: Select all

srw-rw-rw-.  1 postfix postfix     0 Jan  6 15:22 cleanup
srw-rw-rw-.  1 postfix postfix     0 Jan  6 15:22 flush
srw-rw-rw-.  1 postfix postfix     0 Jan  6 15:22 pickup
srw-rw-rw-.  1 postfix postfix     0 Jan  6 15:22 qmgr
srw-rw-rw-.  1 postfix postfix     0 Jan  6 15:22 showq
--
I love my computer - all my friends live there.
--

simon_lefisch
Posts: 67
Joined: 2017/07/12 21:02:02

Re: postfix error

Post by simon_lefisch » 2020/01/21 16:09:37

KernelOops wrote:
2020/01/21 16:01:15
the pickup socket should be under /var/spool/postfix/public

look at your /etc/postfix/ configuration, maybe something points to the wrong location?

Code: Select all

srw-rw-rw-.  1 postfix postfix     0 Jan  6 15:22 cleanup
srw-rw-rw-.  1 postfix postfix     0 Jan  6 15:22 flush
srw-rw-rw-.  1 postfix postfix     0 Jan  6 15:22 pickup
srw-rw-rw-.  1 postfix postfix     0 Jan  6 15:22 qmgr
srw-rw-rw-.  1 postfix postfix     0 Jan  6 15:22 showq
I do have that there and the permissions are correct. Not sure why there is a pickup file under /var/spool/postfix. The thing is, I havent changed anything with postfix.
Hardware:
Supermicro X10SRi-F mobo
E5-2620v4 CPU
58GB RAM
2x 250GB SSD RAID1 (OS)
2x 4TB HDD RAID 1 (Storage)

simon_lefisch
Posts: 67
Joined: 2017/07/12 21:02:02

Re: postfix error

Post by simon_lefisch » 2020/01/22 21:43:33

Can anyone post the content and permissions of their postfix directory (/etc/postfix/....)? I'd like to compare it to mine. Also if you can post your /etc/postfix/main.cf so I can check that as well, that would be great. I need to get this issue resolved as I have a bunch of stuff that relies on sending out notifications....namely smartmontools/fail2ban/mdadm.

Also, of anyone else has any other ideas about how to fix this issue, that would be great. Thank you!!
Hardware:
Supermicro X10SRi-F mobo
E5-2620v4 CPU
58GB RAM
2x 250GB SSD RAID1 (OS)
2x 4TB HDD RAID 1 (Storage)

User avatar
TrevorH
Forum Moderator
Posts: 27714
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: postfix error

Post by TrevorH » 2020/01/22 22:00:40

Run rpm -V postfix and see what files have been changed.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

simon_lefisch
Posts: 67
Joined: 2017/07/12 21:02:02

Re: postfix error

Post by simon_lefisch » 2020/01/22 22:15:17

TrevorH wrote:
2020/01/22 22:00:40
Run rpm -V postfix and see what files have been changed.
Thanks @Trevor. Output of rpm -V postfix is:

Code: Select all

S.5....T.  c /etc/postfix/main.cf
I havent made any changes to that file
Hardware:
Supermicro X10SRi-F mobo
E5-2620v4 CPU
58GB RAM
2x 250GB SSD RAID1 (OS)
2x 4TB HDD RAID 1 (Storage)

Post Reply

Return to “CentOS 7 - Software Support”