.. _example_service_dhcp-server_options_mail-options:
############
Mail-Options
############
These scenarios check DHCP server mail server options.
These options configure SMTP (outgoing mail) and POP3 (incoming mail) servers for clients.
This includes: smtp-server (option 69) and pop3-server (option 70).
These are mainly used by embedded devices, printers, and legacy mail clients.
***********************
Test POP3-Server Single
***********************
Description
===========
This scenario checks the ``pop3-server`` option with a single POP3 server.
The DHCP server configures one POP3 server for receiving email, and the client receives it.
POP3 (Post Office Protocol v3) is used to download emails from a mail server (Option 70).
Scenario
========
.. include:: mail-options/testpop3-serversingle
.. raw:: html
*************************
Test POP3-Server Multiple
*************************
Description
===========
This scenario checks the ``pop3-server`` option with multiple POP3 servers.
The DHCP server configures three POP3 servers, and the client receives all of them.
Multiple POP3 servers provide redundancy for email retrieval.
Scenario
========
.. include:: mail-options/testpop3-servermultiple
.. raw:: html
********************
Test POP3-Server VRF
********************
Description
===========
This scenario checks the ``pop3-server`` option when the DHCP server is configured with VRF.
Multiple POP3 servers are configured in a VRF environment, and the client receives them correctly.
Scenario
========
.. include:: mail-options/testpop3-servervrf
.. raw:: html
***********************
Test SMTP-Server Single
***********************
Description
===========
This scenario checks the ``smtp-server`` option with a single SMTP server.
The DHCP server configures one SMTP server for sending email, and the client receives it.
SMTP (Simple Mail Transfer Protocol) is used to send emails (Option 69).
Scenario
========
.. include:: mail-options/testsmtp-serversingle
.. raw:: html
*************************
Test SMTP-Server Multiple
*************************
Description
===========
This scenario checks the ``smtp-server`` option with multiple SMTP servers.
The DHCP server configures three SMTP servers, and the client receives all of them.
Multiple SMTP servers provide redundancy for email sending.
Scenario
========
.. include:: mail-options/testsmtp-servermultiple
.. raw:: html
********************
Test SMTP-Server VRF
********************
Description
===========
This scenario checks the ``smtp-server`` option when the DHCP server is configured with VRF.
Multiple SMTP servers are configured in a VRF environment, and the client receives them correctly.
Scenario
========
.. include:: mail-options/testsmtp-servervrf
.. raw:: html
**************************
Test Mail Combined Options
**************************
Description
===========
This scenario checks POP3 and SMTP servers configured together.
The DHCP server configures both POP3 (for receiving) and SMTP (for sending) servers.
This represents a complete mail configuration for legacy mail clients.
Scenario
========
.. include:: mail-options/testmailcombinedoptions
.. raw:: html
***********************
Test Change POP3-Server
***********************
Description
===========
This scenario checks that POP3 servers can be changed dynamically.
Configure initial POP3 servers, then add another and verify the client receives all values.
Scenario
========
.. include:: mail-options/testchangepop3-server
.. raw:: html
***********************
Test Change SMTP-Server
***********************
Description
===========
This scenario checks that SMTP servers can be changed dynamically.
Configure initial SMTP servers, then add another and verify the client receives all values.
Scenario
========
.. include:: mail-options/testchangesmtp-server
.. raw:: html
***********************
Test Remove POP3-Server
***********************
Description
===========
This scenario checks that POP3 servers can be removed.
Configure POP3 servers, then remove them and verify they are no longer sent to the client.
Scenario
========
.. include:: mail-options/testremovepop3-server
.. raw:: html
***********************
Test Remove SMTP-Server
***********************
Description
===========
This scenario checks that SMTP servers can be removed.
Configure SMTP servers, then remove them and verify they are no longer sent to the client.
Scenario
========
.. include:: mail-options/testremovesmtp-server
.. raw:: html