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
dc1a3c74
Commit
dc1a3c74
authored
21 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Added advanced mail server option to over-ride "in-transit" message attribute
on outgoing mail (send anyway).
parent
6748ad27
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/mailsrvr.c
+1
-1
1 addition, 1 deletion
src/sbbs3/mailsrvr.c
src/sbbs3/mailsrvr.h
+1
-0
1 addition, 0 deletions
src/sbbs3/mailsrvr.h
src/sbbs3/sbbs_ini.c
+1
-0
1 addition, 0 deletions
src/sbbs3/sbbs_ini.c
with
3 additions
and
1 deletion
src/sbbs3/mailsrvr.c
+
1
−
1
View file @
dc1a3c74
...
...
@@ -3339,7 +3339,7 @@ static void sendmail_thread(void* arg)
smb_unlockmsghdr
(
&
smb
,
&
msg
);
continue
;
}
if
(
msg
.
hdr
.
netattr
&
MSG_INTRANSIT
)
{
if
(
!
(
startup
->
options
&
MAIL_OPT_SEND_INTRANSIT
)
&&
msg
.
hdr
.
netattr
&
MSG_INTRANSIT
)
{
smb_unlockmsghdr
(
&
smb
,
&
msg
);
lprintf
(
LOG_ERR
,
"0000 SEND Message #%lu from %s to %s - in transit"
,
msg
.
hdr
.
number
,
msg
.
from
,
msg
.
to_net
.
addr
);
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/mailsrvr.h
+
1
−
0
View file @
dc1a3c74
...
...
@@ -113,6 +113,7 @@ typedef struct {
#define MAIL_OPT_DNSBL_CHKRECVHDRS (1<<18)
/* Check all Recieved: from addresses */
#define MAIL_OPT_DNSBL_DEBUG (1<<20)
/* Debug DNSBL activity */
#define MAIL_OPT_SMTP_AUTH_VIA_IP (1<<21)
/* Allow SMTP authentication via IP */
#define MAIL_OPT_SEND_INTRANSIT (1<<22)
/* Send mail, even if already "in transit" */
#define MAIL_OPT_NO_RECYCLE (1<<27)
/* Disable recycling of server */
#define MAIL_OPT_LOCAL_TIMEZONE (1<<30)
/* Don't force UTC/GMT */
#define MAIL_OPT_MUTE (1<<31)
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/sbbs_ini.c
+
1
−
0
View file @
dc1a3c74
...
...
@@ -123,6 +123,7 @@ static ini_bitdesc_t mail_options[] = {
{
MAIL_OPT_DNSBL_BADUSER
,
"DNSBL_BADUSER"
},
{
MAIL_OPT_DNSBL_DEBUG
,
"DNSBL_DEBUG"
},
{
MAIL_OPT_DNSBL_CHKRECVHDRS
,
"DNSBL_CHKRECVHDRS"
},
{
MAIL_OPT_SEND_INTRANSIT
,
"SEND_INTRANSIT"
},
{
MAIL_OPT_NO_RECYCLE
,
"NO_RECYCLE"
},
{
MAIL_OPT_LOCAL_TIMEZONE
,
"LOCAL_TIMEZONE"
},
{
MAIL_OPT_MUTE
,
"MUTE"
},
...
...
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