Re: lug-bg: qmail catch sended mail

2004-09-28 Thread Dimitar Katerinski
On , 2004-09-28 at 17:02, [EMAIL PROTECTED] wrote:
   !
 -  qmail   
   /
/,   
   ,  
/.

,

  ,   

   . 
  ,
 /var/qmail/control/badmailfrom.  
 
 , sender 
  
,   ,
  .qmail .
 ,  $HOME 
  
,vpopmail -
/path/to/vpopmail/domains/domain.com/user/.qmail . 
 :

| if [ $SENDER = [EMAIL PROTECTED] ]; then
 echo Keeping badguys from that user since 1980's
 exit 120
  fi
/path/to/users/directory/user/Maildir/

..  [EMAIL PROTECTED]  
 
,
./Maildir/  .

   
  qmail-scanner,
   QMAILQUEUE  (   
  
netqmail-1.05, ).
 
   MTA-,   
(From: ,
To:   ..).   .qmail
 
lifewithqmail.org  qmail.org, a qmail-scanner 

http://qmail-scanner.sourceforge.net/. 

- ,  
  .


,


-- 
The only thing necessary for the triumph of evil is for good men to do
nothing.
  --Edmund Burke. 



A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: qmail catch sended mail

2004-09-28 Thread Dimitar Katerinski
On , 2004-09-28 at 17:12, Peter Pentchev wrote:

 ,   
   Amavis  
   
,
   ,
 ,
 ;   
 ,  ,   
 ...
 

   qmail-scanner 1.23 
,  
/var/spool/qmailscan/mailstats.csv  
 
   qmail-scanner
  mysql
. ..   /etc/tcp.smtp  :
:allow,QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl

  
 MTA- .


,

-- 
The only thing necessary for the triumph of evil is for good men to do
nothing.
  --Edmund Burke. 



A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Gigabit Ethernet

2004-09-20 Thread Dimitar Katerinski
On Mon, 2004-09-20 at 15:58, Marian Popov wrote:
 Zdraveite.
 Moje li niakoi da mi preporycha mrejova karta 1GB, koiato da se
 poddyrja dobre ot Linux. Mashinata mi e na Debian 3.0r2 .
 
 Blagodaria.

Intel PRO/1000 (e1000)

  BroadcomNAPI  (  
,   
).,  
5705,   
   Trigon3 -, 
  
  .


,


-- 
The only thing necessary for the triumph of evil is for good men to do
nothing.
  --Edmund Burke. 



A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Gigabit Ethernet

2004-09-20 Thread Dimitar Katerinski
On Mon, 2004-09-20 at 17:35, George Danchev wrote:
 On Monday 20 September 2004 16:26, Dimitar Katerinski wrote:
  On Mon, 2004-09-20 at 15:58, Marian Popov wrote:
   Zdraveite.
   Moje li niakoi da mi preporycha mrejova karta 1GB, koiato da se
   poddyrja dobre ot Linux. Mashinata mi e na Debian 3.0r2 .
  
   Blagodaria.
 
  Intel PRO/1000 (e1000)
 
BroadcomNAPI  (  
  ,   
  ).,  
  5705,   
 Trigon3 
  -,   
.
 
  ?  ,  NAPI   
   Intel PRO/1000 
 (e1000)  Broadcom Tigon3, 
  ,  
NAPI.  ,   

 . /usr/src/linux-2.6.7/drivers/net/tg3.c,5705  

  , .

  , NAPI,  
   ,  
 ,  .  
 ,   
 BCM5705Tigon3.

,

-- 
The only thing necessary for the triumph of evil is for good men to do
nothing.
  --Edmund Burke. 



A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: qmail+qmail-scanner problem

2004-09-17 Thread Dimitar Katerinski
,
  .   qmail-scanne-queue.plSUID qscand,  
 suidperl,   . C wrapper,
contrib/ qmail-scanner-queue.

SUID   qmail-scanner-queue, ,  
qmail-scanner-queue.pl.
 ,   qmail-scanner-queue -z,  

  /var/spool/qmailscanqscand.,   

/var/spool/qmailscan:
chown -R qscand.qscand /var/spool/qmailscan
   C wrapper-a  /var/qmail/bin/qmail-scanner-queue,SUID 
.
 ,   /etc/tcp.smtp,   QMAILQUEUE=wrapper-a,   

 perl .  cdb database-a.  .
  /var/spool/qmailscan,  

  /etc/cron.daily i /etc/cron.weekly, 

 qmailscanner.
,

--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: firewall

2004-09-17 Thread Dimitar Katerinski
[EMAIL PROTECTED] wrote:
,IP 
10.0.0.2  firewalleth1 10.0.0.1  IP  eth0   
 
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT 
--to-destination 10.0.0.2
   ok,  
  , DNS-a   IP A.B.C.D.,  
 
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -d A.B.C.D -j 
DNAT --to-destination 10.0.0.2

  ?
