Search results

  1. G

    How to install /usr/libexec/mail.local ?

    Not so lucky! I have removed files insides /usr/obj for disk space problem. In fact, I have already rebuild kernel + world according to the manual. Yes, It works. Although I still feel a little different from before, at least it looks all of the utility have come back. Thanks all of the help.
  2. G

    How to install /usr/libexec/mail.local ?

    I believe that I only runned pkg_delete and make deinstall of sendmail. I still do not understand yhy sendmail was removed. Do you mean that I need build kernel too?
  3. G

    How to install /usr/libexec/mail.local ?

    I also do not have makemap utility . oh my god. I just runned pkg_delete sendmail. who could teach me how to build up sendmail with all the utilities?
  4. G

    How to install /usr/libexec/mail.local ?

    Remove sendmail is really a foolish decision. Maybe my installation method is not correct. cd /usr/src/usr.sbin/sendmail/ make install What is the right way to install sendmail on freebsd after removed it? Below is current status. ns# ls /usr/bin/mail /usr/bin/mail ns# ls...
  5. G

    How to install /usr/libexec/mail.local ?

    This is a problem accompany with my former Post "Where is the /etc/mail from?" http://forums.freebsd.org/showthread.php?t=10745 Now I have installed sendmail again like below and sendmail works. But I get some error message ns# tail /var/log/messages Jan 28 16:36:55 ns sm-mta[36059]...
  6. G

    Where is the /etc/mail from?

    Thank a lot to inurneck. Under his instructions, I caught the reason that there is a backspace character appending to my hostname. This let /etc/mail/Makefile does not work well.
  7. G

    Where is the /etc/mail from?

    Thank you very much!! It really costed you much time. sorry , it is late at your hemisphere.
  8. G

    Where is the /etc/mail from?

    ns# ln -s mailwrapper sendmail ns# cd /etc/mail ns# make /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases /etc/mail/aliases: 27 aliases, longest 10 bytes, 275 bytes total chmod 0640 /etc/mail/aliases.db Maybe I only need to get /etc/rc.d/sendmail back.
  9. G

    Where is the /etc/mail from?

    I think I only removed /etc/mail and deinstall sendmail ports Maybe removed /etc/rc.d/sendmail. Maybe not. But I am sure I did not touch /usr/sbin/sendmail
  10. G

    Where is the /etc/mail from?

    ns# cp /usr/src/etc/mail/Makefile /etc/mail/Makefile ns# pwd /usr/src/etc/mail ns# ll total 22 -rw-r--r-- 1 root wheel 6818 Oct 25 10:10 Makefile -rw-r--r-- 1 root wheel 2905 Oct 25 10:10 README -rw-r--r-- 1 root wheel 634 Oct 25 10:10 access.sample -rw-r--r-- 1 root wheel 1667...
  11. G

    Where is the /etc/mail from?

    Good explanation! But how to solve the ns# ll /usr/sbin/sendmail ls: /usr/sbin/sendmail: No such file or directory ns# ll /usr/rc.d/sendmail ls: /usr/rc.d/sendmail: No such file or directory ns#
  12. G

    Where is the /etc/mail from?

    ns# cd /etc/mail ns# make /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases /usr/sbin/sendmail: not found *** Error code 127 Stop in /etc/mail. ns#
  13. G

    Where is the /etc/mail from?

    But why pkg_info does not show me the installed info of sendmail? Another question why we could not install sendmail from port? If we can not, what is the meaning of this port?
  14. G

    Where is the /etc/mail from?

    Just as you expected, it looks like I do not have src code. How to get it? Another silly question
  15. G

    Where is the /etc/mail from?

    ns# pwd /usr/src/usr.sbin/sendmail ns# make install install -s -o root -g smmsp -m 2555 sendmail /usr/libexec/sendmail install -o root -g wheel -m 444 mailq.1.gz /usr/share/man/man1 install -o root -g wheel -m 444 newaliases.1.gz /usr/share/man/man1 install -o root -g wheel -m 444...
  16. G

    Where is the /etc/mail from?

    ns# make deinstall && make distclean ===> Deinstalling for mail/sendmail ===> Deinstalling sendmail-8.14.3 ===> Cleaning for sendmail-8.14.3 ===> Deleting distfiles for sendmail-8.14.3 ns# pkg_info | grep sendmail ns# Then what should I do to install sendmail again?
  17. G

    Where is the /etc/mail from?

    Now I believed that all of the problems came from that there is a backspace appending with my hostname. Because of my silly operation, it got more complicated.
  18. G

    Where is the /etc/mail from?

    Yes, it works well. ns# make install-cf install -m 444 ns.goldenfire.com.cf /etc/mail/sendmail.cf ns# make /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases /usr/sbin/sendmail: not found *** Error code 127 Stop in /etc/mail. ns# I have installed sendmail with ports. But why there is...
  19. G

    Where is the /etc/mail from?

    I have to say "Google is great!"
  20. G

    Where is the /etc/mail from?

    This is a Chinese proverbs that "Teaching people how to catch a fish is better than just giving him a fish".
Back
Top