Hi, i use OpenSMTPD in a small homelan with a smarthost configuration: All mail is sent trough a second external mailserver. The other mailserver only accepts mails with a maximum size of 20 MB. Sometimes my users sent to big mails. OpemSMTPD accepts these mails, but the external mailserver doesnt accept these mails and the mails wait in the smtpd queue until i remove them manually. A feature like in Postfix the message_size_limit would be nice (and also a feature like mailbox_size_limit).
Maybe something like: accept from $trustnet for all relay via mail.server.tld sizelimit 20m and if its over sizelimit it would be rejected, with a understandable error message. And a second question: How long does smtpd wait until it sends a Mailerdaemon for a undeliverable mail? It would be nice if this time is configurable. Cheers Reni -- Reni Maroufi i...@maroufi.net