summaryrefslogtreecommitdiff
path: root/conf-cc
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-09 11:44:11 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-09 11:44:11 +0200
commitf1b71c9fe7dbb4886588a036399cf5ebe16b7c47 (patch)
treee07786aa479c9fb6ee3e537078470aaab5454f80 /conf-cc
parenta293489ee83c8b05d845a162dc2a4de026f3775d (diff)
removed top level directory
Diffstat (limited to 'conf-cc')
-rw-r--r--conf-cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/conf-cc b/conf-cc
new file mode 100644
index 0000000..307ccfc
--- /dev/null
+++ b/conf-cc
@@ -0,0 +1,18 @@
+cc -O2 -Wall -Wno-narrowing -Iinclude -I`head -1 ../conf-qlibs`/include `head -1 ../conf-ssl` -I/usr/local/include
+
+# This will work for both i386 and AMD64 architecture enabling INET6 support.
+# IDN2 support is NOT enabled by default. You do not have 'libidns2' installed and set: -DIDN2
+
+# For obfuscation, you can hide the virtual user's local part for VERP addresses; inappropriate for VPOPMAIL:
+
+cc -O2 -Wall -Wno-narrowing -Iinclude -I`head -1 ../conf-qlibs`/include `head -1 ../conf-ssl` -DHIDEVIRTUALUSER
+
+# qmail-remote will bounce mails immediately, if no DNS record is found; or mail may stay in the queue until it expires:
+
+cc -O2 -Wall -Wno-narrowing -Iinclude -I`head -1 ../conf-qlibs`/include `head -1 ../conf-ssl` -DDEFERREDBOUNCES
+
+# security might be enhanced, using the following compiler flags:
+
+cc -Wall -pipe -z relro -z now -pie -fPIE -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -DIDN2
+
+# This is for gcc and with strong security in mind.