dcrouter/ts/mail/index.ts
Philipp Kunz 2e75961d1c feat: implement comprehensive route-based email routing system
Replace legacy domain-rule based routing with flexible route-based system that supports:
- Multi-criteria matching (recipients, senders, IPs, authentication)
- Four action types (forward, process, deliver, reject)
- Moved DKIM signing to delivery phase for signature validity
- Connection pooling for efficient email forwarding
- Pattern caching for improved performance

This provides more granular control over email routing with priority-based matching and comprehensive test coverage.
2025-05-28 13:23:45 +00:00

19 lines
481 B
TypeScript

// Export all mail modules for simplified imports
export * from './routing/index.js';
export * from './security/index.js';
// Make the core and delivery modules accessible
import * as Core from './core/index.js';
import * as Delivery from './delivery/index.js';
export { Core, Delivery };
// For direct imports
import { Email } from './core/classes.email.js';
import { DcRouter } from '../classes.dcrouter.js';
// Re-export commonly used classes
export {
Email,
DcRouter
};