Correct markdown syntax in the READMEs

This commit is contained in:
Jeroen 2022-08-21 12:38:48 +02:00
parent f8f3e26488
commit 3071ceb6fd
Signed by: jeroen
GPG Key ID: 7C7028F783798BAB
2 changed files with 2 additions and 10 deletions

View File

@ -3,7 +3,7 @@
Fork of Postfix Admin 2.1.0 (released in 2007)
Database needed to use SQL with OpenSMTPD
```
CREATE DATABASE IF NOT EXISTS `opensmtpd` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `opensmtpd`;
@ -51,21 +51,18 @@ Database needed to use SQL with OpenSMTPD
`action` varchar(255) NOT NULL DEFAULT '',
`data` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='OpenSMTPD Admin - Log';
```
Config for OpenSMTPTD, MySQL/MariaDB example:
```
# cat /etc/mail/smtpd.conf
table credentials mysql:/etc/mail/sql.conf
table domains mysql:/etc/mail/sql.conf
table userinfo mysql:/etc/mail/sql.conf
table virtuals mysql:/etc/mail/sql.conf
```
Connecting the database to smtpd:
```
# cat /etc/mail/sql.conf
host localhost
username opensmtpd
@ -76,4 +73,3 @@ Connecting the database to smtpd:
query_credentials SELECT username, password FROM mailbox WHERE username=? AND active='1';
query_domain SELECT domain FROM domain WHERE domain=? AND active='1';
query_userinfo SELECT 501, 501, maildir FROM mailbox WHERE username=? AND active='1';
```

View File

@ -5,17 +5,13 @@ It provides OOO, Auto Response, Vacation capabilities to virtual users.
To invoke vacation.pl add the following to your /etc/mail/smtpd.conf:
```
filter filter-from proc-exec "vacation.pl"
```
When `vacation.pl` is located in: `/usr/local/libexec/smtpd`
It requires the following libraries to be installed for MariaDB:
```
pkg_add p5-DBI p5-DBD-MariaDB
```
You can run vacation.pl with the following flags: