On 6/1/05, Ken Schneider
On Wed, 2005-06-01 at 13:16 -0600, Boyd Lynn Gerber wrote:
Hi Ken,
On Wed, 1 Jun 2005, Ken Schneider wrote:
Anyone know how to create a socket? Running milter-amavisd which is expecting a socket file in /var/run/amavis and the dir is empty.
I often use mknod
mknod -p socket_name
or
mknod p socket_name
depending on version of linux.
That just gives me the following error:
pc5:# mknod -p /var/run/amavis/amavis-milter.sock mknod: invalid option -- p Try `mknod --help' for more information.
And I get the same error with mknod p (without the minus sign.
And please keep it on the list.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
"The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hi Ken, you are running amavis under sendmail, right? you shouldn't simply create a socket file just for fun.. its like redirecting a telephone conversation to /dev/null ;) sockets are a communication basis, most of the time in network context, but there is also the same technique to enable communication between two applications using socket files. In your case ( I just guess you might have this case ), we have 3 part-apps that need to talk. sendmail - amavis-milter - amavisd I'm not really sure, but if it goes in this direction, I could dig into my old amavisd setups ( I remember having used such setups in a mail-relay build up on SLE 8.1.. ) Markus