joey | FunnyLookinHat: have you tried just using a mail alias? | 17:01 |
---|---|---|
FunnyLookinHat | joey: Well wouldn't that just forward the email? | 17:02 |
FunnyLookinHat | In effect - we need to redirect the actual SMTP request to this new service. | 17:02 |
joey | yes, but I guess I misunderstood then | 17:02 |
joey | oh | 17:02 |
FunnyLookinHat | So we're using Sendmail to increase deliverability, etc. | 17:02 |
joey | can you do it by IP? | 17:02 |
FunnyLookinHat | And they provide an SMTP server, etc. | 17:02 |
FunnyLookinHat | No - different credentials between services. | 17:02 |
FunnyLookinHat | i.e. the localhost sendmail user has different username/password from the Sengrid info. | 17:03 |
joey | ah | 17:03 |
joey | I don't know how to do that, sorry | 17:03 |
FunnyLookinHat | I'm thinking I might be out of luck : ) | 17:03 |
FunnyLookinHat | No worries | 17:03 |
joey | not without changing something you don't want to | 17:03 |
FunnyLookinHat | If I'm lucky Kevin Fries will chime in with his mastery of all things admin. | 17:03 |
joey | yeah | 17:04 |
joey | good luck :-) | 17:05 |
FunnyLookinHat | joey: ping | 18:12 |
FunnyLookinHat | ? | 18:12 |
joey | hi FunnyLookinHat | 18:12 |
FunnyLookinHat | I'm super rusty - with sed and s/search/replace | 18:12 |
FunnyLookinHat | Can search and replace include spaces and special characters? | 18:12 |
FunnyLookinHat | i.e. $_['whatever'] ? | 18:12 |
joey | oops | 18:22 |
joey | sorry I forgot about you :-) | 18:22 |
joey | yep | 18:22 |
joey | depending on what you want, sed or awk | 18:22 |
joey | FunnyLookinHat: awk is better if you want to print results, sed is better for modifying items in the pipe | 18:24 |
joey | FunnyLookinHat: http://www.grymoire.com/Unix/Sed.html | 18:24 |
FunnyLookinHat | Yeah I'm nearly there... something like this: find ./ -type f -exec sed -i 's/\$params\[\'host\'\]\ \=\ \'localhost\'/\$params\[\'host\'\]\ \=\ \'smtp.sendgrid.com\'/' {} \; | 18:24 |
FunnyLookinHat | lol | 18:24 |
FunnyLookinHat | I have one too many characters escaped though :) | 18:24 |
FunnyLookinHat | Thanks for the link | 18:25 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!