]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Adding passfile concept for dovecot
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Sun, 22 Jun 2025 17:39:24 +0000 (13:39 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Sun, 22 Jun 2025 17:39:24 +0000 (13:39 -0400)
Makefile
Makefile.dist
conf/passfile [new file with mode: 0644]
mailleur.spec.in

index b046a8fab6c9c3d1feb8fd2a72afea9ea177b7f6..88fbbbba222c8efdd693afa5e954eb7c16934665 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -207,6 +207,7 @@ install     :
                $(DESTDIR)/$(SBINDIR)/
           @ cp -a                                      \
                conf/$(APPN).conf                       \
+               conf/passfile                           \
                $(DESTDIR)/$(ETCDIR)/$(APPN)
           @ cp -a                                      \
                certs/root-safe_CA.pem                  \
index 5503a9cfb524e28b1a7730b4b685dbba4f5956b1..be8613e6efe2aed88d51b45c104c7d38cde3eb17 100644 (file)
@@ -45,7 +45,10 @@ tarfile      : clean
          @ cp -a                                               \
                certs/root-safe_CA.pem                          \
                $(APLV)/certs/
-         @ cp -a conf/*.conf   $(APLV)/conf/
+         @ cp -a                                               \
+               conf/*.conf                                     \
+               passfile                                        \
+               $(APLV)/conf/
          @ cp -a lib/{*.c,*.h} $(APLV)/lib/
          @ cp -a linux/*       $(APLV)/linux/
          @ cp -a                                               \
diff --git a/conf/passfile b/conf/passfile
new file mode 100644 (file)
index 0000000..8c25b06
--- /dev/null
@@ -0,0 +1,3 @@
+#This file is an EXAMPLE to be use with dovecot to access email
+user1:$6$qP9m5SFKn/ao8T4i$7mh4DGmfOnttbJjKnRQhFj550aPGlTDKoPUbKMzFB1KVqkjJvKaV2hu1I1Q7JdUhvR3/W530DmKUuMYsPWMWl.:
+user2:!:
index 87f808c1b6afc0b46a5afea131a35c1dee9dda19..ba1f4ebcf42cc9b8bc42226249cfab9f2293f311 100644 (file)
@@ -31,7 +31,8 @@ search about email exchange within time and transaction context.
 #-----------------------------------------------------------------------------
 %files                 
 %defattr(-,root,root,-)
-%attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/%{name}/*
+%attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
+%attr(0640,%{name},mail) %config(noreplace) %{_sysconfdir}/%{name}/passfile
 %attr(0755,root,root) %{_datadir}/%{name}/linux/osukiss/receiver
 %attr(0755,root,root) %{_datadir}/%{name}/linux/osukiss/sorter
 %attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/pki/%{name}/*