(cfg Config)
| 44 | } |
| 45 | |
| 46 | func NewBackend(cfg Config) *Backend { |
| 47 | return &Backend{ |
| 48 | cfg: cfg, |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | // NewSession is called after client greeting (EHLO, HELO). |
| 53 | func (b *Backend) NewSession(c *smtp.Conn) (smtp.Session, error) { |
no outgoing calls