0% found this document useful (0 votes)
80 views1 page

Sqmail Big Picture2

This document describes the configuration of a mail server using Qmail. It shows the different services running on specific ports for SMTP, POP3, injection, and local delivery. Scripts use the Qmail user and group IDs and execute Qmail binaries within the Qmail PATH. Services like SMTP, POP3, and injection use SSL/TLS encryption and authentication.

Uploaded by

Mark Fisher
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views1 page

Sqmail Big Picture2

This document describes the configuration of a mail server using Qmail. It shows the different services running on specific ports for SMTP, POP3, injection, and local delivery. Scripts use the Qmail user and group IDs and execute Qmail binaries within the Qmail PATH. Services like SMTP, POP3, and injection use SSL/TLS encryption and authentication.

Uploaded by

Mark Fisher
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

#!

/bin/sh
QMAILU=`id -u qmaild`
QMAILG=`id -g qmaild`
ESMTP #!/bin/sh Submission #!/bin/sh ESMTPS
QMAILU=`id -u qmaild` QMAILU=`id -u qmaild`
HOSTNAME=`hostname`
export UCSPITLS=""
Internet QMAILG=`id -g qmaild`
HOSTNAME=`hostname`
QMAILG=`id -g qmaild`
HOSTNAME=`hostname`
export QMAILQUEUE="bin/qmail-dkimverify" export SMTPAUTH="!+cram" export SMTPAUTH="+cram"
. /var/qmail/ssl/ssl.env . /var/qmail/ssl/ssl.env . /var/qmail/ssl/ssl.env
exec env PATH="/var/qmail/bin:$PATH" \ exec env PATH="/var/qmail/bin:$PATH" \ exec env PATH="/var/qmail/bin:$PATH" \
sslserver -seVn -Rp -l $HOSTNAME \
-Xx /var/qmail/control/rules.smtpd.cdb \ Unsolicited Reception sslserver -seVn -Rp -l $HOSTNAME \
-Xx /var/qmail/control/rules.sub.cdb \
sslserver -seV -Rp -l $HOSTNAME \
-Xx /var/qmail/control/rules.smtpsd.cdb \
-u $QMAILU -g $QMAILG 0 smtp \ Port 25 Port 465 Port 587 -u $QMAILU -g $QMAILG 0 submission \ -u $QMAILU -g $QMAILG 0 smtps \
qmail-smtpd 2>&1 qmail-smtpd qmail-authuser true 2>&1 qmail-smtpd qmail-authuser true 2>&1
sslserver sslserver sslserver
#!/bin/sh
QMAILU=`id -u qmaild` QMTPS
QMAILG=`id -g qmaild` plain TLS encrypted TLS encrypted auth TLS encrypted #!/bin/sh #!/bin/sh
QMTPS="6209" HOSTNAME=`hostname` HOSTNAME=`hostname`
HOSTNAME=`hostname` qmail-smtpd qmail-smtpd qmail-smtpd export UCSPITLS="" POP3* . /var/qmail/ssl/ssl.env POP3S*
. /var/qmail/ssl/ssl.env . /var/qmail/ssl/ssl.env exec env PATH="/var/qmail/bin:$PATH" \
exec env PATH="/var/qmail/bin:$PATH" \ (ESMTP, AUTH, (Submission, exec env PATH="/var/qmail/bin:$PATH" \ sslserver -seV -Rp -l $HOSTNAME 0 pop3s \
sslserver -seV -Rp -l $HOSTNAME \ (ESMTPS, AUTH) sslserver -seV -Rp -l $HOSTNAME 0 pop3 \ qmail-popup $HOSTNAME qmail-authuser \
-Xx /var/qmail/control/rules.qmtpsd.cdb \
STARTTLS) STARTTLS)
qmail-popup $HOSTNAME qmail-authuser \ qmail-pop3d Maildir true 2>&1 5>&1
-u $QMAILU -g $QMAILG 0 $QMTPS \ qmail-pop3d Maildir true 2>&1 5>&1
qmail-qmtpd 2>&1
qmail-
Port
plain qmail-qmtpd dkverify Local Injection
209 tcpserver qmail-inject sendmail
Wrapper
(QMTP)
@
n
qmail-qmtpd
Local Delivery
Port
TLS qmail-queue
6209 sslserver (housekeeping)
encrypted (QMTPS) qmail-lspawn n qmail-local /home/
/var/qmail/queue /home/
Port
plain qmail-qmqpd #!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
START
628 tcpserver qmail-start ./Maildir/
(QMQP) n #qmail-start '|preline -f /usr/local/libexec/dovecot/dovecot-lda'
qmail-rspawn Bounces,
NDR
Port 628 qmail-pop3d qmail-pop3d
n
plain n (POP3, STLS) (POP3S)
tcpserver qmail-qmqc
qmail-dksign qmail-send
plain TLS encrypted TLS encrypted
qmail-remote
sslserver sslserver
qmail-qmqpd qmail-remote plain TLS encrypted POP3 Service
Peer Delivery/ Port 110 Port 995
(QMQP)
Peer Service plain TLS encrypted
QMTP(S) #!/bin/sh
ESMTP(S) LOG_NAME=`basename ${PWD%/log}` LOGGING
#!/bin/sh
QMAILU=`id -u qmaild` QMQP Remote Delivery /var/log/qmail-X LOG_SIZE="2000000"
LOG_DIR="/var/log/${LOG_NAME}"
QMAILG=`id -g qmaild` if [ ! -d "${LOG_DIR}" ]; then
QMQP="628"
/var/qmail/queue HOSTNAME=`hostname`
mkdir -p "${LOG_DIR}"
chown qmaill:nofiles "${LOG_DIR}"
/var/log/qmail-X
(remote instance)
exec env PATH="/var/qmail/bin:$PATH" \
tcpserver -v -Rp -l $HOSTNAME \
Internet echo "Creating log dir for ${LOG_NAME}:"
ls -ld "${LOG_DIR}"
-Xx /var/qmail/control/rules.qmpd.cdb \ fi
-u $QMAILU -g $QMAILG 0 $QMQP \ exec 2>&1
qmail-qmqpd 2>&1 exec setuidgid qmaill multilog t s${LOG_SIZE} "${LOG_DIR}"
/var/log/qmail-X
feh@2023/01/29

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy