problems with mailq and sendmail
Hi, I have sendmail / mutt config on my laptop, Suse 8.0. ADSL/dialup system. When my laptop is connected everything is working smoothly, but when I unhook it from the network and write some letters, and "send them" I would expect them to be shown in queue using command "mailq", (just like it was on Suse 7.2.). Unfortunately this is not the case. when I "send" (system is off line) the sendmail takes very long time to put it to the queue, and the command mailq takes even longer to show the queue to be empty?! I set up my sendmail using Yast2. 1.Where are those written by me letters are placed? 2.Why mailq does not show them? 3.How can I fixed the problem so when I write my emails off line I'll see them in mailq? 4.How can I implement multiple personalities (I still have a problem with that) using mutt Thanks for any help, Wojtek
On Tue, 25 Jun 2002, Wojtek Malinski wrote:
1.Where are those written by me letters are placed? 2.Why mailq does not show them? 3.How can I fixed the problem so when I write my emails off line I'll see them in mailq?
From /usr/share/doc/packages/sendmail/SECURITY you get:
Summary ------- This is a brief summary how the two configuration files are used: sendmail.cf For the MTA (mail transmission agent) The MTA is started by root as daemon: /PATH/TO/sendmail -L sendmail -bd -q1h it accepts SMTP connections (on ports 25 and 587 by default); it runs the main queue (/var/spool/mqueue by default). submit.cf For the MSP (mail submission program) The MSP is used to submit e-mails, hence it is invoked by programs (and maybe users); it does not run as SMTP daemon; it uses /var/spool/clientmqueue by default; it can be started to run that queue periodically: /PATH/TO/sendmail -L sendmail-client -Ac -q30m [...] If you want to see your offline emails got to /var/spool/clientmqueue ... being online run /sendmail -L sendmail-client -Ac -q30m to get them to your /var/spool/mqueue ... from SECURITY you also get: What doesn't work anymore ------------------------- Normal users can't use mailq anymore to see the MTA mail queue. There are several ways around it, e.g., changing QueueFileMode or giving users access via a program like sudo. [...] Oliver -- ... don't touch the bang-bang fruit
participants (2)
-
Oliver Fuchs
-
Wojtek Malinski