[BlueOnyx:27299] Re: Error sending mail with PHP script.

Colin Jack colin at mainline.co.uk
Sat Oct 26 05:03:12 -05 2024


Morning Michael,

> You something out of whack there, Colin. This is what you ought to have 
>in /etc/mailman/:

Not sure what is going on. This was a brand new 5210R CT from fresh template... and then migrated the vsites from 5209R.

> [root at 5210r ~]# ls -la /etc/mailman/
> insgesamt 80
>  drwxr-xr-x 3 root mailman 4096 3. Okt 03:09 .
> drwxr-xr-x. 205 root root 20480 25. Okt 01:34 ..
> -rw-rw-r-- 1 root mailman 3551 3. Okt 03:09 aliases
> -rw-rw-r-- 1 mailman mailman 12288 3. Okt 03:09 aliases.db
> -rw-r--r-- 1 root mailman 4072 3. Okt 03:09 mm_cfg.py
> -rw-r--r-- 1 root mailman 14103 21. Jun 18:19 sitelist.cfg
> drwxr-xr-x 42 root mailman 4096 21. Jun 18:19 templates
> -rw-rw-r-- 1 root mailman 2101 3. Okt 03:09 virtual-mailman
> -rw-rw-r-- 1 mailman mailman 12288 3. Okt 03:09 virtual-mailman.db

This is what I get

[root at broadwater mailman]# ls -la /etc/mailman/
total 48
drwxr-xr-x   3 root mailman  4096 Oct 25 19:51 .
drwxr-xr-x 127 root root    12288 Oct 25 14:50 ..
-rw-r--r--   1 root mailman  3965 Oct 25 14:12 mm_cfg.py
-rw-r--r--   1 root mailman 14103 Jun 22 02:40 sitelist.cfg
drwxr-xr-x  42 root mailman  4096 Jul 16 10:25 templates
-rw-rw-r--   1 root mailman     0 Sep 14 09:57 virtual-mailman
-rw-r-----   1 root root    12288 Oct 25 19:51 virtual-mailman.db

Odd that it doesn't recognise the newaliases command?

> Try this:

> touch /etc/mailman/aliases
> chown root:mailman /etc/mailman/aliases
> chmod 664 /etc/mailman/aliases
> makemap hash /etc/mailman/aliases < /etc/mailman/aliases

I'll have a tidy up using your suggestion.

All the best

Colin




More information about the Blueonyx mailing list