Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
d276282b
Commit
d276282b
authored
22 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Added checkbox to enable DNSBL debug logging.
parent
9f8219f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/sbbs3/ctrl/MailCfgDlgUnit.cpp
+9
-0
9 additions, 0 deletions
src/sbbs3/ctrl/MailCfgDlgUnit.cpp
src/sbbs3/ctrl/MailCfgDlgUnit.dfm
+11
-2
11 additions, 2 deletions
src/sbbs3/ctrl/MailCfgDlgUnit.dfm
src/sbbs3/ctrl/MailCfgDlgUnit.h
+1
-0
1 addition, 0 deletions
src/sbbs3/ctrl/MailCfgDlgUnit.h
with
21 additions
and
2 deletions
src/sbbs3/ctrl/MailCfgDlgUnit.cpp
+
9
−
0
View file @
d276282b
...
...
@@ -135,6 +135,8 @@ void __fastcall TMailCfgDlg::FormShow(TObject *Sender)
BLIgnoreRadioButton
->
Checked
=
true
;
else
BLTagRadioButton
->
Checked
=
true
;
BLDebugCheckBox
->
Checked
=
MainForm
->
mail_startup
.
options
&
MAIL_OPT_DNSBL_DEBUG
;
TcpDnsCheckBox
->
Checked
=
MainForm
->
mail_startup
.
options
&
MAIL_OPT_USE_TCP_DNS
;
...
...
@@ -232,6 +234,8 @@ void __fastcall TMailCfgDlg::OKBtnClick(TObject *Sender)
MainForm
->
mail_startup
.
options
|=
MAIL_OPT_ALLOW_RELAY
;
else
MainForm
->
mail_startup
.
options
&=~
MAIL_OPT_ALLOW_RELAY
;
/* DNSBL */
MainForm
->
mail_startup
.
options
&=
~
(
MAIL_OPT_DNSBL_IGNORE
|
MAIL_OPT_DNSBL_REFUSE
|
MAIL_OPT_DNSBL_BADUSER
);
if
(
BLIgnoreRadioButton
->
Checked
==
true
)
...
...
@@ -240,6 +244,11 @@ void __fastcall TMailCfgDlg::OKBtnClick(TObject *Sender)
MainForm
->
mail_startup
.
options
|=
MAIL_OPT_DNSBL_REFUSE
;
else
if
(
BLBadUserRadioButton
->
Checked
==
true
)
MainForm
->
mail_startup
.
options
|=
MAIL_OPT_DNSBL_BADUSER
;
if
(
BLDebugCheckBox
->
Checked
==
true
)
MainForm
->
mail_startup
.
options
|=
MAIL_OPT_DNSBL_DEBUG
;
else
MainForm
->
mail_startup
.
options
&=~
MAIL_OPT_DNSBL_DEBUG
;
if
(
HostnameCheckBox
->
Checked
==
false
)
MainForm
->
mail_startup
.
options
|=
MAIL_OPT_NO_HOST_LOOKUP
;
else
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/MailCfgDlgUnit.dfm
+
11
−
2
View file @
d276282b
...
...
@@ -53,8 +53,8 @@ object MailCfgDlg: TMailCfgDlg
Top = 4
Width = 342
Height = 245
ActivePage =
General
TabSheet
TabIndex =
0
ActivePage =
DNSBL
TabSheet
TabIndex =
5
TabOrder = 3
object GeneralTabSheet: TTabSheet
Caption = 'General'
...
...
@@ -677,6 +677,15 @@ object MailCfgDlg: TMailCfgDlg
TabOrder = 2
OnClick = DNSBLExemptionsButtonClick
end
object BLDebugCheckBox: TCheckBox
Left = 256
Top = 8
Width = 73
Height = 26
Hint = 'Enable debug logging of DNSBL lookups'
Caption = 'Debug'
TabOrder = 3
end
end
end
object OpenDialog: TOpenDialog
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/MailCfgDlgUnit.h
+
1
−
0
View file @
d276282b
...
...
@@ -123,6 +123,7 @@ __published:
TEdit
*
MaxRecipientsEdit
;
TButton
*
DNSBLExemptionsButton
;
TCheckBox
*
DebugRXCheckBox
;
TCheckBox
*
BLDebugCheckBox
;
void
__fastcall
InboundSoundButtonClick
(
TObject
*
Sender
);
void
__fastcall
OutboundSoundButtonClick
(
TObject
*
Sender
);
void
__fastcall
FormShow
(
TObject
*
Sender
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment