Michael Perry wrote:
Narrowed down some email issues. Now anyone know why email sent through localhost would queue instead of going out immediately? I checked how sendmail is configured in yast and it has switches for sendmail -bd -q30m -om. This means as far as I know to run in background daemon mode, to queue email for 30 minutes, and to... I dont know what -om means. But its academic because sendmail does not send the email after its queued. When suse boots, where does sendmail get its args from? It appears that it does not start in daemon mode since it is not intercepting email that has queued for 30 mins per the argumeent above. Does one have to still sendmail -q either in a crontab or manually? Even running sendmail in yast with no args queues messages sent from netscape.
Hello Michael, roughly remembering your previous mails, I suppose, you want to store your mail locally and deliver it to your ISP later (at a fixed time, etc.) There is an article in the SDB (search for sendmail): <A HREF="http://localhost/support-db/sdb_e/smt_sendmail.html"><A HREF="http://localhost/support-db/sdb_e/smt_sendmail.html</A">http://localhost/support-db/sdb_e/smt_sendmail.html</A</A>> that describes the procedure. You need to alter a few entrys in rc.config: marvin:/home/brauki # cat /etc/rc.config|grep MAIL MAIL_REPORTS_TO="root" SENDMAIL_TYPE="yes" SENDMAIL_SMARTHOST="mail.cityweb.de" #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ your ISP's server SENDMAIL_LOCALHOST="localhost" SENDMAIL_RELAY="" SENDMAIL_ARGS="-bd -om" SENDMAIL_EXPENSIVE="yes" # you probably want to enable this on a SENDMAIL_EXPENSIVE system SENDMAIL_NOCANONIFY="yes" btw. this is were sendmail gets it's args from. Look at *any* script in /sbin/init.d. You'll always find a ". /etc/rc.config" in there, that sets the variables for the script. the relevant var's are later used in the script. for "emergencys" you'll find "alternetive" settings as well. Juergen -- ========================================== __ _ Juergen Braukmann mail: brauki@cityweb.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu| /\\ /__/ / _ \/ // /\ \/ / ==========================================_\_v __/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>