Networking Forums

Networking Forums > Computer Networking > Linux Networking > Sending mail from Linux--what's required?

Reply
Thread Tools Display Modes

Sending mail from Linux--what's required?

 
 
Scott Lowe
Guest
Posts: n/a

 
      11-14-2004, 02:46 AM
OK, this is probably a very stupid question, and I feel a bit
embarrassed to ask. However, being reasonably new to Linux, I hope
that everyone won't look too unfavorably on me. : )

I am looking for a way to make Logwatch send reports to me nightly.
None of the Linux servers, except one running Postfix, actually send
their reports to the e-mail address specified in logwatch.conf. Do I
need to run a mail server, such as Postfix, on each and every Linux
server in order to get these logwatch reports e-mailed to me? If not,
what is needed on each Linux server in order to make it able to submit
e-mail messages via SMTP?

TIA for any help you can provide.

--
Scott Lowe

 
Reply With Quote
 
 
 
 
Bill Unruh
Guest
Posts: n/a

 
      11-14-2004, 06:22 AM
Scott Lowe <(E-Mail Removed)> writes:

]OK, this is probably a very stupid question, and I feel a bit
]embarrassed to ask. However, being reasonably new to Linux, I hope
]that everyone won't look too unfavorably on me. : )

]I am looking for a way to make Logwatch send reports to me nightly.
]None of the Linux servers, except one running Postfix, actually send
]their reports to the e-mail address specified in logwatch.conf. Do I
]need to run a mail server, such as Postfix, on each and every Linux

Yes.

]server in order to get these logwatch reports e-mailed to me? If not,
]what is needed on each Linux server in order to make it able to submit
]e-mail messages via SMTP?

Mail servers is what delivers the mail messages vi smtp.
So run postfix. If you want comment out the first line
smtp inet n - y - - smtpd



]TIA for any help you can provide.

]--
]Scott Lowe

 
Reply With Quote
 
SPAM_FREE
Guest
Posts: n/a

 
      11-15-2004, 01:15 PM
Scott Lowe wrote:

> OK, this is probably a very stupid question, and I feel a bit
> embarrassed to ask. However, being reasonably new to Linux, I hope that
> everyone won't look too unfavorably on me. : )
>
> I am looking for a way to make Logwatch send reports to me nightly.
> None of the Linux servers, except one running Postfix, actually send
> their reports to the e-mail address specified in logwatch.conf. Do I
> need to run a mail server, such as Postfix, on each and every Linux
> server in order to get these logwatch reports e-mailed to me? If not,
> what is needed on each Linux server in order to make it able to submit
> e-mail messages via SMTP?
>
> TIA for any help you can provide.
>


I can't say for all linux versions but normally only a local mail server
is installed by default. Meaning mali stays within the host machine. To
send mail to the real world or an inhouse network . YES you need a mail
server on each machine.
 
Reply With Quote
 
SPAM_FREE
Guest
Posts: n/a

 
      11-15-2004, 01:16 PM
Scott Lowe wrote:

> OK, this is probably a very stupid question, and I feel a bit
> embarrassed to ask. However, being reasonably new to Linux, I hope that
> everyone won't look too unfavorably on me. : )
>
> I am looking for a way to make Logwatch send reports to me nightly.
> None of the Linux servers, except one running Postfix, actually send
> their reports to the e-mail address specified in logwatch.conf. Do I
> need to run a mail server, such as Postfix, on each and every Linux
> server in order to get these logwatch reports e-mailed to me? If not,
> what is needed on each Linux server in order to make it able to submit
> e-mail messages via SMTP?
>
> TIA for any help you can provide.
>


I can't say for all linux versions but normally only a local mail server
is installed by default. Meaning mali stays within the host machine. To
send mail to the real world or an inhouse network . YES you need a mail
server on each machine.
 
Reply With Quote
 
Scott Lowe
Guest
Posts: n/a

 
      11-16-2004, 03:28 AM
