SMTP Outgoing mail server - SendMail

This is a discussion on SMTP Outgoing mail server - SendMail ; Has anyone managed to get a CGI script (ezformml.cgi) to function using SENDMAIL on the Pacific Internet (in Australia) hosts? I have called their technical support and they have been of no real use - and I can completely understand ...

+ Reply to Thread
Results 1 to 7 of 7

SMTP Outgoing mail server

  1. Default SMTP Outgoing mail server

    Has anyone managed to get a CGI script (ezformml.cgi) to function using
    SENDMAIL on the Pacific Internet (in Australia) hosts?

    I have called their technical support and they have been of no real use -
    and I can completely understand why they would want to stay out of offering
    that service - but I am not a linux/unix or sendmail expert by any stretch
    of the imagination so I could really do with your help.

    They have disabled relaying and say I need to route the mail via their smtp
    server but I have no idea how to do this.

    Any thoughts?



  2. Default Re: SMTP Outgoing mail server

    On Thu, 8 Feb 2007, Goran Zidar wrote:

    > Has anyone managed to get a CGI script (ezformml.cgi) to function using
    > SENDMAIL on the Pacific Internet (in Australia) hosts?
    >
    > I have called their technical support and they have been of no real use -
    > and I can completely understand why they would want to stay out of offering
    > that service - but I am not a linux/unix or sendmail expert by any stretch
    > of the imagination so I could really do with your help.
    >
    > They have disabled relaying and say I need to route the mail via their smtp
    > server but I have no idea how to do this.


    in your sendmail.mc add in the following and regenerate yor sendmail.cf
    file...

    define(`SMART_HOST',`pacific.net.mail.server')dnl

    then restart sendmail

    --
    Cheers
    Res

    "We can be Heroes, just for one day" - Davey (Jones) Bowie



  3. Default Re: SMTP Outgoing mail server

    Thanks for the information. Forgive me if this question seems stupid.

    Where do I find the sendmail.mc file... there are no files like that
    anywhere within my server space. Also from what I have read don't I then
    need to do something to change the sendmail.mc file to a sendmail.cf - this
    requires me to be logged on to the host via telnet or something (doesn't
    it?) and I do not believe that my ISP allows that.

    Is there a way to pass the same thing to sendmail via a command line switch?

    Am I correct that the .mc file needs to be compiled somehow? But if not how
    will sendmail know where to find that file?

    I am sure these are very basic questions but as I said I am quite
    inexperienced with unix.

    Thanks again



  4. Default Re: SMTP Outgoing mail server

    Hi,

    On Fri, 9 Feb 2007, Goran Zidar wrote:

    > Thanks for the information. Forgive me if this question seems stupid.


    Not at all, no question is stupid since you explained you are new to unix
    world, had you said you'd been using it for 5 years, then you might cop
    the wrath


    > Where do I find the sendmail.mc file... there are no files like that


    Firtly what version of unix/linux do you use?
    Did you install the source code for Sendmail or your distros version?

    > anywhere within my server space. Also from what I have read don't I then


    This is not something you do on your ISP's server space, it is something
    you need to tell your home copy of sendmail to do.

    > need to do something to change the sendmail.mc file to a sendmail.cf - this


    Correct, this is what I meant in my earlier post regenerate (see below)

    > requires me to be logged on to the host via telnet or something (doesn't
    > it?) and I do not believe that my ISP allows that.


    OK, you are sending from your home copy of unix/linux/bsd?

    If you are using your own sendmail server on your own private LAN at
    home/work you need to do this, I assume you are since you cant send
    outgoing mail directly on port 25.

    If not, then none of this is applicable and its possible pacific.net.au
    support helpdesk went into a "AHH help help unix we dont support that go
    away" mode like many ISP's in Australia do. If our guys know linux/bsd
    and many do, then if on duty they unofficially help you out, we go
    further and don't help those configure micro$oft software either, our
    support crew remind them they are ISP support NOT micro$oft support, the
    guys will give them settings, tell them where to put those settings, thats
    it, anything else go to micro$oft support, its m$'s software, not bloody
    ours

    > Is there a way to pass the same thing to sendmail via a command line switch?


    You will need this in your sendmail config file.

    > Am I correct that the .mc file needs to be compiled somehow? But if not how
    > will sendmail know where to find that file?


    Correct, you edit sendmail.mc and generate the cf file, typically
    it is in the cf/cf directory under your sendmail source tree,
    for example, on here it is in: /usr/local/src/sendmail-8.14.0/cf/cf

    To generate and install the cf file, type: ./Build install-cf

    Then restart sendmail.


    To help further really we need to know what OS you have your sendmail
    server on, and if its an included version of sendmail or source.

    --
    Cheers
    Res

    "We can be Heroes, just for one day" - Davey (Jones) Bowie



  5. Default Re: SMTP Outgoing mail server

    On Fri, 9 Feb 2007, Goran Zidar wrote:
    >
    > Is there a way to pass the same thing to sendmail via a command line switch?


    One other thing, is this actually on a hosting server?
    If so set smtp server to localhost in your cgi.
    Sorry I may have mis-read your earlier post
    But pacific.net.au helpdesk should have told you that, bloody hopless if
    they did not.



    --
    Cheers
    Res

    "We can be Heroes, just for one day" - Davey (Jones) Bowie



  6. Default Re: SMTP Outgoing mail server

    Yes this is on a hosting server... and I don't have any access to the source
    code or the permissions to start and stop the sendmail service which is why
    I probably cannot find the files you were referring to.

    Thanks for the detailed responses by the way ... I appreciate that.

    > If so set smtp server to localhost in your cgi.


    This line sounds like what I need to do - are you able to give me an example
    of how to do this?

    And yes the technical support team told me that they cannot provide help for
    scripting - which was rather frustrating.



  7. Default Re: SMTP Outgoing mail server

    On Fri, 9 Feb 2007, Goran Zidar wrote:

    > Yes this is on a hosting server... and I don't have any access to the source
    > code or the permissions to start and stop the sendmail service which is why
    > I probably cannot find the files you were referring to.


    Ah OK, that explains it

    >
    > Thanks for the detailed responses by the way ... I appreciate that.
    >
    >> If so set smtp server to localhost in your cgi.

    >
    > This line sounds like what I need to do - are you able to give me an example
    > of how to do this?


    Somewhere in this cgi file it must have a define for mail server, If you
    wish to send this cgi - LESS ANY LOGIN/PASSWORD details etc to this email
    address I can take a look for you to see where you edit this.

    > And yes the technical support team told me that they cannot provide help for
    > scripting - which was rather frustrating.


    Yes I see your frustration, most support desk people dont, however most
    ISP's have someone to refer you to, obviously pacific.net.au don't which
    is a shame.

    --
    Cheers
    Res

    "We can be Heroes, just for one day" - Davey (Jones) Bowie



+ Reply to Thread

Similar Threads

  1. Use IIS 6's SMTP Service as Outgoing Mail Server
    By Application Development in forum Inetserver
    Replies: 4
    Last Post: 10-05-2007, 01:00 PM
  2. IIS Virtual SMTP Server accepts outgoing mail but doesn't forward it??
    By Application Development in forum Inetserver
    Replies: 1
    Last Post: 08-29-2004, 01:20 PM
  3. SMTP relay no outgoing mail
    By Application Development in forum Microsoft Exchange
    Replies: 3
    Last Post: 05-05-2004, 02:07 PM
  4. Send all outgoing mail to an ISP's SMTP server
    By Application Development in forum Microsoft Exchange
    Replies: 1
    Last Post: 01-23-2004, 10:14 PM
  5. no incoming smtp mail, outgoing OK
    By Application Development in forum Microsoft Exchange
    Replies: 3
    Last Post: 09-28-2003, 11:31 AM