1 2 Previous Next 27 Replies Latest reply: Nov 24, 2012 5:07 AM by hissy1701
hissy1701 Level 1 Level 1 (0 points)

Afternoon All,

 

I have managed to set up my server to receive incoming mail but do not seem to be able to send any mail, I am hoping that someone on here may have come across the same problem.

 

My domain is registered with 123-reg.co.uk

 

My ISP is Virgin Media

 

Thanks in advance for the help.


iPhone 5, iOS 6
  • 1. Re: Problems SENDING mail
    hissy1701 Level 1 Level 1 (0 points)

    Ok now I believe I have got it working in a round about way but to do this I have to set up each email address on my ISPs email accounts manager.

     

    Is there a way to set up mail with out using the relay through ISP?

  • 2. Re: Problems SENDING mail
    JaimeMagiera Level 2 Level 2 (305 points)

    Hi,

     

    Can we get some more details? This is all very vague. What client are you using to send mail? What happens when you try to send a message? What do the logs say?

  • 3. Re: Problems SENDING mail
    hissy1701 Level 1 Level 1 (0 points)

    Hi, thanks for the reply.

     

    I am using mac mail.

     

    I get a window that shows the following information

     

    The server “smtp.domain.me” cannot be contacted on the default ports.

     

    Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.

     

    Sending from: Andy ******* <andy@domain.me>

     

    not sure about log's sorry.

  • 4. Re: Problems SENDING mail
    JaimeMagiera Level 2 Level 2 (305 points)

    Well, you need to check the logs to be sure that SMTP is running: Server.app => Status => Logs => Mail. Look for any information about SMTP.

     

    The implication is that either your mail clients are configured incorrectly and not accessing the SMTP server on the correct port, or that your SMTP server is not operational. The ports for SMTP are 25, 465 and 587. Are you familiar with tools such as nmap or even using telnet to check the availability of a port?

  • 5. Re: Problems SENDING mail
    iToaster Level 3 Level 3 (670 points)

    To add to jaimie's advice dns has to be working with an entry for your smtp server as well, both internally and externally

     

    Setting up each mail account with your ISP kinda defeats the object of running your own mail server

    Something is not right

  • 6. Re: Problems SENDING mail
    hissy1701 Level 1 Level 1 (0 points)

    I have found the SMTP Log, it is quite log is there something specific I should be looking for?

  • 7. Re: Problems SENDING mail
    hissy1701 Level 1 Level 1 (0 points)

    I used these and other forums to get the point I am at now.

     

    I spoke to Apple yesterday morning before posting here and they said that everything was set up correctly on my end but that I would need to speak to my ISP to see why I was unable to send mail. The Apple guy had me check a few things witht the DNS and he said it was all correct.

     

    After speaking to Virgin Media (ISP) they got the wrong end of the stick and thought I was trying to set up a client not the server, I finally found the information I needed in the link below but as mentioned above I have to set up the email address with them first, it is not a full set up more link enter the address and verify it then I could send outgoing but through my ISPs SMTP.

     

    Hope I am making sense...

     

    http://help.virginmedia.com/system/selfservice.controller?CMD=VIEW_ARTICLE&ARTIC LE_ID=386470&CURRENT_CMD=SEARCH&CONFIGURATION=1002&PARTITION_ID=1&USERTYPE=1&LAN GUAGE=en&COUNTY=us&VM_CUSTOMER_TYPE=

     

    My aim is to be able to do away with this and just set up on the server.

  • 8. Re: Problems SENDING mail
    JaimeMagiera Level 2 Level 2 (305 points)

    That's completely unrelated. You need to ask your ISP if they block SMTP ports and if they allow 3rd party mailservers to run over their network.

     

    Also, you need to verify that SMTP is running on your server. In terms of logs, did you verify that mail service is running? Do the mail logs show any SMTP errrors? It's not like we can tell you to look for a particular thing. You have to learn to debug problems by reading, googling, etc.

     

    Do you know how to use telnet? Do you know how to use a portscanner such as NMAP?

  • 9. Re: Problems SENDING mail
    hissy1701 Level 1 Level 1 (0 points)

    They have said that they do not block any ports and the terms and conditions do allow the use of a home server.

     

    I have only used telnet instructions from other site information I have googled, not used NMAP.

     

    I will look through the logs this evening but having a quick look now I can not see any errors jumping out at me.

     

    With regards to the link I just posted after following these instructions I am now able to sent emails but it is just the pain of having to set up into places to allow it to work.

     

    Accepting incoming emails has worked fine out of the box.

     

    Do I have to use my ISPs SMTP or can I use someone elses?

  • 10. Re: Problems SENDING mail
    JaimeMagiera Level 2 Level 2 (305 points)

    You should be using your server's SMTP. That's the whole point of running a mail server.

     

    What happens if you type the following on a client machine...

     

    telnet your.server.com 25

  • 11. Re: Problems SENDING mail
    hissy1701 Level 1 Level 1 (0 points)

    telnet domain.me 25

    Trying 10.0.1.2...
    Connected to domain.me.
    Escape character is '^]'.

    220-domain.me ESMTP Postfix
    220 domain.me ESMTP Postfix
    421 4.4.2 domain.me Error: timeout exceeded Connection closed by foreign host.

     

  • 12. Re: Problems SENDING mail
    JaimeMagiera Level 2 Level 2 (305 points)

    and you connected from a machine that is not your server? If so, this is good news. That means the service is responding. Now, on that same machine you tested from, open Mail.app and configure an account to connect to the server per usual. Go into the SMTP settings for the account and make sure that the SMTP port is 25 (you can check the button that lets you use all three actually). Now, in Mail.app, go to Window => Connection Doctor and run a test. What are the results?

  • 13. Re: Problems SENDING mail
    hissy1701 Level 1 Level 1 (0 points)

    Sorry made a mistake used the terminal on the server machine not the client as you instructed, re ran again this time on the correct machine got the same results except 10.0.1.2 was my external ip.

     

    When I check the connection doctor is says the Connection and login to server succeeded.

  • 14. Re: Problems SENDING mail
    JaimeMagiera Level 2 Level 2 (305 points)

    Ok, now try sending a message from that machine.

1 2 Previous Next