Hi Eduardo, On Thu, 12 Jun 2003 11:31:14 -0300 Eduardo Cardone wrote:
> Hello, I'm using a script that has to check each email from internet to my > vpopmail/domains and from my vpopmail/domains to internet. > > So I have in each vpopmail/domains/mydomain.com/.qmail-default a line like > this: [...] > And the content of /var/qmail/alias/.qmail-default is: [...] > When I receive a email from internet to my users, it works OK, but when the > mail is from my users to Internet, the scripts is not executed..... Oh wonder ... have you ever thought about "who's evaluating those dot-qmail files?"??? It's _qmail-local_. Now try to figure if there might be a reason why a _REMOTE_ delivery does not trigger qmail-local (hint: there's a qmail-remote!!!) > Why? Because you don't have understood the qmail system. Read the documentation. Read it again. Read it a third time. Have a look at "The big qmail picture" [1]. Understand when dot-qmail is used (hint: it's _delivery instructions_, not "sending instructions"), and why it would be pure bloat to write "remote sending instructions" in dot-qmail files (hint: smtproutes). But you have read the Qmail-FAQ coming with qmail sources? Point 8.2? Alternatively: Get qmail-scanner and integrate your script as "spam checker" or write an own script / executable that can be called via "QMAILQUEUE" environment variable (hint: patch needed!) ... [1] http://www.nrg4u.com/ -- Ciao, Pit