On Tue, Apr 13, 2010 at 11:21:23AM +0200, Rene Maroufi wrote: > 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. >
i have the SIZE extension implemented already but it isn't commited in OpenBSD's tree ... > 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. > the mail stays in queue 4 days with smtpd attempting redeliveries, i don't think we want to make this configurable though Gilles -- Gilles Chehade freelance developer/sysadmin/consultant http://www.poolp.org