PostaOptions
Classsealednet10.0
Configuration options for the Posta container.
namespace CommunityToolkit.Aspire.Hosting.Posta;
public sealed class PostaOptions{ // ...}72 members
Constructors1
Section titled ConstructorsProperties71
Section titled PropertiesAllowDowngradeget; setbool Gets or sets a value indicating whether older binaries can boot against a newer database schema.
ApiUrlget; setstring? Gets or sets the public API base URL advertised in the OpenAPI servers list.
AuthRateLimitEnabledget; setbool Gets or sets a value indicating whether auth rate limiting is enabled.
AutoSuppressOnRejectget; setbool Gets or sets a value indicating whether permanently rejected recipients are added to the suppression list.
BlobFileSystemPathget; setstring Gets or sets the filesystem storage path.
BlobProviderget; setstring? Gets or sets the storage backend for attachments, either s3 or filesystem.
BlobS3AccessKeyget; setIResourceBuilder<ParameterResource> Gets or sets the S3 access key.
BlobS3Bucketget; setstring? Gets or sets the S3 bucket name.
BlobS3Endpointget; setstring? Gets or sets the S3-compatible endpoint.
BlobS3PathStyleget; setbool Gets or sets a value indicating whether S3 path-style addressing is used.
BlobS3Regionget; setstring Gets or sets the S3 region.
BlobS3SecretKeyget; setIResourceBuilder<ParameterResource> Gets or sets the S3 secret key.
BlobS3UseSslget; setbool Gets or sets a value indicating whether S3 storage uses TLS.
CorsOriginsget; setstring Gets or sets the comma-separated allowed CORS origins.
DatabaseUrlget; setIResourceBuilder<ParameterResource> Gets or sets a PostgreSQL connection string parameter that overrides individual database settings.
DevModeget; setbool Gets or sets a value indicating whether Posta stores emails without sending them.
EmailVerificationRequiredget; setbool Gets or sets a value indicating whether users must verify their email address before sign-in.
EmailVerifyCacheTtlHoursget; setint Gets or sets how long address-level verification results are cached, in hours.
EmailVerifyEnabledget; setbool Gets or sets a value indicating whether the email verification endpoint is enabled.
EmailVerifyMxCacheTtlHoursget; setint Gets or sets how long domain MX lookups are cached, in hours.
EmailVerifyRateHourlyget; setint Gets or sets the per-user hourly cap on verification requests.
EmbeddedWorkerget; setbool Gets or sets a value indicating whether the worker runs in the server process.
EncryptionKeyget; setIResourceBuilder<ParameterResource> Gets or sets the AES-256-GCM encryption key for stored SMTP passwords.
Environmentget; setstring Gets or sets the Posta environment name.
GoogleOAuthClientIdget; setstring? Gets or sets the Google OAuth client ID for SSO login.
GoogleOAuthClientSecretget; setIResourceBuilder<ParameterResource> Gets or sets the Google OAuth client secret for SSO login.
InboundEnabledget; setbool Gets or sets a value indicating whether inbound email processing is enabled.
InboundHostnameget; setstring Gets or sets the hostname announced in EHLO and used as TLS SNI.
InboundMaxAttachSizeget; setint Gets or sets the maximum inbound attachment size in bytes.
InboundMaxMessageSizeget; setint Gets or sets the maximum raw inbound message size in bytes.
InboundSmtpHostget; setstring Gets or sets the bind address for the built-in SMTP receiver.
InboundSmtpPortget; setint Gets or sets the SMTP listener port.
InboundSmtpRateLimitget; setint Gets or sets the per-IP SMTP session rate limit.
InboundSmtpRateWindowget; setint Gets or sets the SMTP rate-limit window in seconds.
InboundTlsCertFileget; setstring? Gets or sets the PEM certificate path for inbound TLS.
InboundTlsKeyFileget; setstring? Gets or sets the PEM key path for inbound TLS.
InboundTlsModeget; setstring Gets or sets the inbound SMTP TLS mode: none or starttls.
InboundWebhookSecretget; setIResourceBuilder<ParameterResource> Gets or sets the shared secret for inbound webhooks.
MetricsEnabledget; setbool Gets or sets a value indicating whether Prometheus metrics are enabled.
OAuthCallbackUrlget; setstring? Gets or sets the OAuth callback base URL.
OpenApiDocsget; setbool Gets or sets a value indicating whether Swagger UI and ReDoc are enabled.
PlanEnforcementget; setbool Gets or sets a value indicating whether hosted plan limits and quotas are enforced.
RateLimitDailyget; setint Gets or sets the maximum emails per day per user.
RateLimitHourlyget; setint Gets or sets the maximum emails per hour per user.
RedisAddressget; setstring? Gets or sets an external Redis address in the form host:port.
RedisDatabaseget; setintGets or sets the Redis database number.
RedisPasswordget; setIResourceBuilder<ParameterResource> Gets or sets a Redis password parameter that overrides the referenced Redis resource password.
RedisUrlget; setIResourceBuilder<ParameterResource>Gets or sets a Redis URL that overrides individual Redis settings.
RedisUsernameget; setstring?Gets or sets the Redis username.
SmtpRelayEnabledget; setboolGets or sets whether the authenticated SMTP relay is enabled.
SmtpRelayHostget; setstringGets or sets the SMTP relay bind address.
SmtpRelayHostnameget; setstringGets or sets the hostname announced by the SMTP relay.
SmtpRelayMaxMessageSizeget; setintGets or sets the SMTP relay maximum message size in bytes.
SmtpRelayPortget; setintGets or sets the SMTP relay listener port.
SmtpRelayRateLimitget; setintGets or sets the SMTP relay per-IP session rate limit.
SmtpRelayRateWindowget; setintGets or sets the SMTP relay rate-limit window in seconds.
SystemSmtpEncryptionget; setstring Gets or sets the system SMTP encryption mode: none, ssl, or starttls.
SystemSmtpFromget; setstring? Gets or sets the system SMTP from address.
SystemSmtpHostget; setstring? Gets or sets the system SMTP server host used for platform notifications.
SystemSmtpPasswordget; setIResourceBuilder<ParameterResource> Gets or sets the system SMTP password.
SystemSmtpPortget; setint Gets or sets the system SMTP server port.
SystemSmtpUsernameget; setstring? Gets or sets the system SMTP username.
UpdateCheckget; setboolGets or sets whether Posta checks GitHub for new releases.
WebDirget; setstring? Gets or sets the Vue dashboard build directory.
WebhookMaxRetriesget; setint Gets or sets the maximum webhook delivery retry attempts.
WebhookProxyUrlget; setstring? Gets or sets the optional HTTP, HTTPS, or SOCKS5 proxy for webhook delivery.
WebhookTimeoutSecondsget; setint Gets or sets the webhook HTTP request timeout in seconds.
WebUrlget; setstring? Gets or sets the public dashboard URL.
WorkerConcurrencyget; setint Gets or sets the number of worker goroutines.
WorkerMaxRetriesget; setint Gets or sets the maximum email retry attempts.
WorkspaceOnlyModeget; setboolGets or sets whether users must operate within workspaces.