[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sunucu
Subject:    [Linux-sunucu]  Icinga Mail Alma Problemi
From:       "Muharrem Aydin" <muharrem () muharremaydin ! com>
Date:       2014-06-20 14:09:45
Message-ID: 3184b811e4906b3e0f269f2dde59a5d7 () muharremaydin ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Merhabalar,

Icinga server #apt-get install postfix kurulumunu yaptim....


icinga server dan gelen Critical ve Warning mesajlarini cok gec aliyorum.. acaba \
neyden kaynaklanabilir ? ben yapmis oldugum konfigurasyonu buraya yaziyorum... Test \
icin HDD ve CPU nun degerlerini düsrüdüm Icinga da Critical uyarisi aliyorum   \
Hardiksin Uyarisi Maile geliyor ama gec geliyor..... CPU hic gelmiyor.. Acaba nerede \
yanlis yapiyorum ?


#   nano /etc/icinga/objects/contacts_icinga.cfg


define contact {
            contact_name                                           root
            host_notifications_enabled                1
            host_notification_period                      24x7
            host_notification_options                   d,u,r
            host_notification_commands            notify-host-by-email
            service_notifications_enabled         1
            service_notification_period               24x7
            service_notification_options               w,u,c,r
            #service_notification_commands   notify-by-email
            service_notification_commands    notify-service-by-email
            email                                                            \
aydin@test.de  }




define contactgroup{
            contactgroup_name          admins
            alias                                           Icinga Administrators
            members                                 root


            }






#  nano /usr/share/doc/icinga-common/examples/template-object/contacts.cfg


define contact{
            contact_name                              icingaadmin                   ; \
                Short name of user
            use                                                    generic-contact    \
                ; Inherit default values from generic-contact template (defined \
                above)
            alias                                                   Icinga Admin      \
; Full name of user


            email                                                 aydin@test.de       \
; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******  }






###############################################################################
###############################################################################
#
# CONTACT GROUPS
#
###############################################################################
###############################################################################


# We only have one contact in this simple configuration file, so there is
# no need to create more than one contact group.


define contactgroup{
            contactgroup_name          admins
            alias                                           Icinga Administrators
            members                                 icingaadmin
            }




# nano /etc/icinga/commands.cfg




# 'notify-host-by-email' command definition
define command{
            command_name      notify-host-by-email
            command_line      /usr/bin/printf "%b" "***** Icinga *****\n\n \
\Notification Type: $NOTIFICATIONTYPE$\n \Host: $HOSTNAME$\n \State: $HOSTSTATE$\n \
\Address: $HOSTADDRESS$\n \Info: $HOSTOUTPUT$\n\n \ Date/Time: $LONGDATETIME$\n" | \
/usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" \
$CONTACTEMAIL$  }


# 'notify-service-by-email' command definition
define command{
            command_name      notify-service-by-email
            command_line      /usr/bin/printf "%b" "***** Icinga *****\n\n \
\Notification Type: $NOTIFICATIONTYPE$\n\n \Service: $SERVICEDESC$\n \Host: \
$HOSTALIAS$\n \Address: $HOSTADDRESS$\n \State: $SERVICESTATE$\n\n \Date/Time: \
$LONGDATETIME$\n\n \Additional Info:\n\n \$SERVICEOUTPUT$\n" | /usr/bin/mail -s "** \
$NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" \
$CONTACTEMAIL$  }




# nano windows.cfg






define host{
            use                                       generic-host                  ; \
Name of host template to use  host_name                      test
            alias                                     test
            address                              192.168.200.21
            contact_groups               admins
            contacts                              root
            }




define service{
            use                                                            \
generic-service             ; Name of service template to use  host_name              \
test  service_description                           Disk FreeSpace
            check_command                                 \
check_snmp_storage!public![^C]:!1!2  notification_period                              \
24x7  notification_interval                           30
            notification_options                           c,w
            check_period                                       24x7
            check_interval                                     5
            retry_interval                                       1
            max_check_attempts                     10
            contact_groups                                 admins
            contacts                                                root


            }




define service{
            use                                                       generic-service \
; Name of service template to use  host_name                                        \
test  service_description                      CPU Load
            check_command                            snmp_cpu!public!1!2
            notification_period                        24x7
            notification_interval                     30
            notification_options                      c,w
            check_period                                  24x7
            check_interval                               5
            retry_interval                                 1
            max_check_attempts                10
            contact_groups                            admins
            contacts                                          root
            }




# nano /etc/postfix/main.cf




# See /usr/share/postfix/main.cf.dist for a commented, more complete version




# Debian specific:   Specifying a file name will cause the first
# line of that file to be used as the name.   The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname


smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no


# appending .domain is the MUA's job.
append_dot_mydomain = no


# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h


readme_directory = no


# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache


# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.


myhostname = icingamon.test.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = icingamon.test.com, localhost.test.com, , localhost
relayhost = 192.168.200.121       ( Exchange Server Ip si )
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all






  


[Attachment #5 (text/html)]

<div class="iw_mail" dir="LTR">Merhabalar,<div><br></div><div>Icinga server #apt-get \
install postfix kurulumunu yaptim....</div><div><br></div><div>icinga server dan \
gelen Critical ve Warning mesajlarini cok gec aliyorum.. acaba neyden kaynaklanabilir \
? ben yapmis oldugum konfigurasyonu buraya yaziyorum... Test icin HDD ve CPU nun \
degerlerini düsrüdüm Icinga da Critical uyarisi aliyorum &nbsp;Hardiksin Uyarisi \
Maile geliyor ama gec geliyor..... CPU hic gelmiyor.. Acaba nerede yanlis yapiyorum \
?</div><div><br></div><div><b><font color="#ee0000"># &nbsp;nano \
/etc/icinga/objects/contacts_icinga.cfg</font></b></div><div><br></div><div><div>define \
contact {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; contact_name &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
root</div><div>&nbsp; &nbsp; &nbsp; &nbsp; host_notifications_enabled &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; 1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; host_notification_period \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 24x7</div><div>&nbsp; &nbsp; &nbsp; \
&nbsp; host_notification_options &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
d,u,r</div><div>&nbsp; &nbsp; &nbsp; &nbsp; host_notification_commands &nbsp; &nbsp; \
&nbsp; &nbsp;notify-host-by-email</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
service_notifications_enabled &nbsp; &nbsp; &nbsp;1</div><div>&nbsp; &nbsp; &nbsp; \
&nbsp; service_notification_period &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;24x7</div><div>&nbsp; &nbsp; &nbsp; &nbsp; service_notification_options &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp;w,u,c,r</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
#service_notification_commands &nbsp;notify-by-email</div><div>&nbsp; &nbsp; &nbsp; \
&nbsp; service_notification_commands &nbsp; notify-service-by-email</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; email &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;aydin@test.de</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
}</div></div><div><br></div><div><br></div><div><div>define \
contactgroup{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; contactgroup_name &nbsp; &nbsp; \
&nbsp; admins</div><div>&nbsp; &nbsp; &nbsp; &nbsp; alias &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Icinga \
Administrators</div><div>&nbsp; &nbsp; &nbsp; &nbsp; members &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;root</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
}</div></div><div><br></div><div><br></div><div><br></div><div><b><font \
color="#ee0000">#&nbsp;nano \
/usr/share/doc/icinga-common/examples/template-object/contacts.cfg</font></b></div><div><br></div><div><div>define \
contact{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; contact_name &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;icingaadmin &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; ; Short name of user</div><div>&nbsp; &nbsp; &nbsp; &nbsp; use \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; generic-contact &nbsp; &nbsp; &nbsp; &nbsp; ; \
Inherit default values from generic-contact template (defined above)</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; alias &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Icinga Admin &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; Full name of user</div><div><br></div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; email &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; aydin@test.de &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;; &lt;&lt;***** CHANGE THIS TO YOUR EMAIL ADDRESS \
******</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
}</div><div><br></div><div><br></div><div><br></div><div>############################# \
##################################################</div><div>###############################################################################</div><div>#</div><div># \
CONTACT GROUPS</div><div>#</div><div>################################################# \
##############################</div><div>###############################################################################</div><div><br></div><div># \
We only have one contact in this simple configuration file, so there is</div><div># \
no need to create more than one contact group.</div><div><br></div><div>define \
contactgroup{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; contactgroup_name &nbsp; &nbsp; \
&nbsp; admins</div><div>&nbsp; &nbsp; &nbsp; &nbsp; alias &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Icinga \
Administrators</div><div>&nbsp; &nbsp; &nbsp; &nbsp; members &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;icingaadmin</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; }</div></div><div><br></div><div><br></div><div><font \
color="#ee0000"><b># nano \
/etc/icinga/commands.cfg</b></font></div><div><br></div><div><br></div><div><div># \
'notify-host-by-email' command definition</div><div>define command{</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; command_name &nbsp; &nbsp;notify-host-by-email</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; command_line &nbsp; &nbsp;/usr/bin/printf "%b" "***** Icinga \
*****\n\n \Notification Type: $NOTIFICATIONTYPE$\n \Host: $HOSTNAME$\n \State: \
$HOSTSTATE$\n \Address: $HOSTADDRESS$\n \Info: $HOSTOUTPUT$\n\n \ Date/Time: \
$LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is \
$HOSTSTATE$ **" $CONTACTEMAIL$</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
}</div><div><br></div><div># 'notify-service-by-email' command \
definition</div><div>define command{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
command_name &nbsp; &nbsp;notify-service-by-email</div><div>&nbsp; &nbsp; &nbsp; \
&nbsp; command_line &nbsp; &nbsp;/usr/bin/printf "%b" "***** Icinga *****\n\n \
\Notification Type: $NOTIFICATIONTYPE$\n\n \Service: $SERVICEDESC$\n \Host: \
$HOSTALIAS$\n \Address: $HOSTADDRESS$\n \State: $SERVICESTATE$\n\n \Date/Time: \
$LONGDATETIME$\n\n \Additional Info:\n\n \$SERVICEOUTPUT$\n" | /usr/bin/mail -s "** \
$NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" \
$CONTACTEMAIL$</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
}</div></div><div><br></div><div><br></div><div><font color="#ee0000"><b># nano \
windows.cfg</b></font></div><div><br></div><div><br></div><div><br></div><div><div>define \
host{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; use &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;generic-host &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp;; Name of host template to use</div><div>&nbsp; &nbsp; \
&nbsp; &nbsp; host_name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
test</div><div>&nbsp; &nbsp; &nbsp; &nbsp; alias &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; test</div><div>&nbsp; &nbsp; &nbsp; \
&nbsp; address &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;192.168.200.21</div><div>&nbsp; &nbsp; &nbsp; &nbsp; contact_groups &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp;admins</div><div>&nbsp; &nbsp; &nbsp; &nbsp; contacts \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;root</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
}</div></div><div><br></div><div><br></div><div><div>define service{</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; use &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;generic-service &nbsp; &nbsp; &nbsp; &nbsp; ; Name of service template to \
use</div><div>&nbsp; &nbsp; &nbsp; &nbsp; host_name &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;test</div><div>&nbsp; &nbsp; &nbsp; &nbsp; service_description &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Disk FreeSpace</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; check_command &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp;check_snmp_storage!public![^C]:!1!2</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; notification_period &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp;24x7</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
notification_interval &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;30</div><div>&nbsp; &nbsp; &nbsp; &nbsp; notification_options &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;c,w</div><div>&nbsp; &nbsp; &nbsp; \
&nbsp; check_period &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp;24x7</div><div>&nbsp; &nbsp; &nbsp; &nbsp; check_interval \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
5</div><div>&nbsp; &nbsp; &nbsp; &nbsp; retry_interval &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; max_check_attempts &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;10</div><div>&nbsp; &nbsp; &nbsp; &nbsp; contact_groups &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;admins</div><div>&nbsp; &nbsp; \
&nbsp; &nbsp; contacts &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root</div><div><br></div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; }</div><div><br></div><div><br></div><div>define \
service{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; use &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; generic-service &nbsp; &nbsp; &nbsp; &nbsp; ; Name of service template to \
use</div><div>&nbsp; &nbsp; &nbsp; &nbsp; host_name &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; test</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; service_description &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; CPU Load</div><div>&nbsp; &nbsp; &nbsp; &nbsp; check_command &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; snmp_cpu!public!1!2</div><div>&nbsp; \
&nbsp; &nbsp; &nbsp; notification_period &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp;24x7</div><div>&nbsp; &nbsp; &nbsp; &nbsp; notification_interval &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;30</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
notification_options &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
c,w</div><div>&nbsp; &nbsp; &nbsp; &nbsp; check_period &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 24x7</div><div>&nbsp; &nbsp; &nbsp; \
&nbsp; check_interval &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; 5</div><div>&nbsp; &nbsp; &nbsp; &nbsp; retry_interval &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1</div><div>&nbsp; &nbsp; \
&nbsp; &nbsp; max_check_attempts &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
10</div><div>&nbsp; &nbsp; &nbsp; &nbsp; contact_groups &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; admins</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
contacts &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;root</div><div>&nbsp; &nbsp; &nbsp; &nbsp; \
}</div></div><div><br></div><div><br></div><div><b><font color="#ee0000"># nano \
/etc/postfix/main.cf</font></b></div><div><br></div><div><br></div><div><div># See \
/usr/share/postfix/main.cf.dist for a commented, more complete \
version</div><div><br></div><div><br></div><div># Debian specific: &nbsp;Specifying a \
file name will cause the first</div><div># line of that file to be used as the name. \
&nbsp;The Debian default</div><div># is /etc/mailname.</div><div>#myorigin = \
/etc/mailname</div><div><br></div><div>smtpd_banner = $myhostname ESMTP $mail_name \
(Debian/GNU)</div><div>biff = no</div><div><br></div><div># appending .domain is the \
MUA's job.</div><div>append_dot_mydomain = no</div><div><br></div><div># Uncomment \
the next line to generate "delayed mail" warnings</div><div>#delay_warning_time = \
4h</div><div><br></div><div>readme_directory = no</div><div><br></div><div># TLS \
parameters</div><div>smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem</div><di \
v>smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key</div><div>smtpd_use_tls=yes</div><div>smtpd_tls_session_cache_database \
= btree:${data_directory}/smtpd_scache</div><div>smtp_tls_session_cache_database = \
btree:${data_directory}/smtp_scache</div><div><br></div><div># See \
/usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for</div><div># \
information on enabling SSL in the smtp \
client.</div><div><br></div><div><b>myhostname = \
icingamon.test.com</b></div><div>alias_maps = \
hash:/etc/aliases</div><div>alias_database = hash:/etc/aliases</div><div><b>myorigin \
= /etc/mailname</b></div><div>mydestination = icingamon.test.com, localhost.test.com, \
, localhost</div><div><b>relayhost = 192.168.200.121 &nbsp; &nbsp; ( Exchange Server \
Ip si )</b></div><div>mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 \
[::1]/128</div><div>mailbox_size_limit = 0</div><div>recipient_delimiter = \
+</div><div>inet_interfaces = \
all</div></div><div><br></div><div><br></div><div><br></div><div>&nbsp;</div><div><br></div></div>




_______________________________________________
Linux-sunucu E-Posta Listesi
Linux-sunucu@liste.linux.org.tr

Liste kurallar=FDn=FD http://liste.linux.org.tr/kurallar.php  ba=F0lant=FDs=
=FDndan okuyabilirsiniz;

Bu Listede neden bulundu=F0unuzu bilmiyorsan=FDz veya art=FDk bu listeden g=
elen e-postalar=FD almak istemiyorsan=FDz a=FEa=F0=FDdaki ba=F0lant=FD adre=
sini kullanarak 1 dakika i=E7inde =FCyeli=F0inizi sonland=FDrabilirsiniz.
https://liste.linux.org.tr/mailman/listinfo/linux-sunucu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic