--------
> Although this is a Sendmail question, people on this list have probably
> configured it
> as I am trying to do.
Yep, it took me a lot of work to get this going and to carry out the aliasing correctly.
> I have bought the Bat Book, but I am still having trouble.
I read the Mail-queue mini, Sendmail FAQ and TCP/IP Network Admin guide by Craig Hunt.
> I am aware of the 'Hold Expensive' & 'Deliver in Background' options,
Make sure sendmail starts with the following in the init scripts:
#this is queue mode (see Mail-queue mini)
#option c added on advice from sendmail faq 4.4
#for details of -o options see TCP/IP NAG pg 571
daemon /usr/sbin/sendmail -bd -osc
(the comments are my reminders for the location of the info)
For me (using RH5.0) this is located in /etc/rc.d/init.d/sendmail and the daemon line replaces the existing:
daemon /usr/sbin/sendmail -bd -q5m
Make sure that in /etc/sendmail.cf has the following:
O HoldExpensive=True
You may find that the example cf file has the line:
O HoldExpensive=False
and your sendmail.cf Mailer Specifications (located near the bottom of the file) look something like:
Msmtp, P=[IPC], F=mDFMuXe, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mesmtp, P=[IPC], F=mDFMuXae, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Msmtp8, P=[IPC], F=mDFMuX8e, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mrelay, P=[IPC], F=mDFMuXa8e, S=11/31, R=61, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
A=IPC $h
The important bit is the "e" in the flags section e.g F=mDFMuX e This marks the mailer as expensive and mail should be queued for later.
To send mail add the following to /etc/ppp/ip-up:
./usr/sbin/sendmail -q
This will flush the mail queue (i.e. send the mail) every time pppd comes up online.
Hope that helps
------------------------------------------------------------
Richard McMahon
Copenhagen
- To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [EMAIL PROTECTED]
- Configuration of Sendmail Paul . Thomas
- Re: Configuration of Sendmail Richard McMahon
- Re: Configuration of Sendmail Pieter Meiring
- Re: Configuration of Sendmail Charles Shoemaker
- Re: Configuration of Sendmail Pieter Meiring
- Re: Configuration of Sendmail Charles Shoemaker
- Re: Configuration of Sendmail Pieter Meiring
- Re: Configuration of Sendmail Luca Olivetti
- Re: Configuration of Sendmail Richard McMahon
- Re: Configuration of Sendmail Dave Merkel
- Re: Configuration of Sendmail Bob Taylor
- Re: Configuration of Sendmail Pieter Meiring
