LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-20-2006, 08:33 AM   #1
slackbat
Member
 
Registered: Dec 2005
Location: uk Lampeter
Distribution: Slackware 14_64_multilib - Manjaro and Debian/Siduction
Posts: 59

Rep: Reputation: 17
How to forward/deliver mail thats already in spool


Hi all,

I am running postfix, procmail, spamassassin and fetchmail. My email client is mutt.

I am running zenwalk 2.8.

My problem is that my server went down, and when I got it back up and running, I had changed the name of my domain.

I have a cron.job to collect mail from external accounts.

Crontab duly continued to colect mail, but I think due to the domain name change - plus the fact I had not at that point updated /etc/postfix/main.cf - mail was stored in /var/spool.

So how would I be able to now collect the mail in spool to my home folder mail directory - and if possible to be sorted through procmail - if thats not to much to ask??

Cheers in advance...
 
Old 08-21-2006, 05:00 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
"postqueue -f" will attempt to correctly deliver all mail instantly.
 
  


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
Import Mail from /var/spool/mail (sendmail) to a MailDir Format in Postfix shawnbishop Linux - Software 0 04-06-2006 11:44 AM
Postfix: Need to deliver all local mail to 1 account, then forward OneBinary Linux - Software 3 01-05-2006 05:49 PM
sendmail error Fetching mail could not lock /var/spool/mail/username sukhdev50 Linux - Networking 0 05-04-2005 04:41 AM
Forward All Postfix messages and deliver them dlublink Linux - Networking 1 12-27-2004 11:34 PM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 07:25 AM


All times are GMT -5. The time now is 01:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration