Centos Linux ile Faks sunucusu kurmak

24. April 2009

Read this article in your language IT | EN | DE | ES

Centos üzerine hylafax kurulumu


rpm -e mgetty-sendfax komutuyla varsa mgetty-sendfax programını kaldırıyoruz.
yum install hylafax ile hylafax programını kuruyoruz. Bazı yum repolarında hylafax bulunmaz. Bu durumda:

wget http://yum.trixbox.org/centos/5/RPMS/hylafax-4.4.4-1rhel5.i386.rpm komutuyla kendimiz indirelim ve

rpm -ivh hylafax-4.4.4-1rhel5.i386.rpm komutuyla hylafax rpm'ini kuralım.

groupadd faks
useradd –g faks faks
Komutlarıyla faks için kullanıcı adı ve grup oluşturuyoruz.

/usr/sbin/faxsetup komutuyla faks programını yapılandırıyoruz.

Users to receive fax-related mail [root] sorusuna faks cevabını veriyoruz.
Country code [1] 90 yazıyoruz
Area code [000] ? karşısına 216 yazıyoruz.
Long distance dialing prefix [1] ? karşısına 0 yazıyoruz
International dialing prefix [011] ? karşısına 00 yazıyoruz

Do you want to run faxaddmodem to configure a modem [yes] ? no diyerek çıkıyoruz

Şimdi :
/usr/sbin/faxaddmodem komutuyla modem ekliyoruz. Bizim örneğimizde com1 portunu kullandık.
Serial port that modem is connected to [] ? ttyS0 yazıyoruz
Country code [90] ? bu şekilde bırakıyoruz. Çünkü faxsetup ile bunları ayarlamıştık.
Area code [216] ?
Phone number of fax modem [+1.999.555.1212] ? buraya faks hattımızın numarasını yazıyoruz. Örneğin +90.216.4440444
Local identification string (for TSI/CIG) [“NothingSetup”] ? Buraya kendimizi tanıtacak bir metin yazıyoruz. Örneğin Egeonlne.Com
Long distance dialing prefix [1] ? 0 yazıyoruz
International dialing prefix [011]? 00 yazıyoruz
Dial string rules file (relative to /var/spool/hylafax) [etc/dialrules]? direk enter'a basıyoruz
Tracing during normal server operation [1]?
Tracing during send and receive sessions [0xFFF]?
Protection mode for received facsimile [0600]?
Protection mode for session logs [0600]?
Protection mode for ttyS0 [0600]?
Rings to wait before answering [1]?  Doğrudan enter'a basıyoruz. Böylece 1 çalmada faksı almasını söylüyoruz. Eğer faksa cevap vermeden önce 2 yada 3 defa çalmasını istiyorsanız buraya ona göre rakkam girmelisiniz.
Modem speaker volume [off]?
Command line arguments to getty program ["-h %l dx_%s"]?
Pathname of TSI access control list file (relative to /var/spool/hylafax) [""]?
Tag line font file (relative to /var/spool/hylafax) [etc/lutRS18.pcf]?
Tag line format string ["From %%l|%c|Page %%P of %%T"]?
Time before purging a stale UUCP lock file (secs) [30]?
Hold UUCP lockfile during inbound data calls [Yes]?
Hold UUCP lockfile during inbound voice calls [Yes]?
Percent good lines to accept during copy quality checking [95]?
Max consecutive bad lines to accept during copy quality checking [5]?
Max number of pages to accept in a received facsimile [25]?
Syslog facility name for ServerTracing messages [daemon]?
Set UID to 0 to manipulate CLOCAL [""]?
Use available priority job scheduling mechanism [""]?

The non-default server configuration parameters are:

CountryCode:            90
AreaCode:               216
FAXNumber:              +90.216.4943899
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        YARDGEM DENIZCILIK
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25

Are these ok [yes]?

Böylece modemi eklemiş olduk.

Şimdi /etc/inittab dosyasının en altına aşağıdaki kodu ekliyoruz:
#Hylafax
mo:2345:respawn:/usr/sbin/faxgetty ttyS0

/usr/sbin/ntsysv komutunu çalıştırıp hylafax servisinin işaretli olduğundan emin olun. eğer işaretli değilse işaretleyip ok basın

