Sendmail bounce handler works!
Home
Trying to write a mail bounce handling thing for popex, but getting an annoying error saying not available to sendmail... thought it might be about the script / directory being symlinked from somewhere else, but it's not, sendmail insists on any scripts that it runs being put in the /etc/smrsh directory... so, all told the solution was:
- Put
intobounce: "| /etc/smrsh/mailHandler.pl"/etc/aliases - Run
newaliases - er, that's it really
Haven't made mailHandler.pl do anything smart yet, have to get it to recognise when it gets a bounce, see how many mails that user has bounced, etc... a whole lot of info to stuff into the database. Also the mail queue is so full that it's hard to test this right now.
pauly :: 2003 :: Comment / reply
I'm pleased to report that this works nicely, got thousands of messages today saying "would have deleted this account", so time to really put it into action, disabling accounts, setting them not to receive mail etc...
Had a few drinks and some champion pool triumphs in The Defoe yesterday, then on to dinner in Anglo Asian... it was really busy, big wait for a table, and the food wasn't the same for some reason, maybe a new chef? Anyway, different taste, and smaller portions, strange one... still got my free sherry and the ladies got roses too, so it's still right up there for places to eat in Stokey...
pauly :: 16 Nov :: 2003 :: Comment / reply
Paul Clarke's blog - I live and work near Folkestone. Married to Clare and father to Harry, I am a web dev, and I like javascript, PHP, Folkestone Gerald, pubs, restaurants, history, genealogy, TV, music, popbitch, squirrels, pirates ☠, time travel, stained glass...
Also from the same week
Some more blog posts from the same week as .
It's that the road is narrow I think [Thursday 13 November 2003]
Grimston Gardens [Thursday 13 November 2003]
Crawler [Thursday 13 November 2003]
A water-cooler moment [Thursday 13 November 2003]
RE: Crawler [Thursday 13 November 2003]
Lordy [Thursday 13 November 2003]
Google API's [Thursday 13 November 2003]
Fell Reynolds [Thursday 13 November 2003]
Beating off the Red Hot Chili Peppers Snigger... [Thursday 13 November 2003]
todays tasks [Thursday 13 November 2003]
Belle and Sebastian Tickets [Friday 14 November 2003]
not available to sendmail [Friday 14 November 2003]
Uncle Bob's Christmas Wedding Reception, 10th Birthday Party, Centenary & Farewell! Featuring CELEBRITY GUEST DJ SARAH CAWOOD, very special live guests SCHWAB, the return of DJ Simon Price plus Resident DJs Miss JT, Billy Reeves & Hitman Hearn [Friday 14 November 2003]
Clare's Graduation [Saturday 15 November 2003]
Guardian Guide [Sunday 16 November 2003]
sendmail bounce handler works! [Sunday 16 November 2003]
Referer links [Sunday 16 November 2003]
David Devant cancelled [Sunday 16 November 2003]
Here's the link that is showing up in my referrers... [Sunday 16 November 2003]
Jet Set Willy [Sunday 16 November 2003]
Unsubscribe [Monday 17 November 2003]
Thanks for that AOL [Monday 17 November 2003]
Oystercard update [Monday 17 November 2003]
PopEx Admin all day [Monday 17 November 2003]
Friendster [Tuesday 18 November 2003]
Folkestone houses and flats we have shortlisted [Tuesday 18 November 2003]
Complicated day today [Tuesday 18 November 2003]
The Angelic [Tuesday 18 November 2003]
War On 106 [Wednesday 19 November 2003]
9 bedroom house, 180k [Wednesday 19 November 2003]
Belle and Sebastian tickets [Wednesday 24 September 2003]
More Belle and Sebastian Tickets [Sunday 28 September 2003]
Belle and Sebastian @ London Astoria [Wednesday 3 December 2003]
David Devant [Saturday 22 November 2003]
106 Hell [Monday 10 November 2003]
2 bed cottage by Folkestone Harbour, 128k [Monday 10 November 2003]
RE: 106 Hell [Tuesday 11 November 2003]
Feeling so tired I got me a headache [Wednesday 12 November 2003]
RE: Crawler [Tuesday 25 November 2003]
Bus route 106 [Thursday 27 November 2003]
Oyster Cards - What a load of old crap! [Monday 8 December 2003]


