{% extends "base.html" %} {% block title %}Edit IP Whitelist - SMTP Management{% endblock %} {% block content %}
Edit IP Whitelist Entry
Enter a single IP address or CIDR block
This IP will be able to send emails for the selected domain
If enabled, the full message body and attachments will be stored and viewable in logs. Otherwise, only headers and subject are stored.
Cancel
Current Configuration
Current IP:
{{ ip_record.ip_address }}
Domain:
{% for domain in domains %} {% if domain.id == ip_record.domain_id %} {{ domain.domain_name }} {% endif %} {% endfor %}
Status:
{% if ip_record.is_active %} Active {% else %} Inactive {% endif %}
Store Message:
{% if ip_record.store_message_content %} Full Message {% else %} Headers Only {% endif %}
Created:
{{ ip_record.created_at.strftime('%Y-%m-%d %H:%M') }}
IP Format Examples
  • Single IP:
    192.168.1.100
  • Subnet (CIDR):
    192.168.1.0/24
  • Localhost:
    127.0.0.1
{% endblock %} {% block extra_js %} {% endblock %}