@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> anyone know how to keep sendmail from sending DSNs?
<1> can someone pls help me with a sendmail configuration ?
<2> k_ismay: srv_features: E in /etc/mail/access should do the trick
<2> or privacyoptions=noreceipts
<2> thesefirah: whats up ?
<1> im sorry to bother, im a newbie, ive been reading for days on sendmail
<1> i cant seem to get it up and running, and on top of it, something very wired happens
<1> if i start it, i get continous mail from crond (?)
<1> im really desperate
<1> i hope someone can take the time to help me...
<2> what kind of mail from crond... it sounds like sendmail is working, but crond is broken
<1> can i paste ?
<2> it isn't more than a few lines
<1> ill cut
<1> To: root@boby
<1> Subject: cron: root php -f /var/www/htdocs/draw.php



<1> Status: RO
<1> /bin/sh: line 1: root: command not found
<1> and this keeps coming over and over
<2> yuppers, an error in the crontap
<1> i checked ctontabs
<1> there is NO php -f /var/www/htdocs/draw.php in root
<1> there WAS long time ago
<1> i first commented and then deleted the line...
<1> i dont know where it gets it
<1> + there are other lines there... why doesnt it pick on them.... ?...
<2> ls /var/spool/cron/crontabs (on Debian, at least) to see what other crontabs are outthere
<2> how did you delete the line... cron may not have noticed it yet
<1> i have root and anotheruser
<1> like.. delete ??
<1> and this was days ago
<2> ie, did you use `crontab -e` or vi /var.../crontab/root
<1> no, pico
<1> im guessing its the same thing
<2> ls /etc/cron/cron.* - there you'll likely find a ration of other cron jobs
<1> havent got that on slackware
<2> you edit crontabs with `crontab -e` under the specified user...
<1> like i said.. i did, that was the first thing i did
<2> otherwise, you can get trashed files, and cron may not be properly notified of updates
<2> sorry /etc/cron.*
<1> /etc/cron.daily:
<1> logrotate* slocate*
<1> /etc/cron.hourly:
<1> kmod*
<1> /etc/cron.monthly:
<1> /etc/cron.weekly:
<2> that will be where jobs that have root in them belong... otherwise in a user crontab, you can't specify another user
<1> i only have two users in crontabs
<1> is there any way to "restart cron" ??
<2> /etc/init.d/crond restart
<2> or killall -HUP cron
<1> slackware doesnt have the first ... so ..
<1> but wht should cron mail me ? dont get it
<1> if i shutdown crond will it have negative impacts on the sistem ?
<3> hard to say.
<3> consider what crond jobs cron runs for you now, that will no longer be run. do any of them matter to you? to your system? to others?
<1> for me crond does nothing, i dont know for the sistem .. ;<
<1> didnt work :<
<2> you've got to find where the errant crontab is
<1> i cant imagine where the hell it could be
<2> grep php /etc/cron.*/*
<1> nothn
<2> do the same in /var/spool/cron*
<1> root@boby:/etc/rc.d# grep php /var/spool/cron*
<1> root@boby:/etc/rc.d#
<1> :(
<2> man cron and crontab to see where your distro may store the files
<1> crond is responsible for scanning the crontab files and running their commands at the appropriate time.
<1> The crontab program communicates with crond through the "cron.update" file which resides in crontabs
<1> directory, usually /var/spool/cron/crontabs.
<1> lound and clear :(
<2> do a mailq... those may just be queued mail that is now being delivered
<1> dont think so :(
<1> its like 10 mails/second
<1> i can barely terminate it
<2> sounds like queued mail to me... cron ain't gonna be running jobs that fast
<1> . /var/spool/mqueue (1546 requests)



<2> thats your problem... if you don't have other mail, you can stop sendmail and empty the directory
<1> sendmail is stoped
<1> its to start it that i want :D
<2> clean out the directory and restart it
<1> may i ask how to clean ? just rm ? :D
<2> yeah, but hope there isn't other mail (not from cron) in there
<1> here goes nothn
<1> rm * ?
<1> ok its empty
<1> hope they dont come back again ...
<2> if you can't find the offending crontab, you should be safe
<1> holding my fingers crossed while sendmail starts
<1> PS: shouldnt #sendmail me <file mail me the contense of file ?
<1> apparently no more emails from thet stupid crond :D
<2> sendmail -t <file will, IFF the file has headers
<2> otherwise, you want mail or mailx <file
<1> i think i have a looong way to a fully operational mail server :D
<0> Cowboy: will the srv_features: E or noreceitps suppress sending "User unknown" type bounces ?
<2> i believe that is just for successful DSNs
<0> ok.
<0> my problem is of course spammers spamming me, with the vast majority winding up "user unknown". so my sendmail sends back a user unknown bounce to an innocent bystander.
<3> sendmail should never bounce a user unknown, it should merely reject the address during smtp.
<0> it will if its not delivering the mail locally, but forwarding it on to a mailhub.
<0> i set it up to use deliverymode interactive, so its reduced it the problem.
<3> then fix it.
<0> your helpfull. That's why I'm here. I'm asking "how do I fix it".
<3> stop doing that relaying?
<3> make your sendmail query the next-hop before it accepts the address?
<0> that's what deliverymode interactive does. however, if the mailhub is overloaded, it'll refuse connections for a while.
<0> during those times, my relay will send out bounces.
<3> interactive does no such thing.
<3> it merely gets lucky sometimes.
<3> i would suggest using ldap, but some find that too daunting and prefer copying the mailbox list from the next-hop to virtusertable.
<0> ok.
<3> there is also a milter, iirc milter-ahead.
<0> right.
<0> i think i've seen that.
<4> hi is tehre an easy guide to configure sendmail
<4> i want to know the primary things to configure
<4> I have never been able to install it
<5> hi guys, i know this might be stupid, just let me know and I wont ask
<5> is it OK to ask a qmail question here, as everybody in #qmail has been idle for like a week now
<6> Hi, I was just wondering if there was some magical way to have sendmail replace a word in every outgoing email with another word.
<7> ReD-MaN: in the body??
<8> milter
<6> yup in the body
<6> all the emails are from our network monitoring system, and are in plain text
<6> We would just prefer some people not know what we are using for our monitoring software, and that is included in a signature in the emails
<7> yup.. milter would be one way.. but if you are initially submitting this mails .. how about fixing it before submission?
<9> how can i filter email based on header content
<6> the program sends it automatically to sendmail running on localhost
<6> so there is no way to change it before it hits sendmail
<6> and the software is binary only, so I can't change it there
<7> Strykar: this way: http://rafb.net/paste/results/rdXlwd39.html
<7> ReD-MaN: hm, using localhost:smtp or by running a configurable program? (o:
<9> HotaruT, can i simply change to "dnl discard anything with: myruleshere: YES" and remake config?
<7> Strykar: dnl -- delete (until) newline .. this is a comment
<9> oh crap, sorry, misread that
<7> Strykar: you need to replace X-Spam-Flag in "HX-Spam-Flag: $>ScreenSpam" with your header, and YES in "R YES ..." with your match ..
<7> Strykar: and, after YES is a TAB not SPACE
<9> i wanted to discard mails that have headers like: Content-type: text/html; charset=big5*
<7> Strykar: what about using spam******in? (o:
<9> or just "charset=big5*" and "charset="euc-kr*
<9> " would do
<9> HotaruT, its a very low traffic server and im honestly only being hit by taiwanese spammers who after spamhaus and ordb rbls
<10> Strykar: http://rafb.net/paste/results/bijjdU79.html
<9> Zerberus, does that include all of these: http://rafb.net/paste/results/P3CBw421.html
<9> this is very new to me
<10> just expand the regexp
<7> ah. yes.. $#error is generally better (I use $#discard on a server which does mailinglist traffic exclusivly and is behind my regular spam filter, so no point in bouncing anything)
<6> localhost:smtp
<9> Zerberus, using | as a seperator?
<10> yes


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #sendmail
or
Go to some related logs:

damn small linux searching for Boot Record
#perl
#qemu
88W8000G patch
administrator mode ubuntu Su returned with an error
luridlabs
lock screen terminal ubuntu
chomp $variab
#ubuntu
#fedora



Home  |  disclaimer  |  contact  |  submit quotes