Hi guys,
I hope this is the right place to ask. We use qmail-ldap (qmailrocks
installation) for our mail server for some time. To give people access to
qmail-smtpd, we used to configure /var/qmail/control/qmail-smtpd.rules.
Usually we use this configuration:
127.:allow,RELAYCLIENT="",SMTPAUTH="",AUTHREQUIRED="",QMAILQUEUE="/var/qmail/bin/simscan"
192.168.:allow,RELAYCLIENT="",SMTPAUTH="",AUTHREQUIRED="",QMAILQUEUE="/var/qmail/bin/simscan"
:allow,QMAILQUEUE="/var/qmail/bin/simscan",RETURNMXCHECK=""
Now we want to let roaming users to be able to use qmail-smtpd from
anywhere outside from local LAN, so we change qmail-smtpd.rules into
127.:allow,RELAYCLIENT="",SMTPAUTH="",AUTHREQUIRED="",QMAILQUEUE="/var/qmail/bin/simscan"
192.168.:allow,RELAYCLIENT="",SMTPAUTH="",AUTHREQUIRED="",QMAILQUEUE="/var/qmail/bin/simscan"
*:allow,RELAYCLIENT="",SMTPAUTH="",QMAILQUEUE="/var/qmail/bin/simscan"*
:allow,QMAILQUEUE="/var/qmail/bin/simscan",RETURNMXCHECK=""
It is works (we can send to or receive email from gmail), with exception
that we can send without authentication either. If we added AUTHREQUIRED=""
in the third line, gmail cannot send email to our server. If we switched
the third and fourth line (:allow,RELAYCLIENT line and :allow,QMAILQUEUE
line), then qmail will never read (or act) the last line. Is there
something we're missing here*? OR should we cooperate SMTPAUTH with PBS (we
have
127.0.0.1:allow,NOPBS=""
# default allow
:allow
in /var/qmail/control/qmail-pop3d.rules.
* thinking about using SENDERCHECK too, but we still need authentication.
Thank-you in advance.
Best regards,
Mario
I hope this is the right place to ask. We use qmail-ldap (qmailrocks
installation) for our mail server for some time. To give people access to
qmail-smtpd, we used to configure /var/qmail/control/qmail-smtpd.rules.
Usually we use this configuration:
127.:allow,RELAYCLIENT="",SMTPAUTH="",AUTHREQUIRED="",QMAILQUEUE="/var/qmail/bin/simscan"
192.168.:allow,RELAYCLIENT="",SMTPAUTH="",AUTHREQUIRED="",QMAILQUEUE="/var/qmail/bin/simscan"
:allow,QMAILQUEUE="/var/qmail/bin/simscan",RETURNMXCHECK=""
Now we want to let roaming users to be able to use qmail-smtpd from
anywhere outside from local LAN, so we change qmail-smtpd.rules into
127.:allow,RELAYCLIENT="",SMTPAUTH="",AUTHREQUIRED="",QMAILQUEUE="/var/qmail/bin/simscan"
192.168.:allow,RELAYCLIENT="",SMTPAUTH="",AUTHREQUIRED="",QMAILQUEUE="/var/qmail/bin/simscan"
*:allow,RELAYCLIENT="",SMTPAUTH="",QMAILQUEUE="/var/qmail/bin/simscan"*
:allow,QMAILQUEUE="/var/qmail/bin/simscan",RETURNMXCHECK=""
It is works (we can send to or receive email from gmail), with exception
that we can send without authentication either. If we added AUTHREQUIRED=""
in the third line, gmail cannot send email to our server. If we switched
the third and fourth line (:allow,RELAYCLIENT line and :allow,QMAILQUEUE
line), then qmail will never read (or act) the last line. Is there
something we're missing here*? OR should we cooperate SMTPAUTH with PBS (we
have
127.0.0.1:allow,NOPBS=""
# default allow
:allow
in /var/qmail/control/qmail-pop3d.rules.
* thinking about using SENDERCHECK too, but we still need authentication.
Thank-you in advance.
Best regards,
Mario