1

Topic: SPF - Adding SPF post Installation

==== Provide basic information to help troubleshoot ====
- iRedMail version: 0.7.3
- Linux/BSD distribution name and version:  Centos 6.0
- Any related log? Log is helpful for troubleshooting.
====
***urgent****
during the installation i didnt choose to install SPF , later i wanted to install this, how do i do it. please help me.

i setup my SPF record on DNS. i am using  iRedMail version: 0.7.3
- Linux/BSD distribution name and version:  Centos 6.0

Regards
Hariesh

2

Re: SPF - Adding SPF post Installation

Install below packages via yum:

# yum install perl-Mail-SPF.noarch perl-Mail-SPF-Query.noarch

Restart Amavisd service, that's all.

3

Re: SPF - Adding SPF post Installation

ZhangHuangbin wrote:

Install below packages via yum:

# yum install perl-Mail-SPF.noarch perl-Mail-SPF-Query.noarch

Restart Amavisd service, that's all.

==== Provide basic information to help troubleshoot ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====



Ok...thanks for your post , i have already installed the package, i only wanted to know how to enable this,
could you share the settings, which enable incomimg mails to check for SPF.

4

Re: SPF - Adding SPF post Installation

If you have required packages installed, Amavisd+SpamAssassin will enable SPF checking automatically.

5

Re: SPF - Adding SPF post Installation

ZhangHuangbin wrote:

If you have required packages installed, Amavisd+SpamAssassin will enable SPF checking automatically.

==== Provide basic information to help troubleshoot ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====

but by mail log does not have any sign of SPF check.
how do i check to ensure that all my incoming mails are SPF validated.

regards
Hairesh

6

Re: SPF - Adding SPF post Installation

Hariesh wrote:

# yum install perl-Mail-SPF.noarch perl-Mail-SPF-Query.noarch

==== Provide basic information to help troubleshoot ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====

but by mail log does not have any sign of SPF check.
how do i check to ensure that all my incoming mails are SPF validated please find my maillog

Sep 10 19:16:37 koc postfix/smtpd[19285]: connect from localhost[127.0.0.1]
Sep 10 19:16:37 koc postfix/smtpd[19285]: 7428B6400A0: client=localhost[127.0.0.1]
Sep 10 19:16:37 koc postfix/cleanup[19277]: 7428B6400A0: message-id=<20110910134637.7428B6400A0@xxx.mydomain.com>
Sep 10 19:16:37 koc postfix/qmgr[16227]: 7428B6400A0: from=<noreply@xyz.com>, size=17156, nrcpt=1 (queue active)
Sep 10 19:16:37 koc postfix/smtpd[19285]: disconnect from localhost[127.0.0.1]
Sep 10 19:16:37 koc amavis[18118]: (18118-19) Passed CLEAN, LOCAL [216.144.195.69] [216.144.195.69] <noreply@xyz.com> -> <rajeshnair@mydomain.com>, mail_id: 0t3BXswavFyd, Hits: -0.493, size: 16611, queued_as: 7428B6400A0, 7944 ms
Sep 10 19:16:37 koc postfix/smtp[19281]: A3E87640082: to=<rajeshnair@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=11, delays=3.4/0.01/0/8, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 7428B6400A0)
Sep 10 19:16:37 koc postfix/qmgr[16227]: A3E87640082: removed
Sep 10 19:16:37 koc postfix/pipe[19287]: 7428B6400A0: to=<rajeshnair@mydomain.com>, relay=dovecot, delay=0.07, delays=0.01/0.01/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot service)
Sep 10 19:16:37 koc postfix/qmgr[16227]: 7428B6400A0: removed



regards
Hairesh

7

Re: SPF - Adding SPF post Installation

Set 'log_level = 5;' in /etc/amavisd.conf, restart Amavisd service, then check mail log again.