> How would I set a custom message using the -G option?
Use something like "-G PREPEND%sX-Mzalli:%sCustom%sMessage"
--
Kim Minh
--
You received this message because you are subscribed to the Google Groups "greyfix" group.
To post to this group, send an email to gre...@googlegroups.com.
To unsubscribe from this group, send email to greyfix+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/greyfix?hl=en-GB.
> I tried it, didn't work. I did the following:
>
> greyfix unix - n n - - spawn
> user=nobody argv=/usr/local/sbin/greyfix --greylist-delay 60 -G
> PREPEND%sX-Mzalli:%sCustom%sMessage -/ 24
>
> I was still getting the default message after implementing it.
That should have done it. You didn't forget to reload Postfix? Can you
check with ps that greyfix is launched with the intended arguments?
--
Kim Minh
Kim Minh
--
You received this message because you are subscribed to the Google Groups "greyfix" group.
To post to this group, send an email to gre...@googlegroups.com.
To unsubscribe from this group, send email to greyfix+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/greyfix?hl=en-GB.
> Well I'm not getting the result i should. I tried both the greylisted action
> and reject action settings, but still getting the following:
>
> Recipient address rejected: Greylisted by greyfix 0.3.9, try again in 60
> seconds. See http://www.kim-minh.com/pub/greyfix/ for more information.>
For this message it is the "-r" option you have to use. The "-G" option
is what happens for message that actually pass the greylisting test and
are *not* rejected.
> It's not big deal though, just wanted to make it customized.
It is meant to be customizable. That's why I asked for some
investigation on your side: can you check with the command ps with what
arguments greyfix is launched? Something along the lines of "ps ax |
grep greyfix"
> I just have a few more questions. In my mail.log, I'm getting this:
> warning: /usr/local/sbin/greyfix: process id 1408: command time limit exceeded
>
> Is that something I need to worry about? If so, how do you fix that?
This is normal: the greyfix process hangs around to service multiple
greylisting requests for Postfix. But Postfix will recycle the process
when it stays alive for long enough. See the section RESOURCE AND RATE
CONTROL in the man page for spawn(8).
> Also, are there any cron entries required to clear out the database?
You do not need additionnal care taking. The cleaning of the database is
taken care of automatically by the regular greyfix processes.
--
Kim Minh.
Kim Minh.
--
You received this message because you are subscribed to the Google Groups "greyfix" group.
To post to this group, send an email to gre...@googlegroups.com.
To unsubscribe from this group, send email to greyfix+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/greyfix?hl=en-GB.
> 14567 ? Ss 0:00 /usr/local/sbin/greyfix --greylist-delay 60 -r PREPEND%sX-MCRI:%sCustom%sMessage -/ 24
There is some misunderstanding here ; the -r describes the action
Postfix should undertake to delay a message. Thus it's usage would look
like "-r DEFER_IF_PERMIT%sCustom%sMessage" instructing Greyfix to
temporarily *reject* the incoming mail with a Custom Message. Whereas
the -G describes the action Postfix takes when accepting the message
from this sender for the first time. Use it with "-G
PREPEND%sX-MCRI:%sCustom%Message" to have Postfix let the message in and
add a custom header.
What is the message you intend to customize?
--
Kim Minh