POP Before SMTP

Script name: popsmtp.asp

 

We have implemented a 'Pop before SMTP' function as a script. This function connects to a POP3 server opens a mailbox and then immediately closes it and quits the connection to a POP3 server.

 

To use the script:

  1. Open the file in a text editor

  2. Edit the lines:

var ip = "127.0.0.1"

var port = 110

var user= "administrator"

var pwd = "password"

where:

ip

is the ip address or name (e.g. mail.isphost.com) of the pop server

port

is the port to connect to, usually 110

user

is the username needed to connect to the pop server

pass

is the password used to connect to the pop server

  1. Save the file and then exit the editor

  2. Go to Domains|Internet|Connection page in Web Admin.

  1. Enter popsmtp.asp into the Execute After Connecting|Script box

  2. Click the button.

 

Now, whenever the schedule connects the script will execute. The script connects to the POP3 mailbox and then, immediately, closes it and quits. This should satisfy the SMTP servers requiring a valid POP3 connection for the sender prior to accepting mail for delivery.