,
.  DNS- ,   
 ,   10.0.0.0/Xquery,10.0.0.2
 ip addr   , IP. tinydns,  
,
 BIND ,.   
-
, , IP- 
LAN-a.
 .iptables :
iptables -t nat -A PREROUTING -i eth1 -s $LAN_NET -d $WWW_INET_IP -p tcp --dport 80 -j 
DNAT --to-destination 10.0.0.2
iptables -t nat -A POSTROUTING -o eth1 -d 10.0.0.2 -p tcp --dport 80 -j SNAT 
--to-source 10.0.0.1
 ,  ,   
  ip addr
10.0.0.1 .
.  netfilter mail list,
iptables-tutorial.frozentux.net.
,   .
,

--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: [OT] firewall

2004-09-17 Thread Dimitar Katerinski
 
Received: from [192.168.15.55] (unknown [192.168.15.55])
by biotronica.net (Postfix) with ESMTP id 84483D6CCF
for [EMAIL PROTECTED]; Fri, 17 Sep 2004 23:48:09 +0300 (EEST)
  ,   netfilter?   
  :).
Disclamer:
No offence. Just was kidding. {}
--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: firewall

2004-09-17 Thread Dimitar Katerinski
Vesselin Markov wrote:
 1 -   
IP   .   
  (   ).  
   2  -.
,.

..   -
   :)

,
,  1 ;-)  IP ,  
., , ,  ...
   .   DMZ- ... ,
,, DNS-, 
 1., ,
  ,  .
..
   , SMTP ,
  ip addr   . , 
IPSEC  -? :) .
--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: 2 IP

2004-09-14 Thread Dimitar Katerinski
Zhasmin Zhelev wrote:
?
  2 IP ?
 .
Slackware10   ()
,
,   .   , 
  ,   ifconfig ethX:N aa.bb.cc.dd .  ,
 2.2 ,iproute2 (
 ,   network  ),,
   interface aliases  .  ``ip'',  
   ip addrs   .   :
ip addr add aa.bb.cc.dd/prefix brd + dev ethX
 prefix/24,/16,/8  ..
   ,  alias-a  ,
  . ,  ip addrs   
   .   :