On 2004-11-15 09:15:37 -0500, SPAM_FREE <nospam.com> said:

> Scott Lowe wrote:
>
>> I am looking for a way to make Logwatch send reports to me nightly.
>> None of the Linux servers, except one running Postfix, actually send
>> their reports to the e-mail address specified in logwatch.conf. Do I
>> need to run a mail server, such as Postfix, on each and every Linux
>> server in order to get these logwatch reports e-mailed to me? If not,
>> what is needed on each Linux server in order to make it able to submit
>> e-mail messages via SMTP?

>
> I can't say for all linux versions but normally only a local mail
> server is installed by default. Meaning mali stays within the host
> machine. To send mail to the real world or an inhouse network . YES
> you need a mail
> server on each machine.


As these servers are production servers, I removed all non-essential
packages and left only those packages that were absolutely required for
each server's particular function. This is why none of them have
Sendmail (or Postfix, my MTA of choice) installed.

Looks like a full-blown MTA is needed, based on the responses seen thus
far. Thanks, I'll start researching an optimal Postfix configuration
for a server to act only as an SMTP client submitting messages to
another MTA. (Any suggestions out there?)

--
Scott Lowe

 
Reply With Quote
 
Nathan Dietsch
Guest
Posts: n/a

 
      11-16-2004, 10:21 AM
Hello,

SPAM_FREE wrote:
> Scott Lowe wrote:
>
>> OK, this is probably a very stupid question, and I feel a bit
>> embarrassed to ask. However, being reasonably new to Linux, I hope
>> that everyone won't look too unfavorably on me. : )
>>
>> I am looking for a way to make Logwatch send reports to me nightly.
>> None of the Linux servers, except one running Postfix, actually send
>> their reports to the e-mail address specified in logwatch.conf. Do I
>> need to run a mail server, such as Postfix, on each and every Linux
>> server in order to get these logwatch reports e-mailed to me? If not,
>> what is needed on each Linux server in order to make it able to submit
>> e-mail messages via SMTP?
>>
>> TIA for any help you can provide.
>>

>
> I can't say for all linux versions but normally only a local mail server
> is installed by default. Meaning mali stays within the host machine. To
> send mail to the real world or an inhouse network . YES you need a mail
> server on each machine.


I don't think this is correct, you seem to be either misinterpreting or
misunderstanding the roles of MTAs and MUAs. There are many MUAs that
can be used to send mail to a central mail server.

OP: This article will show you how to use the sendmail software as an
MUA rather than an MTA. All you need is a mailserver somewhere on your
network. http://www.samag.com/documents/s=822...306a/0306a.htm

I hope this helps.

Kind Regards,

Nathan Dietsch


 
Reply With Quote
 
Scott Lowe
Guest
Posts: n/a

 
      11-16-2004, 04:55 PM
On 2004-11-16 06:21:29 -0500, Nathan Dietsch <(E-Mail Removed)> said:

> Hello,
>
> SPAM_FREE wrote:
>>
>> I can't say for all linux versions but normally only a local mail
>> server is installed by default. Meaning mali stays within the host
>> machine. To send mail to the real world or an inhouse network . YES
>> you need a mail
>> server on each machine.

>
> I don't think this is correct, you seem to be either misinterpreting or
> misunderstanding the roles of MTAs and MUAs. There are many MUAs that
> can be used to send mail to a central mail server.
>
> OP: This article will show you how to use the sendmail software as an
> MUA rather than an MTA. All you need is a mailserver somewhere on your
> network. http://www.samag.com/documents/s=822...306a/0306a.htm


What about a nullmailer? Something like GNU mailutils mail.remote or
the like? All I need is something simple whose only purpose in life
would be to submit messages via SMTP to a separate mail server.

--
Scott Lowe

 
Reply With Quote
 
Nathan Dietsch
Guest
Posts: n/a

 
      11-17-2004, 12:56 AM
Hello Scott,

