Adrián Fabricio Gutiérrez wrote:
I could make work Courier::Filter with SPF but I could not
obtain that it verifies if a user is valid in the SMTP server.
Due to my lack of time because of my work I am myself forced to
render to me, since I cannot obtain that protocol SPF works to avoid
this problem.
Apparently (I belive) with SPF it is not possible to be
verified (without using smtp auth) if the username is valid in
the server, at least I I did not find something similar.
Perhaps I need to read a little theory about Perl, SPF and
Courier::Filter.
I am not entirely sure I understand your message.
Usually, SPF checking is only applied to non-authenticated messages. To
do this, you can either use Courier's built-in SPF support with `opt
BOFHSPFTRUSTME=1` (see the courier manpage), or use Courier::Filter's SPF
filter module with the "trusting" option set to true:
...
Courier::Filter::Module::SPF->new(
trusting => TRUE
)
...
That way, trusted (i.e. authenticated) messages are not handled by the SPF
filter module.
But you can apply SPF checking to authenticated messages, too! To do
this, you can either use Courier's built-in SPF support with `opt
BOFHSPFTRUSTME=0`, or use Courier::Filter's SPF filter module with the
"trusting" option set to false:
...
Courier::Filter::Module::SPF->new(
trusting => FALSE
)
...