Hello,
I'm developing a utility SNFMilterConfig that integrates an email milter
(SNFMilter) with sendmail, and am having difficulty because the file
/etc/mail/sendmail.mc doesn't exist on OpenSuse (i.e. isn't part of any
package). I'd like to know whether there's a way to automatically integrate a
milter with sendmail on OpenSuse. I'm working with OpenSuse 11.0, but would
like to support current and recent versions of OpenSuse.
I've learned that SuSEconfig is used to configure sendmail by reading
/etc/sysconfig/sendmail and creating sendmail.cf from a temporary sendmail.mc
file. Although /etc/sysconfig/sendmail is well-commented, I couldn't find any
mention of milters.
A google search of SuSEconfig turned up the "Unofficial SUSEFAQ"
(sysefaq.sourceforge.net/faq/suseconfig.html), "SuSEconfig and /etc/sysconfig"
(www.novell.com/documentation/suse91/suselinux-adminguide). These described
SuSEconfig, but I couldn't find any info on configuring a milter.
My search of the OpenSuse forums and help portal wasn't fruitful.
SNFMilterConfig integrates the milter with postfix by modifying the
/etc/postfix/main.cf file (which is part of the postfix package). Is there an
analogous configuration file for sendmail that SNFMilterConfig can modify to
integrate the milter?
I'd appreciate any suggestions and references. Please also let me know if
there is another more appropriate list for this issue.
Thanks,
Alban
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-programming+owner(a)opensuse.org
Hi,
I'm trying to connect widget with my own method. Using such
implementation I get success:
self.action_wired = QAction(QIcon("images/wired.png"), Interface, self)
self.trayMenu.addAction(self.action_wired)
self.connect(self.action_wired, SIGNAL("triggered()"), self.wired)
...
def wired(self):
print hello
but I want to call "self.wired" with parameter/argument. Such call is failed:
self.connect(self.action_wired, SIGNAL("triggered()"), self.wired(Interface))
TypeError: arguments did not match any overloaded call:
QObject.connect(QObject, SIGNAL(), QObject, SLOT(),
Qt.ConnectionType=Qt.AutoConnection): argument 3 has unexpected type
'NoneType'
QObject.connect(QObject, SIGNAL(), callable,
Qt.ConnectionType=Qt.AutoConnection): argument 3 has unexpected type
'NoneType'
QObject.connect(QObject, SIGNAL(), SLOT(),
Qt.ConnectionType=Qt.AutoConnection): argument 3 has unexpected type
'NoneType'
Method "wired" should get information about interface:
def wired(self, Interface):
print Interface
So, the question is pretty easy: how to call method via "connect" with
argument? Is it really possible?
Using such call, but not as one of connect's parameters, it works
well: self.wired(Interface).
Thank you
Alex
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-programming+owner(a)opensuse.org
Hi there,
I´ve been a Linux user for many years, but I´ve not yet learned to code.
I speak some Bash and have good general knowledge about x86 hardware,
but that´s all. What would you recommend how to start learn programming?
Would you start with a scripting language like Python or Perl or just
with C/C++? Automating things or controlling apps with Perl/Python would
already be a good thing.
What do you say?
thanx
Malte
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-programming+owner(a)opensuse.org
I've got a new daemon that needs to run on openSUSE 12.2 and 11.0. There
is no problem on the former, but on 11.0 I run into $SUBJ every now and
then. Not frequently, but it's a problem.
Pseudo-code:
fork()
the child closes stdin, prepares to stdout write to a pipe
getpwnam() so I can setuid()
execv().
Why would the getpwnam() call result in too many open files??
--
Per Jessen, Zürich (0.1°C)
http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-programming+owner(a)opensuse.org