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

Michael Stauber mstauber at blueonyx.it
Fri Oct 25 21:37:07 -05 2024


Hi Colin,

> Still getting this error.
> 
> error: open database /etc/mailman/aliases.db: No such file or directory
> 
> No /etc/mailman/aliases text file
You something out of whack there, Colin. This is what you ought to have 
in /etc/mailman/:

[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

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

-- 
With best regards

Michael Stauber


More information about the Blueonyx mailing list