Pagina 2 di 2 primaprima 1 2
Visualizzazione dei risultati da 11 a 16 su 16

Discussione: avvio al boot

  1. #11
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    2,894
    E' il controllo della coda...

  2. #12
    sii piu specifico;
    So che è il comando della coda, ma non so come mai se io gli dò dei comandi lui non li esegue

  3. #13
    scusa
    controllo

  4. #14
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    2,894
    Originariamente inviato da alexdem24
    sii piu specifico;
    So che è il comando della coda, ma non so come mai se io gli dò dei comandi lui non li esegue
    codice:
    -q[time]
                  
    Process saved messages in the queue at given intervals.  
    If time is omitted,  process  the  queue  once.
    Time  is given as a tagged number, with `s' being seconds, 
    `m' being minutes (default), 
    `h' being hours, `d' being days, and `w' being weeks.  
    For example, `-q1h30m' or `-q90m' would both set  
    the  timeout  to one  hour  thirty  minutes. 
    By  default, sendmail will run in the background.  
    This option can be used safely with -bd.

  5. #15

    ecco

    questo è il mio sendmail configuration file

    ------ Inizio -------

    #! /bin/sh
    # Copyright (c) 1996-2002 SuSE Gmbh Nuernberg, Germany.
    #
    # Author: Florian La Roche, 1996, 1997
    # Werner Fink <feedback@suse.de>, 1996, 1999-2002
    #
    ### BEGIN INIT INFO
    # Provides: sendmail
    # Required-Start: $remote_fs $time
    # Required-Stop:
    # X-UnitedLinux-Should-Start: amavis ypbind
    # X-UnitedLinux-Should-Stop:
    # Default-Start: 3 5
    # Default-Stop:
    # Description: Start the Sendmail MTA
    ### END INIT INFO

    test -s /etc/sysconfig/mail && \
    . /etc/sysconfig/mail

    test -s /etc/sysconfig/sendmail && \
    . /etc/sysconfig/sendmail

    if test -z "$SENDMAIL_ARGS" ; then
    SENDMAIL_ARGS="-L sendmail -Am -bd -q30m -om"
    fi
    if test -z "$SENDMAIL_CLIENT_ARGS" ; then
    SENDMAIL_CLIENT_ARGS="-L sendmail-client -Ac -qp30m"
    fi
    if test "$SMTPD_LISTEN_REMOTE" != "yes" ; then
    SENDMAIL_ARGS="-O DaemonPortOptions=Addr=127.0.0.1 $SENDMAIL_ARGS"
    fi
    msppid=/var/spool/clientmqueue/sm-client.pid
    srvpid=/var/run/sendmail.pid

    . /etc/rc.status
    rc_reset
    case "$1" in
    start)
    echo -n "Initializing SMTP port (sendmail)"
    startproc -p $srvpid /usr/sbin/sendmail $SENDMAIL_ARGS
    rc_status
    startproc -f -p $msppid /usr/sbin/sendmail $SENDMAIL_CLIENT_ARGS
    rc_status -v
    ;;
    stop)
    echo -n "Shutting down SMTP port"
    killproc -p $msppid -TERM /usr/sbin/sendmail
    rc_status
    killproc -p $srvpid -TERM /usr/sbin/sendmail
    rc_status -v
    ;;
    try-restart)
    $0 stop && $0 start
    rc_status
    ;;
    restart)
    $0 stop
    $0 start
    rc_status
    ;;
    reload|force-reload)
    echo -n "Reload service sendmail"
    killproc -p $srvpid -HUP /usr/sbin/sendmail
    rc_status -v
    ;;
    status)
    echo -n "Checking for service sendmail: "
    checkproc -p $srvpid /usr/sbin/sendmail
    rc_status
    checkproc -p $msppid /usr/sbin/sendmail
    rc_status -v
    ;;
    probe)
    test /etc/sendmail.cf -nt $srvpid -o /etc/mail/submit.cf -nt $msppid \
    && echo reload
    ;;
    *)
    echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}"
    exit 1
    esac
    rc_exit

    ------ Fine -------

    Sapresti dirmi dove poter metter questa stringa
    "sendmail -bd OPrivacyOption=noetrn -ODeliveryMode=queueonly -OQueueDirectory=/var/spool/mqueue.in" in modo da far partire sendmail con queste opzioni ?

    grazie per la pazienza



    Segnala questo messaggio

  6. #16
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    2,894
    SENDMAIL_ARGS="-O DaemonPortOptions=Addr=127.0.0.1 $SENDMAIL_ARGS"

    Pare che lì si debbano settare gli argomenti da passare a SENDMAIL...

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.