sendmail problem using Kmail

sendmail problem using Kmail

Post by marc onrus » Thu, 11 Jul 2002 06:19:24



Hi,

I just installed Suse 8.0 on my laptop (going real smooth so far). There's
this minor but irritating thing I can't find a solution for though:
When I had Suse 7.3 I used sendmail to send mail. As far as I remember, but
I'm not sure, I had the command /usr/lib/sendmail -q entered in the Kmail
configuration window. That way messages were sent out right after pushing
the send button. Now, for some reason it doesn't accept the -q option.
Without the -q option, I still need to give a sendmail -q on the
commandline to really send out messages.

Can someone tell me what to do to send messages without needing to give
sendmail -q ??

Thanks!
Marc

 
 
 

sendmail problem using Kmail

Post by Martin Grube » Thu, 11 Jul 2002 16:43:24


Why don't you add a line like

0-59/1 * * * * [ -x /usr/sbin/sendmail ] && /usr/sbin/sendmail -q

to your crontab (crontab -e)? It should look at mails to send every
minute and send them.

You could also add "-q20s" to the SENDMAIL_ARGS variable and your
mailqueue will be checked every 20 seconds for mails to send.

Martin

 
 
 

sendmail problem using Kmail

Post by Sven Gohlk » Fri, 12 Jul 2002 18:28:01



> I just installed Suse 8.0 on my laptop (going real smooth so far). There's
> this minor but irritating thing I can't find a solution for though:
> When I had Suse 7.3 I used sendmail to send mail. As far as I remember,
> but I'm not sure, I had the command /usr/lib/sendmail -q entered in the
> Kmail configuration window. That way messages were sent out right after
> pushing the send button. Now, for some reason it doesn't accept the -q
> option. Without the -q option, I still need to give a sendmail -q on the
> commandline to really send out messages.

> Can someone tell me what to do to send messages without needing to give
> sendmail -q ??

You should choose sendmail without any arguments (or '-bm' which is the
default) for delivering mail out of KMail. To clear the mail queue You have
several choices:

- You can start sendmail in daemon mode (see the Manual)
- You can add a line with 'sendmail -q' in /etc/ppp/ip-up.local if You send
mail exclusively via dial-in connections.
- You can start 'sendmail -q' with cron
--
Best Regards
Sven

 
 
 

1. Kmail / Sendmail question

Not sure if this is a sendmail or kmail question.  I have configured
sendmail on our RH 7.2 server and wish to relay mail from any workstation
on the network through the server.  What is the correct entry for kmail in
the sendmail or smtp settings?  Do I check sendmail or make an entry in the
smtp box for the ip or hostname?  
Thanks

2. "LI" Fixed! Magic Number now..

3. KMail cannot work with sendmail

4. Paging Software (for developers)

5. How to get KMail to access my Sendmail?

6. Perl Counter Script for httpd

7. 2nd try - Kmail and sendmail.cf

8. DDS-3 SCSI Tape Drive + Red Hat 6.0

9. Kmail & Sendmail

10. KMail - configuring the message list fields KMail

11. Atrocious printed output from KMail 1.2 using KDE 2.1

12. getting used to kmail

13. Using kmail with exchange 5.5 server