Reading my mail from NT1 (qpopper)
2009-05-13 13:17:15来源:未知 阅读 ()
If you've been following this diary, you'll know I can't read my FreeBSD mailbox from Pegasus under NT. Here's the question I posted to the
FreeBSD Questions mailing list
.
I've installed qpopper. I have two users on my system. I'm trying to read their mailboxes from my NT box using the Pegasus mail client. I can read the mail for one user, but not for the other. The message displayed on the console is "-ERR Password supplied for "root" is incorrect".
I hope it's wanting the same password as used to logon using root at the console. Because that's what I'm supplying
I notice that in /var/mail, I have the following entries:
.abcdef.pop abcdef root
I don't get the error for the abcdef user (not the actual name). Should there be a .root.pop entry in this directory? If so, how should it be created?
One of the replies I received suggested that root cannot login over the network (by default). This was to prevent dictionary attacks against telnet. The writer suggested I add a .forward file in /root. They figured they were making a guess. But they weren't far wrong.
.forward and /etc/aliases
I started searching for .forward documentation. In the
mailing list archives
I found a reference to /etc/aliases. If you check this file, you'll find a section that looks like this:
# Well-known aliases -- these should be filled in!
#root:
#manager:
#dumper:
For my situation, I changed the above to the following:
# Well-known aliases -- these should be filled in!
root: abcdef
manager: abcdef
dumper: abcdef
After making these changes, remember to run newalisases so that you changes will show through to
sendmail
.
Testing the forward
To test this, I started mail and sent mail to root in the hopes that it was forwarded to abcdef. Here's how to do that:
& m root
Subject: hi there.
How are you?
^d
What you type is in italics. Everything else is a machine generated prompt.
Getting the email
The object of this exercise was to allow me to read my FreeBSD mailbox from NT1 (see
topology
). In Pegasus, I set my POP3 host to be the FreeBSD box. The user name and password reflected the abcdef account. Your email client will have similar settings.
Well, it worked! I can read my mailbox from NT1. Great!
What about the stuff in the mailbox?
I have 30 messages in the root mailbox. How do I forward existing message to another user? That's for
another day
.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4206/showart_523245.html
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- Freebsd oracle 10g 2009-05-13
- FreeBSD下nginx+fast-cgi+mysql+zend的实现 2009-05-13
- gd 安装报错.求助 2009-05-13
- KDE/FreeBSD 测试 QT-4.5.1. 2009-05-13
- OpenBSD 4.5下安装Gnome 2.24成功! 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash