Postgrey Install Error

24 posts / 0 new
Last post
#1 Thu, 04/23/2009 - 08:03
webwzrd

Postgrey Install Error

I'm excited to give Greylisting a try, however my installation failed with:

.. install complete.

.. installation failed!

Trying to enable it produces:

socket failed : Address family not supported by protocol

Any tips on how to proceed?

Brian<br><br>Post edited by: webwzrd, at: 2009/04/23 10:07

Thu, 04/23/2009 - 08:19
andreychek

Hi Brian,

Is there any chance I could log in and take a look?

It could be a few things, and I've love to resolve that before everyone else starts running into that issue as well :-)

If that's okay -- if you're a Pro user, you can enable remote access using the support module, or barring that, you can simply email me your login details, using eric@virtualmin.com. Include a link to this forum post if you could.

Thanks!
-Eric

Thu, 04/23/2009 - 10:16 (Reply to #2)
webwzrd

I was doing the Virtualmin update and discovered Greylisting was part of it. No other attempts to install.

Thu, 04/23/2009 - 10:43 (Reply to #3)
webwzrd

<b>andreychek wrote:</b>
<div class='quote'>It's in Email Messages -&gt; Email Greylisting.</div>
I forgot I had to log out and in for this to show.

Thu, 04/23/2009 - 12:08 (Reply to #4)
Joe
Joe's picture

Just reloading the full page should be all that is needed to update menus.

--

Check out the forum guidelines!

Thu, 04/23/2009 - 15:38 (Reply to #5)
Joe
Joe's picture

Looks like this is a Virtualmin bug. However, it's pretty easy to work around .. if you get that error, go to Webmin -&gt; System -&gt; Bootup and Shutdown, check the box next to the postgrey action and click the 'Start' button.

Then go back to the 'Email Greylisting' page, and click the 'Enable' button.

--

Check out the forum guidelines!

Thu, 04/23/2009 - 09:02
webwzrd

Thanks Eric, I just sent you an email.

Thu, 04/23/2009 - 09:19 (Reply to #7)
andreychek

Okay, it should be working now.

Give that a try and let us know how it goes!

Thanks,
-Eric

Thu, 04/23/2009 - 09:28
webwzrd

Terrific!

I need to explore this a bit. Looks like this is on server wide, is that right? How long before a typical retry?

Brian

Thu, 04/23/2009 - 09:33 (Reply to #9)
andreychek

Hi Brian,

By default, it is indeed server-wide.

You can play around with the &quot;Whitelisted Clients&quot; and &quot;Whitelisted Recipients&quot; to prevent certain users or servers from being greylisted.

How long the typical retry is depends on the email server in question, but it's typically between 5 and 20 minutes.

Also, it only happens once. Once a given user emails someone on your server, and successfully gets through the greylisting, that user won't be greylisted again when emailing that person on your server.
-Eric

Thu, 04/23/2009 - 09:42 (Reply to #10)
andreychek

Hey Brian,

I'm trying to help Jamie nail down what went awry during your initial attempt to get this working.

How had you gone about installing the &quot;postgrey&quot; daemon? When you clicked the &quot;Enable Greylisting&quot; button, did Virtualmin attempt to install it for you? Or did you do that from the command line?
-Eric

Thu, 04/23/2009 - 09:41
webwzrd

Great - Thanks so much for your help Eric.

Brian

Thu, 04/23/2009 - 10:06
webwzrd

One other quick question...

I can obviously get to the Email Greylising module by clicking &quot;Try it&quot; under New Virtualmin Features, but where is this nested in the left column menu?

Thu, 04/23/2009 - 10:10 (Reply to #13)
andreychek

It's in Email Messages -&gt; Email Greylisting.

Also, how was it that you initially did the install of the greylisting software? Had you attempted to manually install it, or was that Virtualmin installing it for you?
-Eric

Fri, 05/08/2009 - 01:38
Yorkki

Hi guys,

what was the solution to this error?

My installation was ok with no errors, but enabling it gave me also:

Enabling Postgrey at boot time ..
socket failed : Address family not supported by protocol

Fri, 05/08/2009 - 01:41 (Reply to #15)
Yorkki

Never mind, started the service and then enabled it again with no errors..

Fri, 05/08/2009 - 05:11 (Reply to #16)
andreychek

Yeah, there's a bug in the current version that causes the error you saw.

It's fixed in the next version, but as you discovered the solution it to just manually start it.
-Eric

Sun, 06/07/2009 - 07:54
george

I can not get this option to show up under Email Messages.

I am on CentOS 5.3, Virtualmin 3.68 GPL. A fairly new, clean installation (and all working very well).

No postgrey package was available so I got it from DAG (otherwise my system is standard). The postgrey service is running. I logged out/in, restarted webmin/usermin, rechecked the config, etc. all to no avail.

Being new to Virtualmin I am probably missing something obvious but have not been able to figure it out. Any ideas?

Fri, 05/08/2009 - 13:31
Joe
Joe's picture

It might not be in GPL. But I can't think of why it wouldn't be, as mail processing is not an area we differentiate. It's probably an oversight in the packaging script.

I'll ping Jamie. It'll probably be in 3.69.

I've also added postgrey to my linking script for the GPL repositories, so the postgrey package will appear there in the next update, as well.

--

Check out the forum guidelines!

Fri, 05/08/2009 - 15:24 (Reply to #19)
Joe
Joe's picture

Yes, the Postgrey feature isn't in the GPL version of Virtualmin yet .. but will be in the next release.

--

Check out the forum guidelines!

Fri, 05/15/2009 - 04:09
christophera

I have a couple of questions about this:

When I attempt to install postgrey on my vm gpl now...

---------
yum install postgrey || apt-get install postgrey
/etc/init.d/postgrey start
---------

I get:

-----------
Setting up Install Process
Parsing package install arguments
No package postgrey available.
Nothing to do
-----------

Is this because it's not in the gpl version yet?

Or should I be able to install it with this, but it won't actually show up in the panel?

If it should be installable, would it be in the virtualmin.repo?

Thanks, Chris

Fri, 05/15/2009 - 04:47 (Reply to #21)
andreychek

Yeah, currently, Greylisting a Pro-only feature.

However, I recently saw Joe hint elsewhere in the forums that moving that into the GPL version soon may be in the plans.

So perhaps in the near future that'll work just fine for you!
-Eric

Fri, 05/15/2009 - 05:21 (Reply to #22)
christophera

OK, thank you,

Chris

Fri, 05/15/2009 - 08:50 (Reply to #23)
Joe
Joe's picture

It's in 3.69, rolling out sometime this weekend.

But, postgrey should already be in the GPL repos for CentOS 5. What OS are you using?

--

Check out the forum guidelines!