Skip to content

CFE-4648: cf-execd SMTP port configurable#6064

Open
basvandervlies wants to merge 4 commits intocfengine:masterfrom
basvandervlies:smtpport
Open

CFE-4648: cf-execd SMTP port configurable#6064
basvandervlies wants to merge 4 commits intocfengine:masterfrom
basvandervlies:smtpport

Conversation

@basvandervlies
Copy link
Copy Markdown
Contributor

CFE-4648: cf-execd SMTP port configurable

CFE-4648: cf-execd SMTP port configurable
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 30, 2026

CLA assistant check
All committers have signed the CLA.

exec_config->agent_expireafter = 2 * 60; /* two hours */

exec_config->mail_server = xstrdup("");
exec_config->mail_port = 25;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it perhaps default to using the port returned from getservbyname("smtp", "tcp"), or does this always return 25?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a well know service and it is always defined as25. Like ssh is always default 22and you can override it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants