Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I come from more of a programming background but have been giving the task of sending bakup results from a linux box in an email to external email addresses, ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    4

    Sending External Email From Linux

    Hi,

    I come from more of a programming background but have been giving the task of sending bakup results from a linux box in an email to external email addresses, I have spent days looking trough google for info but cant seem to find anything simple, I have looked at postfix but because I dont understand networks, hosts, nameservers etc I am a bit stuck.

    Would be grateful if someone could send me a few pointers of what I need to do to allow mail get sent from the linux box to external mail address. I have outlook connected to an exhange server on windows and I can ping the linux box from my windows command so surely it cant be to much involved.

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    I have my server sending logfiles to me with the
    sendEmail program over SMTP.
    Software :: SendEmail - Send email with this free command line email client

    It's easier than setting up my own mailserver.
    Debian GNU/Linux -- You know you want it.

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    4
    Thanks, can you give me an example of a simple commnad using this, if I try the telent exchange server 25 it doesnt recognise my from address. Is there a list of basic trouble shooting linux commands i could run first which will give me an idea if what i need to do?

  4. #4
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Generally, "man programname" gives you a short help for any program.

    I call the sendMail program this way
    sendEmail -xu myfromemail@sender.account -xp accountpassword -v -f "The sender's name"
    -s smtp.sender.account -t towhom@themail.goes -u "The mail's subject"
    Debian GNU/Linux -- You know you want it.

  5. #5
    Just Joined!
    Join Date
    Mar 2009
    Posts
    4
    How do I find what my "myfromemail@sender.account" is? when I try the telnet 25 command it seems to recognise the server host but not a from mail name.

  6. #6
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    It is an email account you have elsewhere. When you write email to somebody from your desktop, which SMTP you connect to?
    Debian GNU/Linux -- You know you want it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...