US: 1-941-4621-069
Cyprus: 3-572-2052-781

Go Back Forums > ISPmanager > General technical discussion

Thread Tools
Old 03-30-2011, 12:57 PM   #1
Junior Member
Join Date: Aug 2010
Location: Czech Republic
Posts: 23
cyberpaul is on a distinguished road
Default whitelist


one of our customers pointed out a strange behaviour of whitelisting feature.

ISP Manager Pro
CentOS 5.5
Postfix 2.3.3

When you put a domain on the whitelist, one would suppose you will receive email from this domain even when it's on a DNSbl. But it's not how it works. It works like this:

[ /etc/postfix/ ]:
smtpd_sender_restrictions =
check_sender_access hash:/etc/mail/access
smtpd_recipient_restrictions =
check_recipient_access hash:/etc/mail/access,

[ /etc/mail/access ]: OK

This means that when postfix receives MAIL FROM command and the sender is whitelisted, he gets OK. That's nice.

But when postfix receives RCPT command, recipient is checked against the whitelist. But the recipient is not the whitelisted domain, recipient is local. What this means is, that when I whitelist a domain, anybody can use my server as a relay for this domain (recipient is whitelisted).

Is this a bug or a feature?
cyberpaul is offline   Reply With Quote
Old 04-04-2011, 02:53 AM   #2
ISPsystem team
sad's Avatar
Join Date: Oct 2006
Location: Irkutsk, Baikal
Posts: 25
sad has disabled reputation
Send a message via ICQ to sad

Access map in postfix works almost like in sendmail. You can change postfix configuration for your needs, ispmanager will not touch it after initial setup. Removing access list checking from smtpd_recipient_restrictions may solve this "bug or feature".
sad is offline   Reply With Quote
Old 04-04-2011, 12:41 PM   #3
Junior Member
Join Date: Aug 2010
Location: Czech Republic
Posts: 23
cyberpaul is on a distinguished road

Thanks for your reply. Can do that. But is that a desired beahviour? It's confusing.

Anyway I have one more problem - mail filters. It seems that from certain size of mail directory it's impossible to set email filters via ISP manager (cca thousand mails and more). Environment is the same as before (CentOS 5.5, ISP manager, but it is the same with 4.3.52 and on different servers).

How to reproduce:
- in 'mailboxes' select a big mailbox
- click 'change the mail filter settings...' icon
- either click 'add mail filter' icon or double click any of existing filters

The working icon then appears and never really goes away. The 'ispmgr' process starts consuming more and more memory until the server crashes.

Log reports this:
Apr 4 11:37:13 [27440] INFO Request [][root] 'func=email'
Apr 4 11:37:16 [27440] INFO Request [][root] 'func=email.filter&'
Apr 4 11:37:16 [27440] EXTINFO Load config '/var/www/glabasnat/data/email/'

It is crucial to fix this issue, thanks in advance for your reply.
cyberpaul is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 09:32 AM.