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

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

 



Don't exactly know why my previous e-mail was truncated - probably the
single . on a line, but I will try again without the period. (see below)

On Sat, 2003-11-08 at 13:48, Steve Cowles wrote:
> 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 -s "Test" scowles@xxxxxxxxxxxx <file

[scowles@enterprise scowles]$ tail /var/log/maillog
Nov  8 13:17:58 enterprise sendmail[4050]: hA8JHw8P004050:
from=scowles, size=42, class=0, nrcpts=1,
msgid=<200311081917.hA8JHw8P004050@xxxxxxxxxxxxxxxxxxxxxxx>,
relay=scowles@localhost

Nov  8 13:17:59 enterprise sendmail[4050]: hA8JHw8P004050:
to=scowles@xxxxxxxxxxxx, ctladdr=scowles (500/500),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30042,
relay=smtp.mydomain.tld. [192.168.9.3], dsn=2.0.0,
stat=Sent (Ok: queued as 1CCBD1768A)

Note the proper mailer (relay) was selected and the relay= matches the
msp setting from submit.mc

BTW: Is your domino server already running on this system your trying to
configure? i.e. Is it listening on port 25.

Steve Cowles


-- 
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