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:
Open the file in a text editor
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 |
Save the file and then exit the editor
Go to Domains|Internet|Connection page in Web Admin.
Enter popsmtp.asp into the Execute After Connecting|Script box
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.