Em Andamento

Need Script/GUI for testing email

I need a script to test email, my most common support question is about email, so this will automate the repetitive tasks that we do.

It should test the following and display on the screen OK in green or FAILED in red, which nicely formatted output as this will be used by end users, it should also after the test have an option for them to enter an offsite email(one that is working) and then click "I am still having trouble please send a support ticket" and this should send the results from the test to my helpdesk email address.

The script will ask for:

domain:

email:

password:

*If you are having trouble sending to or receiving from one particular person enter the email here:

I am having trouble: o sending o receiving

Test Now

ping the mx for the domain, to make sure it resolves to an IP on my b block

telnet to port 110

telnet to port 25

telnet to port 587

test email to (to the person having trouble, it will send email over SMTP using an email and password I provide)

test email from (using the email and password of the person having trouble to an email I provide via SMTP)

test offsite email to (to the person having trouble, it will send email over SMTP using an offsite email and password I provide)

tail -500 mainlog for to (should check that the exim mainlog says complete for the message from the provided email, and should be able to find the message ID of the email and save all lines with the message ID)

tail -500 mainlog for from (same as above for for the from address)

tail -500 maillog for to (this is for the ASSP mail filter, the full file is /usr/local/assp/[url removed, login to view], grep -i for the to address and put the output in the string for support only, you will not display this to the end user.)

tail -500 maillog for from (same as above but for the from address)

cat /etc/localdomains |grep domain (should be a match)

cat /etc/remotedomains |grep domain (should not be a match)

*If an email is entered there, it should try sending a test their from the users account via SMTP and grep exim_mainlog to verify the email was sent out from my server in route to the recipient.

By "provide" I mean hardcoded or in a config file.

## Deliverables

I need a script to test email, my most common support question is about email, so this will automate the repetitive tasks that we do.

It should test the following and display on the screen OK in green or FAILED in red, which nicely formatted output as this will be used by end users, it should also after the test have an option for them to enter an offsite email(one that is working) and then click "I am still having trouble please send a support ticket" and this should send the results from the test to my helpdesk email address.

The script will ask for:

domain:

email:

password:

*If you are having trouble sending to or receiving from one particular person enter the email here:

I am having trouble: o sending o receiving

Test Now

ping the mx for the domain, to make sure it resolves to an IP on my b block

telnet to port 110

telnet to port 25

telnet to port 587

test the user's password

test email to (to the person having trouble, it will send email over SMTP using an email and password I provide)

test email from (using the email and password of the person having trouble to an email I provide via SMTP)

test offsite email to (to the person having trouble, it will send email over SMTP using an offsite email and password I provide)

tail -500 mainlog for to (should check that the exim mainlog says complete for the message from the provided email, and should be able to find the message ID of the email and save all lines with the message ID)

tail -500 mainlog for from (same as above for for the from address)

tail -500 maillog for to (this is for the ASSP mail filter, the full file is /usr/local/assp/[url removed, login to view], grep -i for the to address and put the output in the string for support only, you will not display this to the end user.)

tail -500 maillog for from (same as above but for the from address)

cat /etc/localdomains |grep domain (should be a match)

cat /etc/remotedomains |grep domain (should not be a match)

*If an email is entered there, it should try sending a test their from the users account via SMTP and grep exim_mainlog to verify the email was sent out from my server in route to the recipient.

By "provide" I mean hardcoded or in a config file.

It should display common problems such as if the choose sending:

Did you know that 99% of problems with sending email are actually due to your ISP?

Try changing your outgoing server port to 587 and make sure you have authentication turned on. If that still doesn't work, contact your ISP for an SMTP server they provide.

Are you setting up email for the first time?

If so, view these screen shots for many of the popular email clients:

[url removed, login to view]

If the mx does not resolve to one of my IP's it should say:

Oops, it appears there is a problem with your DNS. Please make sure your domain has not expired, has been on our nameservers for at least 24 hours, and if you use a 3rd party to handle your DNS records (not the domain registration, but the actual DNS records), then make sure they have the correct MX entry set.

I am guessing the user interface can be in php, and the script to read from the logs would need to be in perl, and I would have to have a perl script on each server that the php script will call and read.

Habilidades: Engenharia, Linux, MySQL, Perl, PHP, Gestão de projetos, Arquitetura de software, Teste de Software

Ver mais: users testing, testing users, testing user, string problems, string match, problems match, please enter email, php send email script, match string, match problems, find correct email address, failed registration, correct email address, common string, hours script, o email, trouble ticket, ticket id, testing your, server testing, sending email, oops, it testing, it helpdesk, helpdesk it

Acerca do Empregador:
( 262 comentários ) Glen Ellyn, United States

ID do Projeto: #3012987

Premiar a:

timhentenaar

See private message.

$510 USD em 15 dias
(37 Avaliações)
5.9

3 freelancers estão ofertando em média $493 para este trabalho

b0tivw

See private message.

$586.5 USD in 15 dias
(17 Comentários)
5.1
MohsenV

See private message.

$382.5 USD in 15 dias
(6 Comentários)
2.8