LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Setup Standalone (dialin) mailserver (https://www.linuxquestions.org/questions/linux-networking-3/setup-standalone-dialin-mailserver-223006/)

pohlcml 08-27-2004 05:34 AM

Setup Standalone (dialin) mailserver
 
Hi

OK, I'm done trying - now I need help.

Running a Redhat 9 server with a ISDN modem.

Here's what I'm trying to do in a small office environment.

Users on the LAN should be able to send e-mail and retrieve their internet mail. There is no dedicated connection to the internet.

What i'm trying to do is - Setup a mailserver that do a dialin, 4 times during the day. When the users send email it should be queued in the Sendmail queue. Sendmail should after dialin flush the mail queue and retrieve the users mail from their internet email accounts.

Sendmail works 100% if the phone line is connected, but It seems that sendmail won't queue the messages if it do not have a phone line connection.

Can ANYONE tell me how to get this working?

Thanks

pohlcml 08-31-2004 09:32 AM

Got it working
 
OK - fixed it

Do this command

/usr/lib/sendmail -v -L sm-clientmqueue -Ac -q

it flushes the clientmqueue to the mqueue - (Modem connection must be active when you issue this or else it will stay in the clientmqueue)
then do this command

/usr/lib/sendmail -v -q -C/etc/mail/sendmail.cf - (This flush the mqueue)

Hope it helps someone else.

Cheers


All times are GMT -5. The time now is 10:35 PM.