From owner-freebsd-questions@freebsd.org Thu Jan 26 14:50:32 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A2BACC138C for ; Thu, 26 Jan 2017 14:50:32 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 89991CC5 for ; Thu, 26 Jan 2017 14:50:31 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id v0QEo6NB058970 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 26 Jan 2017 15:50:07 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id v0QEo6n0058967; Thu, 26 Jan 2017 15:50:06 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 26 Jan 2017 15:50:06 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Chuck Swiger cc: FreeBSD - Subject: Re: Envelope rewrite by sendmail? In-Reply-To: <05907976-C22E-4654-ADE2-40742929E975@mac.com> Message-ID: References: <05907976-C22E-4654-ADE2-40742929E975@mac.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 14:50:32 -0000 On Wed, 25 Jan 2017 13:29-0800, Chuck Swiger wrote: > On Jan 25, 2017, at 12:42 PM, Trond Endrestøl wrote: > > A mail messages arrives on the small SMTP server addressed to > > shorty@short.tld . Sendmail, though the aliases mechanism, forwards > > the message to long.name@some.incredible.long.domain.name.tld. > > > > Antispam measures such as SPF will flag the small SMTP server as not > > allowed to send email on behalf of the originator. > > Yes. You will need the admins of some.incredible.long.domain.name.tld > to agree and whitelist your short.tld mailserver if you want it to be a trusted relay. > > > Thus, prior to forwarding each message, the small SMTP server will > > need to masquerade as the originator and rewrite the envelope's from > > address to an address within the short.tld domain. > > Try not do that, unless both domains belong to you and share a common namespace for > delivery including aliases. Otherwise, From header munging will break various things, > most commonly mailing lists and bounce handling processing. Thank you for your input. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Thu Jan 26 14:50:56 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03291CC13FF for ; Thu, 26 Jan 2017 14:50:56 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 86868DC5 for ; Thu, 26 Jan 2017 14:50:55 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id v0QEobjh058980 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 26 Jan 2017 15:50:37 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id v0QEobDs058977; Thu, 26 Jan 2017 15:50:37 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 26 Jan 2017 15:50:37 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Bernt Hansson cc: FreeBSD questions Subject: Re: Envelope rewrite by sendmail? In-Reply-To: <741c3823-bc0a-f59b-d828-9afc8be9bacf@bananmonarki.se> Message-ID: References: <741c3823-bc0a-f59b-d828-9afc8be9bacf@bananmonarki.se> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 14:50:56 -0000 On Thu, 26 Jan 2017 08:31+0100, Bernt Hansson wrote: > On 2017-01-25 21:42, Trond Endrestøl wrote: > > Hi, > > > > I have users with email addresses ending in a long suffix. Combine > > this with long names in front of the @ sign, and it immediately gets > > very tedious to type an email address. > > > > We have a shorter domain name, and I was thinking of creating a small > > SMTP server to serve this short domain name and simply forward email > > to the main SMTP server. > > > > It is not possible to switch the main SMTP server to serve the short > > domain name. > > > > Here's an example: > > > > A mail messages arrives on the small SMTP server addressed to > > shorty@short.tld. Sendmail, though the aliases mechanism, forwards > > the message to long.name@some.incredible.long.domain.name.tld. > > > > Antispam measures such as SPF will flag the small SMTP server as not > > allowed to send email on behalf of the originator. > > > > Thus, prior to forwarding each message, the small SMTP server will > > need to masquerade as the originator and rewrite the envelope's from > > address to an address within the short.tld domain. > > > > Can this be accomplished using sendmail? Would the short address of > > the receiver suffice or should I use a fixed address regardless of the > > originator and/or the ultimate receiver? > > > > The OS on the small SMTP server will be FreeBSD 11. > > > > Any pointers are appreciated. > > > > http://www.sendmail.org/~ca/email/doc8.12/cf/m4/masquerading_relaying.html Thank you for your input. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Thu Jan 26 18:58:04 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B63D1CC3B47 for ; Thu, 26 Jan 2017 18:58:04 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B3B61926; Thu, 26 Jan 2017 18:58:01 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from [10.0.0.3] (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v0QIvvnW004672; Thu, 26 Jan 2017 19:57:58 +0100 (CET) (envelope-from bah@bananmonarki.se) To: "freebsd-questions@freebsd.org" , trasz@FreeBSD.org From: Bernt Hansson Subject: Need help with python Message-ID: Date: Thu, 26 Jan 2017 19:57:20 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 18:58:04 -0000 Hello list! I'm trying to run this program http://flatcam.org/ it's made in python. Got this same error whith py-pycam before it became a port. So what did the maintainer do with pycam. Pycam maintainer cc. This error is from flatcam, last line was the same with pycam. python2 FlatCAM.py Traceback (most recent call last): File "FlatCAM.py", line 3, in from FlatCAMApp import App File "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/FlatCAMApp.py", line 22, in from ObjectCollection import * File "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/ObjectCollection.py", line 2, in from FlatCAMObj import * File "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/FlatCAMObj.py", line 7, in from camlib import * File "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/camlib.py", line 13, in from numpy import arctan2, Inf, array, sqrt, pi, ceil, sin, cos, dot, float32, \ File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line 142, in from . import add_newdocs File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in from .type_check import * File "/usr/local/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in import numpy.core.numeric as _nx File "/usr/local/lib/python2.7/site-packages/numpy/core/__init__.py", line 14, in from . import multiarray ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc49/libgfortran.so.3 not found