Kurulum esnasında hylafax programı /etc/aliases içinde FaxMaster adında bir alias oluşturuyor. Gelen faksların kime iletilmesini istiyorsak bu aliası o şekilde değiştiriyoruz.
FaxMaster: faxuser@mydomain.com Bu e-Posta adresi istek dışı postalardan korunmaktadır, görüntülüyebilmek için JavaScript etkinleştirilmelidir şeklinde olan girdiyi faxuser@mydomain.com Bu e-Posta adresi istek dışı postalardan korunmaktadır, görüntülüyebilmek için JavaScript etkinleştirilmelidir un yerine faksları almasını sitediğiniz kişinin adı ile değiştirin.
ardından
/usr/bin/newaliases komutunu çalıştırın ki değişikliklerimiz etkili olsun.
reboot yada /sbin/init q komutuyla servisleri yeniden başlatıyoruz.

Kaynak Egeonline.com

 

FacebookDigg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Linux , ,

Comments

5/6/2010 1:19:32 AM #
The best option is to buy the forex broker. You do not want to risk your hard earned money with a free broker. The service providers shall not be accountable to you in any form or manner if you opt for free brokers. Paying money for an online account with a broker will ensure you can demand quality services as a matter of right. Since you shall be spending your hard earned money, it is important to know how to proceed when buying the broker.
5/15/2010 1:18:26 PM #
Man, I've been looking all over for this stuff.  Thanks.  Do you have any other sites other than Centos Linux ile Faks sunucusu kurmak?  I'd like a list of the best way to prepage for all of this and what is the best place to start?  It'd be nice, no?
5/17/2010 12:43:50 AM #
The service providers shall not be accountable to you in any form or manner if you opt for free brokers. Paying money for an online account with a broker will ensure you can demand quality services as a matter of right. Since you shall be spending your hard earned money, it is important to know how to proceed when buying the broker.
5/21/2010 5:05:55 PM #
Hi admin, your web page's design is fancy and i like it. Your posts are great. Please continue this great work. Cheers!!
5/22/2010 1:25:57 AM #
Every time I see blogs as good as this I KNOW I should stop surfing and start working on mine!
5/30/2010 12:50:15 PM #
well done!nice job!
5/31/2010 8:52:15 PM #
This is a great post, I stumbled across your post while looking for rock lyrics. Thanks for sharing, I'll be sure to return regularly.
6/1/2010 4:32:34 AM #
Hey, just want to say that i like your blog, but i can't understand totally! Yeah, you are so professional!
6/2/2010 5:42:48 PM #
thanks,buddy,i like it
6/4/2010 11:21:38 PM #
I'm gonna be installing Karmic on my mother's notebook, a Dell Inspiron. Are there driver incompatibilities I should be worried about?
6/8/2010 2:22:09 AM #
What if you could have completely free acess to celebrity secrets that would change your life forever? Learn to be more confident, a more effective communicator, a more dynamic personality and more successful in love and business!
9/4/2010 1:37:02 AM #
I have noticed the looks of your web page which platform are you currently using?
9/4/2010 10:45:27 AM #
Hi there, I believe that your writing is rather good with lots of insightful data. By the way, was overcurious whether you would love to exchange web links with my website, as I am looking forward to establish web links to further broaden and get better web exposure for my website. I don't really mind you placing my contacts at the main page, just getting this links on this particular link is more than adequate. Moreover, would you be kind enough leave a message at my web site if you are interested in swapping links, I would really value that. Best wishes from me and hopefully to get a reply from you very soon!
9/4/2010 4:31:45 PM #
Great site for the information I need.
9/5/2010 1:23:36 AM #
Get all the ideal anime here
9/5/2010 1:03:17 PM #
Around motivational publish you bear at this juncture. Seems to lots of persons enjoyed and benefited from it. Cheers and appreciation.
9/5/2010 4:11:51 PM #
Thanks for posting this. I really appreciate it.

Add comment


(Will show your Gravatar icon)

biuquote
  • Comment
  • Preview
Loading



Sayfa 0.015625 saniyede yuklendi.