1

Topic: Allowing mail from a specific IP

Hi All,

I want mails from my websites(webserver) come without blocking it as spam.

I am attaching the log for the reference.
Nov 30 13:29:36 mailserver postfix/qmgr[3183]: 1A4171710287: from=<aaa@domain.com>, size=1905, nrcpt=1 (queue active)
Nov 30 13:29:41 mailserver amavis[12197]: (12197-14) Blocked SPAM, LOCAL [65.165.95.235] [68.168.98.253] <aaa@domain.com> -> <zzz@domain.com>, quarantine: a/spam-aOvT-dadDPNT.gz, Message-ID: <20101130075936.1A4171710287@mailserver.domain.com>, mail_id: aOvT-dadDPNT, Hits: 8.189, size: 1907, 4145 ms

How can I do it?

Regards
Philip

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Allowing mail from a specific IP

Append the IP address of you webserver in postfix "mynetworks" setting, restart postfix and you get it. smile

3

Re: Allowing mail from a specific IP

Thanks Zhang.
But now the problem is some mails are treated as spam mails and some comes to us. Do I need to add the IP somewhere else also.

Regards
Philip

4

Re: Allowing mail from a specific IP

You can add whitelist in SpamAssassin (/etc/mail/spamassassin/local.cf). like this:

whitelist_from username@example.com
whitelist_from *@gmail.com
whitelist_from *@iredmail.org