for c in `seq 1 255`; do for d in `seq 1 255`; do ip addr add 10.0.${c}.${d} dev eth0; 
done ; done
 ,   49 ,.
  `ip addr ls dev eth0',   1 , 
 Ctrl-C.
ip addrs ,   ping 10.0.xx.xx  

,reply  10.0.252.131.  ,   

10.0.1.1-10.0.252-131eth0, , 
.
 ,   ip addr add 10.0.0.2/24 brd + dev eth0 label eth0:0 ,  

   ifconfig eth0:0 10.0.0.2 netmask 255.255.255.0.   ,  
,
 the sky is the limit, .. RAM.
,
--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: OpenSwan IKE VPN

2004-07-29 Thread Dimitar Katerinski
,
  Free/SWAN,, 
  2.6   (KAME).FreeS/WAN  
http://www.freeswan.org/freeswan_trees/freeswan-2.06/doc/config.html
 net-to-net connection.
  ,  ,   
RSA sigs  PSK.
,

--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Routing problem

2004-07-28 Thread Dimitar Katerinski
Stefan Stoilov wrote:
,
,
,.
   2   ;-) 
 .  ,
  .
(   ) :
(192.168.111.2) wireless-bridge -- AP -- wireless bridge -- ROUTER 
/slack 10.0/ --  --
 , wireless-bridge-   . 
  ,   ,   MAC   
.,
  /etc/ethers  .  ?


192.168.0.1   192.168.1.1  
  ,   ip_forward ?
:
[EMAIL PROTECTED]:/etc/squid# ping 192.168.111.123
PING 192.168.111.123 (192.168.111.123): 56 octets data
64 octets from 192.168.111.123: icmp_seq=0 ttl=64 time=6.6 ms
64 octets from 192.168.111.123: icmp_seq=1 ttl=64 time=6.2 ms
 ,  ,  192.168.111.123 
? 192.168.0.0  192.168.0.1?
  192.168.1.0:(
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.111.123
  ,   
   .
 , ,  
.
 2.4.26 , 

  :)   ,
  wireless-ite .
  . .
,

--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: ; kernel-headers-?.?.?-????-?.tgz

2004-07-20 Thread Dimitar Katerinski
,
  wrote:
  :  Slackware 10.0   2.4.x. 
 .
   2.6.7.
   ;-) 2.6,.
 kernel-headers-2.4.x-i386-1.tgz? 
 ? 
 ? ,
   ,   2.6 kernel headers?
   
  ,  ?
 ?
   (   /  
)?
,   .   
include/
slackwarekernel headers,   
  :
PKG=/tmp/pack-kernel-headers
KERNEL_SRC=/path/to/kernel/souce
mkdir -p $PKG/usr/include/linux $PKG/usr/include/asm-i386
cp -a $KERNEL_SRC/include/{linux,asm-i386} $PKG/usr/include/
cd $PKG/usr/include ; ln -s asm-i386 asm ; cd $PKG
chown -R root.root .
makepkg -l y -c n kernel-headers-$VERSION-i386-1.tgz
 :)
  :
   Do NOT use the /usr/src/linux area! This area has a (usually
   incomplete) set of kernel headers that are used by the library header
   files.  They should match the library, and not get messed up by
   whatever the kernel-du-jour happens to be.
   README-  .
,/usr/src/linux,
 (  
 kernel-souce ),.

  /usr/src/linux  .
 /usr/include/linux/ (
/usr/src/linux-2.6.7 
linux - linux-2.6.7).
   ,  ,
header ,  include/.   ,  
 /usr/include/linux, ,
.
,

--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



[OT] Was: lug-bg: debian menu system + new kde

2004-07-19 Thread Dimitar Katerinski
  . 
 . ?
   ? ,   
   ,   ,.

Just my 2c,  .
P.S.- .
--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Sending many mails

2004-07-15 Thread Dimitar Katerinski
Alexander P. Panov wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Emil Sakalijski wrote:
| !
|   ,  
|  e-mail
|60-70 ,   
| 
| ,.  
| ?
|
| 10  !:)
|
| //
  e-mail 60-70 . 
  .  
To, Cc  Bcc 
....
  :).
--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Samba - Debian FreeBSD

2004-07-13 Thread Dimitar Katerinski
Dimitar Terziev wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
.
,
- Debian   FreeBSD, - 
  -,Debian-a.
 .
BSD-to:
mount_smbfs -I 192.168.1.2 //[EMAIL PROTECTED]/directory /share
,-   .
, ? :)
  man mount_smbfs ,~/.nsmbrc, 
 /usr/local/etc/nsmb.conf,  , 
,  man-  smbmount(   FreeBSD  ),
 :
smbmount {service} {mount-point} [-o options]
   options:
username=arg
password=arg
,:
smbmount //HOST/Service /mount/point -o username=pencho,password=penka
  .   FreeBSD.
 /etc/fstab (FreeBSD), .
//HOST/Service  /mount/point  smbfs  username=pencho,password=penka  0 0
   /usr/local/etc/nsmb.conf:
   ,  ,-,
  FreeBSD.
*
[default]
workgroup=MYGROUP
[Debian]
addr=192.168.1.2
[Debian:user]
password=parolata
*
   ,  
   -  ,  . , 
.
  ,   
  .

   -(nsmb.conf), 
  ?
  :)
- -- 
pub  DBFC6E5B  http://pgp.mit.edu
Key fingerprint = C1E3 A4E1 1BF5 779E 9814  1645 F935 2464 DBFC 6E5B
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA9BA9+TUkZNv8blsRAgcuAJwPVk55RJZn+vUnnTwH76WTGsS5NQCgh6YO
aYUNlMRycx3cMvcIB3KyRyk=
=tPo/
-END PGP SIGNATURE-
,

P.S.   ,,NFS. - ,
   . .
P.S.1 :   , ,
smbpasswd.
--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Samba - Debian FreeBSD

2004-07-13 Thread Dimitar Katerinski
George Danchev wrote:
snip
, , mount_smbfs
FreeBSD,   99% ,  mount_smbfs   mount.smbfs
 Linux,symlink  smbmount.  smbmount.
  shell wrapper   smbmount.
 P.S.1 :   , ,   
 smbpasswd.

   . ...   
mount_smbfs   .
 , ,   
. 
smbpasswd - The Samba encrypted password file
http://www.freebsd.org/cgi/man.cgi?query=smbpasswdsektion=5apropos=0manpath=FreeBSD+5.2-RELEASE+and+Ports
(note: url may be wrapped)
   / /usr/bin/smbpasswd  /etc/samba/private/smbpasswd?
.
  ,  LANMAN  NT Password Hash.   ,  
,
:)
.

--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: DNS server DB server

2004-06-28 Thread Dimitar Katerinski
Vesselin Kolev wrote:
Peter Pentchev wrote:
AOL  sqldjbdns ,
 :),  . /AOL
 

...  - RFC :)
-:)))

Po tochno koi RFC dokumenti? I koi imal po-osobena gledna tochka? DJB li? ;-)
Az lichno sym protiw Name server s sql backend, taka stawash zawisim i ot
backend-a.
DImitar
P.S. Ne na 6lokawizata!
--
The only thing necessary for the triumph of evil is for good men to do nothing.
  --Edmund Burke.

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html