The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

mailer.conf (5)
  • >> mailer.conf (5) ( FreeBSD man: Форматы файлов )

  • BSD mandoc
     

    NAME

    
    
    mailer.conf
    
     - configuration file for
    
    mailwrapper(8)
    
    
     
    

    DESCRIPTION

    The file /etc/mail/mailer.conf contains a series of lines of the form

    name program [arguments ... ]

    The first word of each line is the name of a program invoking mailwrapper(8). (For example, on a typical system /usr/sbin/sendmail would be a symbolic link to mailwrapper(8), as would newaliases(1) and mailq(1). Thus, name might be ``sendmail '' or ``newaliases '' etc.)

    The second word of each line is the name of the program to actually execute when the first name is invoked.

    The further arguments if any, are passed to the program followed by the arguments mailwrapper(8) was called with.

    The file may also contain comment lines, denoted by a `#' mark in the first column of any line.  

    FILES

    /etc/mail/mailer.conf  

    EXAMPLES

    This example shows how to set up to invoke the traditional sendmail(8) program:
    # Execute the "real" sendmail program located in
    # /usr/libexec/sendmail/sendmail
    sendmail        /usr/libexec/sendmail/sendmail
    send-mail       /usr/libexec/sendmail/sendmail
    mailq           /usr/libexec/sendmail/sendmail
    newaliases      /usr/libexec/sendmail/sendmail
    

    This example shows how to invoke a sendmail-workalike like Postfix in place of sendmail(8):

    # Emulate sendmail using postfix
    sendmail        /usr/local/sbin/sendmail
    send-mail       /usr/local/sbin/sendmail
    mailq           /usr/local/sbin/sendmail
    newaliases      /usr/local/sbin/sendmail
    

    This example shows the use of the mini_sendmail package from ports in place of sendmail(8). Note the use of additional arguments.

    # Send outgoing mail to a smart relay using mini_sendmail
    sendmail        /usr/local/bin/mini_sendmail -srelayhost
    send-mail       /usr/local/bin/mini_sendmail -srelayhost
    
     

    SEE ALSO

    mail(1), mailq(1), newaliases(1), mailwrapper(8), sendmail(8)

    postfix(1)PqPaports/mail/postfix, mini_sendmail8PqPaports/mail/mini_sendmail  

    HISTORY

    appeared in Nx 1.4 .  

    AUTHORS

    An Perry E. Metzger Aq perry@piermont.com  

    BUGS

    The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the "behave differently if invoked with a different name" behavior of things like mailq(1) should go away.


     

    Index

    NAME
    DESCRIPTION
    FILES
    EXAMPLES
    SEE ALSO
    HISTORY
    AUTHORS
    BUGS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру