Postfix/postdrop: w...
 
Notifications
Clear all

[Solved] Postfix/postdrop: warning: mail_queue_enter: create file maildrop/763053.2510: Read-only file system

3 Posts
2 Users
0 Reactions
403 Views
(@rjorodrigues)
Joined: 6 months ago
Posts: 3
Topic starter  

Scenario:

Ubuntu 22.04.4 LTS

Carbonio Release 24.5.0

DKIM + DMARC + DNS Cache + GUI + NAT + Fail2Ban

Everything working correctly behind a Fortgate firewall with nat on the email and webmail ports.

 

Question (1): I notice two things that intrigue me regarding the "warning" in the log below.

Jul 9 14:21:54 batmx002 postfix/postdrop[2510]: warning: mail_queue_enter: create file maildrop/762695.2510: Read-only file system

 

Justification:

What's wrong with these claimed permissions?

root@batmx002:/opt/zextras# ls -ld ./data/postfix/spool/maildrop
drwxr-s--T 2 postfix postdrop 4096 jul 9 13:40 ./data/postfix/spool/maildrop
root@batmx002:/opt/zextras# ls -ld ./data/postfix/spool/private/maildrop
srw-rw-rw- 1 postfix postfix 0 jul 9 14:07 ./data/postfix/spool/private/maildrop
root@batmx002:/opt/zextras# ls -ld ./data/postfix/spool/public/
drwx-ws--- 2 postfix postdrop 4096 jul 9 14:07 ./data/postfix/spool/public/

 

Question(2):
Is this behavior of connecting, disconnecting, loss of connection as listed below normal?

Jul 9 14:21:46 batmx002 postfix/postscreen[6108]: CONNECT from [127.0.0.1]:32798 to [127.0.0.1]:25
Jul 9 14:21:46 batmx002 postfix/postscreen[6108]: ALLOWLISTED [127.0.0.1]:32798
Jul 9 14:21:46 batmx002 postfix/smtpd[15001]: connect from localhost[127.0.0.1]
Jul 9 14:21:46 batmx002 postfix/smtpd[15001]: lost connection after CONNECT from localhost[127.0.0.1]
Jul 9 14:21:46 batmx002 postfix/smtpd[15001]: disconnect from localhost[127.0.0.1] commands=0/0
Jul 9 14:21:54 batmx002 postfix/postdrop[2510]: warning: mail_queue_enter: create file maildrop/762695.2510: Read-only file system
Jul 9 14:21:55 batmx002 postfix/postscreen[6108]: CONNECT from [127.0.0.1]:54242 to [127.0.0.1]:25
Jul 9 14:21:55 batmx002 postfix/postscreen[6108]: ALLOWLISTED [127.0.0.1]:54242
Jul 9 14:21:55 batmx002 postfix/smtpd[15001]: connect from localhost[127.0.0.1]
Jul 9 14:21:55 batmx002 postfix/smtpd[15001]: lost connection after CONNECT from localhost[127.0.0.1]
Jul 9 14:21:55 batmx002 postfix/smtpd[15001]: disconnect from localhost[127.0.0.1] commands=0/0
Jul 9 14:22:04 batmx002 postfix/postdrop[2510]: warning: mail_queue_enter: create file maildrop/762839.2510: Read-only file system
Jul 9 14:22:05 batmx002 postfix/postscreen[6108]: CONNECT from [127.0.0.1]:48588 to [127.0.0.1]:25
Jul 9 14:22:05 batmx002 postfix/postscreen[6108]: ALLOWLISTED [127.0.0.1]:48588
Jul 9 14:22:05 batmx002 postfix/smtpd[15001]: connect from localhost[127.0.0.1]
Jul 9 14:22:05 batmx002 postfix/smtpd[15001]: lost connection after CONNECT from localhost[127.0.0.1]
Jul 9 14:22:05 batmx002 postfix/smtpd[15001]: disconnect from localhost[127.0.0.1] commands=0/0
Jul 9 14:22:07 batmx002 /postfix-script[15291]: the Postfix mail system is running: PID: 5745
Jul 9 14:22:14 batmx002 postfix/postdrop[2510]: warning: mail_queue_enter: create file maildrop/763053.2510: Read-only file system
Jul 9 14:22:15 batmx002 postfix/postscreen[6108]: CONNECT from [127.0.0.1]:33006 to [127.0.0.1]:25
Jul 9 14:22:15 batmx002 postfix/postscreen[6108]: ALLOWLISTED [127.0.0.1]:33006
Jul 9 14:22:15 batmx002 postfix/smtpd[15001]: connect from localhost[127.0.0.1]
Jul 9 14:22:15 batmx002 postfix/smtpd[15001]: lost connection after CONNECT from localhost[127.0.0.1]
Jul 9 14:22:15 batmx002 postfix/smtpd[15001]: disconnect from localhost[127.0.0.1] commands=0/0
Jul 9 14:22:20 batmx002 zmconfigd[2010]: Fetching All configs
Jul 9 14:22:20 batmx002 zmconfigd[2010]: All configs fetched in 0.04 seconds
Jul 9 14:22:24 batmx002 zmconfigd[2010]: Command not defined for directory-server
Jul 9 14:22:24 batmx002 /postfix-script[15610]: the Postfix mail system is running: PID: 5745
Jul 9 14:22:24 batmx002 postfix/postdrop[2510]: warning: mail_queue_enter: create file maildrop/763204.2510: Read-only file system
Jul 9 14:22:24 batmx002 zmconfigd[2010]: Command not defined for service-discover
Jul 9 14:22:25 batmx002 postfix/postscreen[6108]: CONNECT from [127.0.0.1]:48772 to [127.0.0.1]:25
Jul 9 14:22:25 batmx002 postfix/postscreen[6108]: ALLOWLISTED [127.0.0.1]:48772
Jul 9 14:22:25 batmx002 postfix/smtpd[15001]: connect from localhost[127.0.0.1]
Jul 9 14:22:25 batmx002 postfix/smtpd[15001]: lost connection after CONNECT from localhost[127.0.0.1]
Jul 9 14:22:25 batmx002 postfix/smtpd[15001]: disconnect from localhost[127.0.0.1] commands=0/0
Jul 9 14:22:25 batmx002 zmconfigd[2010]: Watchdog: service antivirus status is OK.
Jul 9 14:22:25 batmx002 zmconfigd[2010]: All rewrite threads completed in 0.00 sec
Jul 9 14:22:25 batmx002 zmconfigd[2010]: All restarts completed in 0.00 sec


   
Quote
(@stefanodavid)
Joined: 3 years ago
Posts: 227
 

1) not easy to understand where the problem is, permissions are hierarchically inherited, so you should check not only the  permissions on the file, but on the directory. Make also sure that the filesystem on which /opt is mounted has correct permissions (output of mount should include rw).

 

2) I'm no expert of postfix/postscreen, but I think this problem can be related to 1) and it may fix itself if you fix the first one


   
ReplyQuote
(@rjorodrigues)
Joined: 6 months ago
Posts: 3
Topic starter  

[Solved]

The problem in this case was in the permissions for netdata.
chown -R netdata:adm /var/log/netdata
chmod 755 /var/log/netdata


   
ReplyQuote