Announcement

Collapse
No announcement yet.

SMTP Server Error - Contact Form - Servage

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SMTP Server Error - Contact Form - Servage

    Hi,

    I've been trying to resolve this for a while now but with no joy. My contact form will not work here:
    http://www.thebedsheduk.com/cgi-bin/...CTION=SHOWFORM

    If i enter an email address in the email field that is anything but an email ending in the domain name i get the following error message:

    Error returned from SMTP server (4: : Sender address rejected: Access denied)

    I have seen this on other posts so contacted the host and asked them to enable mail relay? After a few emails to and from, they responded with this:

    Our server (smtp1.servage.net) requires you to use authentication when sending email. As username and password you simply use the same details as your POP3/IMAP username and password.

    SO if you are using our smtp server, please make sure you are using an email address contact@thebedsheduk.com as the sender address.

    Having searched the forum for any posts with servage in, i also tried a recommendation of changing the smtp port to 2525, did a website purge and refresh....but still, i get the same message!!!

    When i run a test of the network setting i get all passed/success so i am completely stuck as to what could be causing this!

    Has anyone any ideas?

    Thanks in advance.

    #2
    I think the network test only sends an email to your own email address so isn't a proper test of whether email to external addresses will work.

    Our server (smtp1.servage.net) requires you to use authentication when sending email. As username and password you simply use the same details as your POP3/IMAP username and password.

    SO if you are using our smtp server, please make sure you are using an email address contact@thebedsheduk.com as the sender address
    This sounds like good advice. Is it what you're doing?

    It would help if you posted your network settings. (export to a text file then copy and paste into the forum. Remember to overwrite your username and password).

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      Hi Mike,

      Thanks for the quick reply. I am doing what they have said which is why i dont understand unless im missing something within Actinic. Here are the network settings:

      HTTPPROXYMODE 0
      HTTPPROXYADDRESS
      HTTPPROXYPORT 80
      HTTPPROXYUSER
      HTTPPROXYPASSWORD
      FTPPROXYMODE 0
      FTPPROXYADDRESS
      FTPPROXYPORT 21
      FTPPROXYUSER
      FTPPROXYPASSWORD
      SCRIPTID 1
      SCRIPTEXT .pl
      SMTPHOST smtp1.servage.net
      WEBSITEURL http://www.thebedsheduk.com/
      IGNOREPASSIVEERRORS true
      USERELATIVECGIURLS false
      PATHTOPERL /usr/bin/perl
      USEENHANCEFTP true
      FTPCLIENTTIMEOUT 15000
      FTPRETRYDELAY 3000
      FTPSILENT false
      FTPMAXRETRIES 3
      FTPCONNECTTIMEOUT 25000
      SMTPAUTHREQUIRED true
      SMTPUSERNAME contact@thebedsheduk.com
      SMTPPASSWORD ******
      COMPRESSIONPACKETSIZE 1024
      COMPRESSEDUPLOAD true
      CATALOGURL http://www.thebedsheduk.com/store/
      ONLINESTOREFOLDERNAME store
      CGIBINURL http://www.thebedsheduk.com/cgi-bin/
      PATHFROMCGITOCATALOG /mounted-storage/home97c/sub004/sc61187-BOHF/www/store/
      CODEBASE ./
      FTPHOST ftp.servage.net
      FTPUSERNAME ******
      FTPPASSWORD ******
      PATHTOCGIBIN /www/cgi-bin/
      USEPASSIVEFTP false
      FTPPATHFROMCGITOCATALOG /www/store/

      Thanks again,
      Nikki.

      Comment


        #4
        It's a bit odd as it all looks OK.

        The Servage wiki says:

        What means: Error 'Sender address rejected: Access denied'?
        When using our SMTP server this error indicates that the address you use as sender address is not registered on your Servage account. E.g. when using sending mail from user@example.com it is important that the sender address user@example.com is an account on our servers.
        Have you created an email account with this name?

        Create new email account
        1.Login to the control panel
        2.Go to "Email accounts > Create New Mail Account"
        3.Fill in the form with the desired address, description and password for the mailbox.
        4.The address is created and can be used right away.
        Now all your login details will appear. You can always return to this page to see your login details if you should forget them.
        Mike
        -----------------------------------------

        First Tackle - Fly Fishing and Game Angling

        -----------------------------------------

        Comment


          #5
          Hi Mike,

          Thanks again for replying and looking into it. Yes i have set up the email address that is being used and the test emails when testing the network come through, so do the emails if any orders are created on the website.

          The website is actually live (although at the early stages of building content) and everything is working fine now except the form

          Do you think its a problem at Servage's end? I'm quite sure how the form script works.

          Thanks again.
          Nikki.

          Comment


            #6
            is it only the contact form not working? ie customer order email is sent, copies received, order placed email is received? email for order shipped with actinic?

            business settings email is contact [at] thebedsheduk.com

            does outlook send andreceive from the same address?

            no spelling mistakes anywhere?

            test each one and let us know please

            Comment


              #7
              Hi Jo,

              Thanks for your response. Sorry for the delay but i had to disable payment system temporarily so i could make an order to make sure the emails were still coming through!

              Thought it would be easier to go through each one:

              is it only the contact form not working? - yes i believe.

              ie customer order email is sent-
              yes

              copies received- yes

              order placed email is received? - yes

              email for order shipped with actinic? - yes

              business settings email is contact [at] thebedsheduk.com - yes

              does outlook send andreceive from the same address? - yes

              no spelling mistakes anywhere? - not that im aware of and i've double checked everything. presumably none of the above would work if i'd spelt it wrong?

              Any other ideas?

              Thanks again,
              Nikki.

              Comment


                #8
                It's got me stumped. If emails go out Ok from actinic then they should go out from the form. All actinics emails are sent via the cgi scripts and the form should be using the same scripts and settings.

                Is the email address the same one that's set up in Actinic as the contact address?

                Mike
                -----------------------------------------

                First Tackle - Fly Fishing and Game Angling

                -----------------------------------------

                Comment


                  #9
                  Hi Mike,

                  Thanks for the reply, kinda glad im not just being thick but have no idea what to do. yes, the address in the business settings is the same one as posted. i even changed the 'send duplicates to' from another email address i used in case it was that but nothing.

                  I kind of thought it was the same as this persons problem here:
                  http://community.actinic.com/showthr...lay+smtp+error

                  ...which is why i first approached servage and asked them to enable mail relay. But presumably the other emails wouldnt be sent if they hadn't enabled mail relay - is that correct? Its just bizarre how it will allow the form to be sent if in the email box i put 'contact@thebedshed.com' but wont send it if its from any other email!

                  Thanks anyway for trying.

                  Comment


                    #10
                    its got me stumped too...

                    you haven't changed the contact form layout have you, or changed the script?

                    Comment


                      #11
                      I'll go for a spelling mistake, i'd probably lean towards a comma instead of a full stop.

                      Comment


                        #12
                        Hi both,

                        No i haven't touched the script, i literally linked to the contact page and didnt change a thing!!!!

                        If its a spelling mistake or comma, why would it send from the email address that is 'allowed'?

                        I'm stumped three

                        Comment


                          #13
                          Ok. I've been looking through the mf000001.pl but cannot find where it stores the '<form action="path" method=POST> bit. I assume the script grabs this info from somewhere on the server.

                          Anyway, the form 'path' bit of a normal servage script is:
                          <form action="http://formmail.servage.net/" method=POST> which i was hoping i could drop in somewhere.

                          When i view the source code of the contact form page, the 'path' is:
                          <form method="post" action="http://www.thebedsheduk.com/cgi-bin/mf000001.pl">

                          So i figured, the only thing i can do is just copy the html and recreate the form using normal html which i know. So i've done this here and it works fine:
                          http://www.thebedsheduk.com/contact.html

                          I know its not ideal but i couldnt spend any longer on this as i'd already been playing email ping pong for days with servage before pestering you lot here!

                          One thing i did notice was that i had to create the form via the control panel of servage and it is given a hidden value which i know ipower started doing a few years ago and all my forms wouldnt work. Perhaps servage dont allow you to create a form without telling them first (to cut down on spamming?) and you have to tell them so they give you a hidden value in order for it to work?

                          Perhaps....i should've stuck with a UK host? I've tried so many now and haven't found one that ticks all the boxes!

                          Thanks for your help anyway.

                          Nikki.

                          Comment

                          Working...
                          X