LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-23-2003, 02:38 PM   #1
andynxn
LQ Newbie
 
Registered: Sep 2003
Location: North Wales, UK
Distribution: Mandrake 9
Posts: 5

Rep: Reputation: 0
Finger with sendmail


hi all,

I have sendmail running on my linux box, everything is working fine except
when the server is off line I lose mail im supposed to collect. Now I know
this mail is stored on the remote mail server and I need to issue the
'finger' command, anyone know how I set sendmail to automatically send this
command when my server is up and running again?

Cheers
Andy
 
Old 10-23-2003, 03:21 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Why do you need to issue a finger command? I've never heard of using finger to transfer email. When your Linux is offline, are you losing the email or just not collecting it. I'm curious to know what is telling the remote server to delete the email when your system is not online.
 
Old 10-23-2003, 04:13 PM   #3
schwing
LQ Newbie
 
Registered: Oct 2003
Location: Michigan, USA
Distribution: YellowDogLinux & Debian Sarge
Posts: 14

Rep: Reputation: 0
Well, you should have a secondary MX spooling your messages in case your primary goes offline. I think that's what you mean when you said "Now I know this mail is stored on the remote mail server". If so, your mail is not lost, it's just stored until your box comes back online. Usually a secondary will try to deliver any messages it has spooled at regular intervals. You can "force" the mail server to try to deliver by issuing the ETRN command. Something like this should work and should be easy enough to script:

$ telnet secondarymx.mydomain.com 25
ehlo mydomain.com
etrn mydomain.com
quit

HTH.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finger AquamaN Programming 1 11-10-2003 03:54 PM
w and finger Slackwares Linux - Newbie 1 10-13-2003 06:47 AM
finger - command rob99 Linux - Networking 2 02-02-2003 12:40 PM
finger myusername? blight2c Linux - Newbie 2 06-17-2002 07:42 PM
Three finger salute jamaso Linux - General 7 01-31-2002 09:14 AM


All times are GMT -5. The time now is 03:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration