init
Signed-off-by: Nico Schottelius <nico@manager.schottelius.org>
This commit is contained in:
parent
256dc98754
commit
df2daf524d
641 changed files with 140617 additions and 12 deletions
16
postgresfixmailneu.sh
Normal file
16
postgresfixmailneu.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ "$#" -eq 2 ] || exit 1
|
||||
|
||||
user="$1"
|
||||
domain="$2"
|
||||
password="$3"
|
||||
|
||||
base=/home/server/mail
|
||||
|
||||
maildirmake.dovecot
|
||||
|
||||
cat << eof
|
||||
insert into mailboxes values ('$user','$domain','$password','$domain/$user',1,1)
|
||||
eof | psql mail
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue