mail howto 7 7wd7rtwcevquv7ut24obbw7cs5j7r5ryrgsvjia 7wd7rtwcevquv7ut24obbw7cs5j7r5ryrgsvjia 7WD7RTWCEVQUV7UT24OBBW7CS5J7R5RYRGSVJIA


The Linux Electronic Mail HOWTO: POP mail 7. POP mailThis section also concerns IMAP, not very different from POP.7.1 HistoryOn a workstation network, mail has always been a problem:Either you use "user@computer.foo.com" with problems when "computer" is down, making your network known to the people outside, having different addresses for a same person switching to another computer, ...Either you take a mail hub, "mailhost.foo.com" with rules for rewriting, so every user seems to post from the same address, even if they are on different computers.But in that case, how can user read their mail ?Using a rsh with elm ? :-)It would overload our mail hub ! One method was forwarding or UUCP, smtp, etc. but it's too complicated.Then came POP/IMAP, both with security problems at the beginning, now fixed using ssh on new versions) : a mail program has sometimes to be set locally (like qmail, smail or vmail if, for example, you use elm, but mozilla will avoid that !) however, getting and sending Email is simpler.7.2 Getting mailHere come POP's main drawbacks : the password is sent as a clear text on the network, and some mail readers just don't know POP : you must choose a POP-aware mailer, like Pine, Emacs, Netscape, Mutt ...Password problem can be solved creating a crypted "channel" to have POP on it or using APOP or RPOP extensions. The mail reader problem can be solved either by changing mail reader (mozilla is POP ready, as are Emacs and pine) or by using a POP "mail sucker" with a local mail program.Here're some pop programs worth trying :gwpop (a Good Way to POP) is very protected since it creates a crypted "channel" and puts mail directly in the "spool" ; however, it depends on Perl.popclient, simple to use : For exaple if your login is john and your password PrettySecret, you will run : $ popclient -3 -v mail.acme.net -u john -p "PrettySecret" -k -o JOHN-INET-MAILfetchmail, which is actively supported and incredibely simple to use : it is configured in ~/.fetchmailrc, so you only need to run fetchmail when you want to retrive your mail. Here's my .fetchmailrc : poll mail.server protocol pop3: forcecr password PrettySecret;Please note forcecr option is needed to use fetchmail with qmail which strictly respects RFCs.7.3 Sending mailFor this, you must use smtp-aware mail software, like qmail, smail, vmail or mozilla (this one does everything : mail reader, POP receive, smtp send !)Go to one of the previous sections to install and configure the one you like best. Then, will you will reach "Testing", try to send some mail to a local account on the mail hub.7.4 Reading mailIf your program doesn't do everything itself, you can install elm, pgp, mush, pine ... many good programs are freely available for linux platforms !7.5 TestingTo check your mail server has pop, try : $ telnet mailhost 110If it works, you will get something like "OK Pop server (...) starting" : type "quit" !To install a ssh crypted "channel", first test your mail server typing : $ ssh mailhost dateIf you get the date, you should be OK. Please note ssh will not ask for a password, therefore you must create a ".shosts" file on the mail server, containing client's name. To test ssh port redirection (which gwpop uses), type : $ ssh -n -f -L 12314:localhost:110 mailhost sleep 30 then $ telnet localhost 12314Then will you hopefully see mail hub's pop banner. If you don't use ssh, don't forget to comment out $ssh on gwpop script. To check whether procmail is running, try "procmail -v"7.6 UsingNow you can edit gwpop Perl script to check everything is ok, then run gwpop : $ gwpop -v your-username POP password on mailhost: yoursecretpaswordIf gwpop "error messages" are normal, the mail from mail hub will be downloaded to your local machine whereever you told gwpop to put it. (please test with some mail !).You can also use gwpop as a daemon : $ gwpop -d $HOME/tmp your-usernamegwpop messages are then sent to syslog and gwpop will run endlessly ; a "HUP" signal will force gwpop to get your mail.You can get POP software here used on : ftp://ftp.pasteur.fr/pub/Network/gwpop ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail http://www.cs.hut.fi/ssh/

Wyszukiwarka

Podobne podstrony:
mail howto 6 ulk4fm6ss4xaa3hhsbrkra7qrpmayo5gstu5wyq ulk4fm6ss4xaa3hhsbrkra7qrpmayo5gstu5wyq
mail howto 4 2sd5anpilu3m7wj2pw3heftngh263gfirkl7ohi
mail howto 9 gdrjjf7bt6olnmgii577hu62ehcupvn4ascg4ha
mail howto 1 yfhqez5avkggyke2rm3tqpqfybzytd6cgwo7nby
mail howto 8 7yplr6d2xr5qnul6f5vvef5zrlwk7cjmgekpkjy 7yplr6d2xr5qnul6f5vvef5zrlwk7cjmgekpkjy
mail howto 3 5soo7swfhpvb7cvqtz7kuddx53lb43aj5qkezyy
mail howto 2 alslsblytys7nlz6zedsm2tvj6xzc4kwkg7jp6q
mail howto 4wo44zshsnqjukubqvtk2vi6gkbuzdecn6qmnnq 4wo44zshsnqjukubqvtk2vi6gkbuzdecn6qmnnq
HOWTO Setup a Virtual Postfix Courier Mail System with PostfixAdmin Gentoo Linux Wiki
bootdisk howto pl 8
PPP HOWTO pl 6 (2)
NIS HOWTO pl 1 (2)
kernel howto 3 clbigwpagydoy3epnkmic3ys7wlqwsg4rlwwgvq clbigwpagydoy3epnkmic3ys7wlqwsg4rlwwgvq
consultants howto 18
cdrom howto pl 1
jtz howto pl 5
Keystroke HOWTO pl (2)
PostgreSQL HOWTO pl 14

więcej podobnych podstron