Scott Lowe wrote:
> On 2004-11-16 06:21:29 -0500, Nathan Dietsch <(E-Mail Removed)> said:
>
>> Hello,
>>
>> SPAM_FREE wrote:
>>
>>>
>>> I can't say for all linux versions but normally only a local mail
>>> server is installed by default. Meaning mali stays within the host
>>> machine. To send mail to the real world or an inhouse network . YES
>>> you need a mail
>>> server on each machine.

>>
>>
>> I don't think this is correct, you seem to be either misinterpreting
>> or misunderstanding the roles of MTAs and MUAs. There are many MUAs
>> that can be used to send mail to a central mail server.
>>
>> OP: This article will show you how to use the sendmail software as an
>> MUA rather than an MTA. All you need is a mailserver somewhere on your
>> network. http://www.samag.com/documents/s=822...306a/0306a.htm

>
>
> What about a nullmailer? Something like GNU mailutils mail.remote or
> the like? All I need is something simple whose only purpose in life
> would be to submit messages via SMTP to a separate mail server.


Nullmailer looks like it would do the job.
There are many, I believe there are perl scripts to do it as well.

Regards,

Nathan Dietsch

 
Reply With Quote
 
IANAL_VISTA
Guest
Posts: n/a

 
      11-17-2004, 01:40 AM
Nathan Dietsch <(E-Mail Removed)> wrote in
news:4dymd.77$(E-Mail Removed):
[...snip...]
> Nullmailer looks like it would do the job.
> There are many, I believe there are perl scripts to do it as well.
>
> Regards,
>
> Nathan Dietsch
>
>


Heck, I send send email just by using TELNET

telnet mailhost.mydomain.com:25
 
Reply With Quote
 
SPAM_FREE
Guest
Posts: n/a

 
      11-17-2004, 06:59 AM
Nathan Dietsch wrote:
> Hello,
>
> SPAM_FREE wrote:
>
>> Scott Lowe wrote:
>>
>>> OK, this is probably a very stupid question, and I feel a bit
>>> embarrassed to ask. However, being reasonably new to Linux, I hope
>>> that everyone won't look too unfavorably on me. : )
>>>
>>> I am looking for a way to make Logwatch send reports to me nightly.
>>> None of the Linux servers, except one running Postfix, actually send
>>> their reports to the e-mail address specified in logwatch.conf. Do I
>>> need to run a mail server, such as Postfix, on each and every Linux
>>> server in order to get these logwatch reports e-mailed to me? If
>>> not, what is needed on each Linux server in order to make it able to
>>> submit e-mail messages via SMTP?
>>>
>>> TIA for any help you can provide.
>>>

>>
>> I can't say for all linux versions but normally only a local mail
>> server is installed by default. Meaning mali stays within the host
>> machine. To send mail to the real world or an inhouse network . YES
>> you need a mail
>> server on each machine.

>
>
> I don't think this is correct, you seem to be either misinterpreting or
> misunderstanding the roles of MTAs and MUAs. There are many MUAs that
> can be used to send mail to a central mail server.
>
> OP: This article will show you how to use the sendmail software as an
> MUA rather than an MTA. All you need is a mailserver somewhere on your
> network. http://www.samag.com/documents/s=822...306a/0306a.htm
>
> I hope this helps.
>
> Kind Regards,
>
> Nathan Dietsch
>
>

Regardless what you want to call it. YOU NEED SOMETHING MORE !
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to config - sending mail to mail.btconnect.com via ADSL Steve Broadband 17 12-03-2005 12:55 PM
sending e-mail with Wi-Fi hot spot Lost & Found Wireless Networks 3 11-01-2005 04:32 AM
Sending mail as HTML Jenda Mudron Linux Networking 1 07-27-2005 06:42 AM
SMTP Not sending out the mail fro the queue Devapriya De Silva Windows Networking 0 05-25-2004 04:33 AM
Sending mail using telnet Ravi Linux Networking 3 12-01-2003 10:39 AM



1 2 3 4 5 6 7 8 9 10 11