RE: [CentOS] nullmailer recommendations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2006-07-21 at 10:40 -0400, William L. Maltby wrote:
> On Fri, 2006-07-21 at 07:27 -0700, Mark Schoonover wrote:
> > Gavin Carr wrote:
> > > <snip>

> > 	How complex are your emails?? I need to do the same thing, and can't
> > get sendmail to email within my domain. I can send emails outside my
> > company, but not to an internal SMTP server. I'm working on a small perl
> > script that will do what I need - inject email into my internal SMTP server,
> > with attachments. I need simple email notification when cronjobs finish...
> > If you're interested, I can post this script to the list, hopefully later
> > today.
> > 
> > HTH
> > 
> > Mark
> > <snip sig stuff>
> 
> I don't know if we are talking the same thing here, but I have a couple
> CentOS 4.3 boxes on my little LAN. I send email (IIRC - I might have to
> double check *if* you all are interested) between the boxes no problem.
> All I did was make the change that I mention (this thread, another?)
> that tells sendmail to listen on more than localhost (which is the only
> listening it does by default).
> 
> Let me know if you want me to double-check that. I'm pretty sure it
> works because I need it to get down the road and have all my admin stuff
> at one host. That's why I did it.

I just couldn't stand it! So I tested. FYI: local caching DNS by IPCop,
nothing else fancy, std enet lan, no smtp server (special that is). As
long-time residents can tell you, I disavow any knowledge... and I get
it to work.

[hardtolove@wlmlfs08 ~]$ mail root@server01
Subject: Testing
Let me know if this gets there.
Thanks a lot
.
Cc:
<CR> # Entered, no CC

[hardtolove@wlmlfs08 ~]$ date
Fri Jul 21 10:48:06 EDT 2006

Now as root...

sh-3.00# tail -10 /var/log/maillog
<snip uninteresting>
Jul 21 10:47:55 wlmlfs08 sendmail[14756]: k6LEltaP014756:
from=hardtolove, size=81, class=0, nrcpts=1,
msgid=<200607211447.k6LEltaP014756@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
relay=hardtolove@localhost
Jul 21 10:47:55 wlmlfs08 sendmail[14757]: k6LElt3P014757:
from=<hardtolove@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, size=442, class=0,
nrcpts=1,
msgid=<200607211447.k6LEltaP014756@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jul 21 10:47:55 wlmlfs08 sendmail[14756]: k6LEltaP014756:
to=root@server01, ctladdr=hardtolove (501/503), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30081, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (k6LElt3P014757 Message accepted for delivery)
Jul 21 10:47:56 wlmlfs08 sendmail[14759]: k6LElt3P014757:
to=<root@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
ctladdr=<hardtolove@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> (501/503),
delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120442,
relay=server01.homegroannetworking. [192.168.2.87], dsn=2.0.0, stat=Sent
(k6LEltmV002507 Message accepted for delivery)
<snip more boring stuff>
sh-3.00#

On the target machinei the last one is it:

[root@server01 ~]# mailx
Mail version 8.1 6/6/93.  Type ? for help.
"/var/spool/mail/root": 9 messages 1 new 9 unread
 U  1 root@xxxxxxxxxxxxxxx  Tue Jun 27 04:02  44/1584  "LogWatch for
server01.homegroannetworking"
<snip>
>N  9 hardtolove@wlmlfs08.  Fri Jul 21 10:47  20/1043  "Testing

> <snip sig stuff>

I have nothing against additional round wheels, especially developed by
others! :-) I *am* lazy though, so I worked *really* hard for a *long*
time to find out how to do it the "easy" way, *for_my_situation*.

My previous post I mentioned (can be found in the archives) has a patch
IIRC. Really simple.

HTH
-- 
Bill

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux