Chapter 40 Logs

 

 

Table 192 logging Commands: E-mail Profile Settings (continued)

COMMAND

DESCRIPTION

[no] logging mail <1..2> address {ip

Sets the URL or IP address of the mail server for the specified e-

hostname}

mail profile. The no command clears the mail server field.

 

hostname: You may up to 63 alphanumeric characters, dashes (-

 

), or periods (.), but the first character cannot be a period.

 

 

logging mail <1..2> sending_now

Sends mail for the specified e-mail profile immediately, according

 

to the current settings.

[no] logging mail <1..2> authentication

Enables SMTP authentication. The no command disables SMTP

 

authentication.

[no] logging mail <1..2> authentication

Sets the username and password required by the SMTP mail

username username password password

server. The no command clears the username and password

 

fields.

 

username: You can use alphanumeric characters, underscores

 

(_), and dashes (-), and it can be up to 31 characters long.

 

password: You can use most printable ASCII characters. You

 

cannot use square brackets [ ], double quotation marks (“),

 

question marks (?), tabs or spaces. It can be up to 31 characters

 

long.

 

 

[no] logging mail <1..2> port <1..65535>

Sets the port number of the mail server for the specified e-mail

 

profile.

[no] logging mail <1..2> {send-log-to send-

Sets the e-mail address for logs or alerts. The no command

alerts-to} e_mail

clears the specified field.

 

e_mail: You can use up to 63 alphanumeric characters,

 

underscores (_), or dashes (-), and you must use the @

 

character.

 

 

[no] logging mail <1..2> subject subject

Sets the subject line when the ZyWALL mails to the specified e-

 

mail profile. The no command clears this field.

 

subject: You can use up to 60 alphanumeric characters,

 

underscores (_), dashes (-), or !@#$%*()+=;:’,./

 

characters.

[no] logging mail <1..2> category module_name

Specifies what kind of information is logged for the specified

level {alert all}

category. The no command disables logging for the specified

 

category.

[no] logging mail <1..2> schedule {full

Sets the e-mail schedule for the specified e-mail profile. The no

hourly}

command clears the schedule field.

logging mail <1..2> schedule daily hour <0..23>

Sets a daily e-mail schedule for the specified e-mail profile.

minute <0..59>

 

logging mail <1..2> schedule weekly day day

Sets a weekly e-mail schedule for the specified e-mail profile.

hour <0..23> minute <0..59>

day: sun mon tue wed thu fri sat

 

 

 

 

321

ZyWALL (ZLD) CLI Reference Guide