General :: Sendmail - Creating Queue Files Directly?
Jul 27, 2010
I am directly creating "qf" & "df" files into the sendmail queue folder and then processing this queue by command line. This is the only way to export data and email from this old application I am stuck with.This works quite well in my test enviornment but I am really new to linux/sendmail and just looking for any feedback on this process. Is this direct creation of queue files safe and any pitfalls that I should be aware of?
Ok for some reason my sendmail queue is not processing the mail that's in mailq it looks like it trys to process and times out or something and skips to the next one, is there any way I can find out why it's not sending the queue list that's in mailq. the mail that's in the queue list is from my websites registration form.
how can i search mails in queue of sendmail /var/spool/mqueue by IP. This facility is available in qmail e.g. qmqtool -f '10.10.10.10' this search all mail messages by IP and we can delete all the message easily.
Is there a simple way to move the Sendmail queue folder? Presently it's at the default location on /var/spool/mqueue/ but when / recently ran out of space (my fault storing backups there), it was unable to receive any more mail. There is plenty of space at another partition. My /var/opt/scalix location lives on another set of discs with lots of room. I created a folder called /var/opt/scalix/sendmail/mailqueue/ but uncertain how to move the existing queue to it.
Messages are stuck in my server's /var/spool/mqueue/ folder beyond the lifetime I have specified in confTO_QUEUERETURN (5d). Any idea why this could be? The file permissions appear fine; files in the mqueue folder show rights of: Code:-rw------- 1 root smmspThis is causing an issue because the queues are slowly getting larger and larger. I'm seeing the queue size consistently growing. maillog shows entries like: Code:grew WorkList for /var/spool/mqueue to 28000Just thinking outloud -- could the queue runner not be completing it's job in time? Maybe I could check with time sendmail -q
I want to setup sendmail to alert for Nagios, OSSEC, redmine, ...
I configure sendmail to work with Gmail smtp follow this guide. I disable local delivery in sendmail by adding the following lines in sendmail.mc:
Code: define(`MAIL_HUB', `xx.localdomain.')dnl define(`LOCAL_RELAY', `xx.localdomain.')dnl it works but this messages seems to be stuck in sendmail queue: Code: sendmail -bp ...
Sendmail isn't sending mail for some reason and keeping it in the Queue. I attemped to flush them but it deferres the connection to the server in which it is trying to relay the message to. I have checked to see if there is a DNS error or anything like that. I attemped to flush the messages through webmin.
This is the result.
Code:
I am not finding anything in the logs to let me know their is an error. I can ping the mail servers that it is trying to send to. Now it has started delaying when ping MX servers. So I knew something was starting to mess with it. I have checked the /etc/hosts. It is correct. The server isn't black listed. Mail to root just gives me.
I wanted to queue up all audio files in particular folder which also has .txt files.I tried$find /data/songs -iname '[^txt]' -exec totem --enqueue '{}' ';'Thinking that this will exclude txt like expression in 'grep'.It did not work
"List.lst" is my file containing my files. How may I burn them onto my blank disc with either growisofs or cdrecord? Usually it is based on a copy of a folder to a temp folder, and burn this folder. but I would like to use a file as input. man growisofs is not so widely full of explanations.. .
I have an Outlook 2007 PST file that iam trying to import into Thunderbird/IceDove. Based on what google told i tried readpst, it gave me the following error
Code:
$readpst -o PSTfolder/ -r Outlook.pst
Opening PST file and indexes...unknown index structure. Could this be a new Outlook 2003 PST file? Error opening File I did have a look at outport, but it hasnt been updated since 2008(?) i doubt it would work with outlook 2007
is it possible to get the length or even the items of both queues, the run queue and the swap queue? I've googled a lot but had no luck. Maybe I havn't used the correct search words...
Is there any header and/or code example to use structures or any API to get these information from the kernel or the scheduler?
I have a doubt wrt to installing "Q" files . I have cloned a repo from git ..Yesterday I tried to install Libre office using sbopkg..It began with the download and gave an error asking me to retry/abort or continue with the build due to some missing package..I presently have a folder "queues" in /var/lib/sbopkg..I also downloaded another repo and placed it another folder. The problem is that in SBOpkg it is picking up only from the queue folder in /var/lib/SBOpkg/Queues. I dont know how to point to the other folder in /home/downloads/queues/ (the second repo)..I thought of trying this as neither slackbuild or the first repo is working for installing libre office..The internet connectivity is ok!
I use mplayer/mencoder to make *.avi files from mpegs. Now I wonder is it possible to someway queue commands. I needed because I try to use mencoder at night time, while I sleep. I could encode about 4-5 movies / night but how to do it?
full snapshot of ArchLinux Repo for x86_64I want to use this as my restore backup should I need to reinstall Arch without network support.How do I build several *tar volumes of my /mount/my_repo to fit into 4.5GB DVDs ... the thing is 18 GB size...How do I extract all the *tar created to a folder later on...? is it the same as extracting a single *tar, will tar find all volumes in the same directory level so as to continue extracing or do I need to merge them in some way
how I can randomly write / create a 1 GB file in bash to test disk / network i/o? I was told I could use the 'dd' command but I don't know if there are some better ways and or what the 'dd' command looks like.
Concatenating two files without creating a newline between them? So how is it possible to do that? I've tried the following: Code: echo 123 > file1 echo 456 > file2 cat file2 file2 > file3
Actuaaly i am creating watch on one directory in which files are continuously coming.Is there any command which can give listing of all files who have come in last 24 hrs.
Please why my scanning is always creating huge 50Mb to 100Mb PDF files ?Each A4 Pnm file is of 6.5Mbytes by resolution of 150.If I decrease the resolution lower than 100, then it starts to be unreadable my text ...
I dual boot Windows and Ubuntu dual on my computer. I made the big mistake of moving a bunch of files directly from the ubuntu partition and now all those files are gone. How can I get them back?
most canon selphy printers does not work under linux, but i think its possible to send files to a selphy printer via bluetooth. and after recieving the file, it instantly prints the image. my question is, is there a way to send files from a pc to selphy via usb instead of bluetooth. i believe you can use obexftp to send files from pc->selphy and it will instantly print, the problem with this approach is that it takes a lot of time to send the file. if there is a way to use a cable to transfer the files then we could print directly. or is there a cable that somewhat simulates how bluetooth transfers.
Generating avi files for movies directly from gfortran programs. I make movies from my Fortran codes using seismic unix - SU. Need to modernize this method to make avi movies or something similar. I am quite adept at generating "C" binary files from Fortran. Have not been able to find the documented definition of AVI file format.
Flash Player ActiveX is always copying movie from I-net before playing it. Is it possible to load and play flash movies directly from any source without usage of temporary files to protect the movie from any other LOCAL outside access?