Email issues, relay failure, perhaps Jails is causing it.

Bender, Chris chris_bender at cellularatsea.com
Sat Feb 25 23:55:18 UTC 2012


Hi Brent

Yes the system we are calling X, is jailed by another system. 

Here is the jailer system:

zs1#  netstat -aptcp | grep smtp
tcp4       0      0 tools2.smtp            10.156.31.20.45081
SYN_RCVD
tcp4       0      0 tools2.smtp            *.*                    LISTEN
tcp4       0      0 rt3.smtp               *.*                    LISTEN
tcp4       0      0 npims.smtp             *.*                    LISTEN
tcp4       0      0 wiki.smtp              *.*                    LISTEN
tcp4       0      0 localhost.smtp         *.*                    LISTEN

I see smtp running on several systems it has jailed including system X.
I see above a smtp conversation between system X and 10.156.31.20.
But that is never delivered from what I have seen. I am not sure about
the queues
Or how to see in postfix what exactly is happening?

I think a lot of this stopped working after we rebooted the jailer
system. Jails really should have no affect on
This it is a virtual machine essentially, at least that is my thoughts.

What happen to your thought that snmp needs to run as a non mailer
system?

Thanks

regards

-----Original Message-----
From: Bernt Hansson [mailto:bah at bananmonarki.se] 
Sent: Saturday, February 25, 2012 6:11 PM
To: Bender, Chris
Cc: freebsd-questions at freebsd.org; Jon Radel
Subject: Re: Email issues, relay failure

2012-02-25 23:29, Bender, Chris skrev:
> Hi Brent,
> Thanks for that, I am still digesting it.
>
> tools2# uname -a
> FreeBSD tools2 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #
>
> So I put a 0 in the first two octets of the ip address below, but  
> that IP address is A.
> I am not sure what that means. I was horsing around and tried to start

> sendmail On X then I tried to send an email from A. I have no  idea 
> what all that means.
>
> Here is netstat results:
> netstat: kvm not available: /dev/mem: No such file or directory
> tcp4       0      0 tools2.smtp            0.0.81.10.33679
SYN_RCVD
> tcp4       0      0 tools2.smtp            *.*
LISTEN

Ok. I'm stabbing in the dark here, but didn't you say that X was a jail
system?

Is every postfix process in a jail?

I have never used a jailed system. So my WILD guess it's a something
with jail, or jail setup.


> What is non $mail_owner privileges or how to determine that?
>
> tools2# postconf -d | grep mail_version mail_version = 2.7.0 
> milter_macro_v = $mail_name $mail_version
>
> I am still not sure about the non mail owner issue yet, but I would 
> think because this has run in the past that it wouldn't have changed.
> And how do I run smtp as a non mail user when I am root?
>
> Hopfully we are getting somewhere.....


More information about the freebsd-questions mailing list