|OK. I'll now try duplicating what majordomo
does, which is where I got the idea to try the above. In this attempt, we will
modify the entry in /etc/mail/virtusertable to point to an alias.
modified the entry from the previous section to be:
In this case, all mail for the above address will be handled by the alias test-yourdomain-org.
Then I did a makemap again as per above. Now we will create the
Next, I modified one of my majordomo alias files to contain this (you could
Then I ran newaliases to invoke the above definition. Check your logs
for any errors (perhaps /var/log/messages or /var/log/maillog).
Then I tried sending another test message. Yet another error message:
/usr/local/etc/freshports/mail-catcher/mail-catcher.pl: not found 554
unknown mailer error 127
This was pretty easy to solve. The script wasn't in the expected location.
So I moved the file to
/usr/local/etc/freshports/mail-catcher and tried again. This time, I encountered
/usr/local/etc/freshports/mail-catcher.pl: permission denied 554
unknown mailer error 126
...which is almost, but not quite, the same error as I had above.
The long and the short of it is: I spent about 90 minutes trying to get this going.
Please see the next section for the details.