Re: Rép. : Re: RH9 mail/sendmail behavior

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

 



On Sat, 2003-11-08 at 09:24, Georges Rosset wrote:

> Thank you for your answer.
> 
> Unfortunately no. This machine will be hosting a Lotus Domino
> server which has a daemon listening on port 25. Therefor sendmail
> must not be running as a daemon.
> 
> All what I need is to send all my administrative Linux e-mail to
> a central help desk for monitoring. And I have a lot of scripts
> already running on the old machine (RH7.2) which uses "mail
> xxx@xxxxxxxx". 
> Really, the simplest way would be that I could configure
> mail/sendmail on RH9 to have the same behavior as RH7.2...
> However, I spent already a couple of days on it and have not
> found the solution.
> 
> Georges Rosset
> 

Comparing sendmail running on RH7.2 and sendmail running on  RH9 is like
comparing apples to oranges. Mainly because of the new MSA/MSP feature.

Since I can't recreate your lotus domino stuff at this end, I can only
show you an example of how I send e-mails to a central mail server
without sendmail running on the sending system (see below). If all else
fails, open /usr/share/sendmail-cf/README and search for the section
called "MESSAGE SUBMISSION PROGRAM" -and- for the feature "msp". Should
point you in the right direction in achieving your goal.

Anyway, in my /etc/mail/submit.mc file...

1) I changed the following line:

From:
FEATURE(`msp', `[127.0.0.1]')dnl

To:
FEATURE(`msp', `[smtp.mydomain.tld]')dnl

2) Type "make" in the /etc/mail directory to recreate submit.cf

Now test:

[scowles@enterprise scowles]$ ps auwx | grep send
scowles   4048  0.0  0.2  4212  584 pts/2    S    13:17   0:00 grep send

[scowles@enterprise scowles]$ mail scowles@xxxxxxxxxxxx
Subject: Test
Test
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux