On 2006-02-19 18:00:52 -0600, Les Mikesell wrote: > On Sun, 2006-02-19 at 16:42, Peter J. Holzer wrote: > > > you can put: > > > To:[EMAIL PROTECTED] ERROR:550 user unknown > > > in the access database on the outside machine to bounce > > > it without going any farther. > > > > Explicitely enumerating the mail addresses which don't exist instead of > > those which do seems to be a rather weird way of doing things but you > > can do that in qpsmtpd with the badrcptto plugin. > > > Generally you would check if the user exists. There are a number of > > plugins to do that: goodrcptto and my aliases_* plugins for those who > > prefer plain text files, plugins which do LDAP, finger or SQL lookups > > for those who prefer to keep their user database on a central host. > > I guess a better example would have been a user whose account > needs to remain active for a while but should no longer > receive mail.
Funny, that's one of the cases which I couldn't figure out how to do with sendmail. Putting to: lines into the access database for a few hundred email addresses somehow didn't cross my mind (and I still think it is ugly). All the other ays I tried either didn't work or had some side-effects. In contrast, writing a complete plugin which did lookups for mail-addresses, noted per-recipient options for perusal by other plugins, and recursively expanded aliases was almost trivial - it certainly took less time than I had previously spent reading sendmail docs and experimenting with various sendmail options. (And - most importantly - it was a lot more fun) BTW, I knew about MIMEDefang since at least 2001. But I only thought of it as a tool to manipulate the content of mails, and I didn't have any need for that, so I never took a closer look. > I just wanted to show the header matching > capability (To: is actually a special case) IIRC "to:" in the access db matches the envelope recipient, not the header. > Anyway the point was just that while you can do that kind > of stuff in the mimedefang/milter code you also have the > option to use the stock sendmail features if it is > more convenient. Yes, but if you want that, you must run sendmail. I don't think anybody will implement a sendmail.cf-interpreter for qpsmtpd. Getting MIMEDefang with qpsmtpd may be worthwhile (although it seems to duplicate a lot of the stuff qpsmtpd does already), but if you want sendmail, you know where to find it. (I find arguments of the sort "developers of free software A are wasting their time - they should instead help improving software B" extremely pointless. AFAIK nobody ever criticised a company for competing with another company) hp -- _ | Peter J. Holzer | Ich sehe nun ein, dass Computer wenig |_|_) | Sysadmin WSR | geeignet sind, um sich was zu merken. | | | [EMAIL PROTECTED] | __/ | http://www.hjp.at/ | -- Holger Lembke in dan-am
pgp4wF0Gf6NuI.pgp
Description: PGP signature