Mail is up!
Dec. 27th, 2001 02:59 pmThe traffic at the store seemed less hectic today, so I split around 11 am or so, after having picked up the mail downtown, and went home.
There, I sat down with every intention of resuming my translation but, spurred by a desire to not have to fire up my VAIO just to get my mail (I'd like to minimize the number of machines on which received mail is stored) and egged on by
teferi's remark about the postfix application in his comment to my post yesterday, I decided to sit down and slay the mail dragon.
<geek-content-follows level="moderate">
I first did a Google search for 'postfix' and 'rpm', and downloaded a fresh version of postfix for my RH 7.1. Installing it was as easy as killing sendmail on my system, running rpm to remove sendmail and then again to install postfix.
The next, most time-consuming step was configuring postfix.
I am fortunate to have an account that, to the best of my knowledge, I have never used (the one I get with my local ISP account). Despite the fact I have never used it, there were over 150 messages waiting for me there (most, as it turned out, were spam... not bad for never having used the address in the wild, eh?). This was to be my test bed for trying out my mail configuration; if I lost anything, oh, well... c'est dommage! It's not as if I was going to miss it, right?
My first forays with postfix failed. A review of the mail log indicated that the program was trying to deliver mail to 'alexpgp@localhost.localhost.localdomain' and that no such animal was extant, according to DNS, so postfix was bouncing (or trying to) the mail it was seeing.
That DNS again.
A visit to the postfix.org Web site led me to a FAQ for RH 7.1, where I found I could turn off attempts to look things up using DNS ('disable_dns_lookups=yes'). Notch that one.
I also changed a parameter in the configuration file so that mail would now be delivered to 'alexpgp@localhost.localdomain', except that the next time I tried to fetch mail, the mail log indicated that this was a circular reference ('mail for localhost.localdomain loops back to itself'), and the attempt to deliver mail failed again.
One of the items in the aforementioned FAQ talked about this specific problem, so I read up on it and followed the offered advice (add 'localhost.localdomain' to the 'mydestination' parameter).
I also did a Google search to see if there was a way to delete the bounces that were queued, according to the mail log, for whenever the system would be capable of sending and receiving mail.
It turns out there is a way to do this, but not automatically. (Telling the application to 'flush' the queues really tells it to try to send the stuff that's in the queue, BTW.) Fortunately, a semi-automatic script to eliminate queued files was in the message I found.
The next step was to tweak my old signature files (I'm not in Texas anymore) and adjust my procmail filters accordingly.
A limited test of fetching mail from my local ISP's server was successful. I then modified the .fetchmailrc file to get all of my mail from everywhere, and let it fly.
</geek-content-follows>
Success!
Now... all I really have to do is brush up on my mutt keystrokes.
That, and call the store to see if they need me to help with UPS packages today.
Cheers...
There, I sat down with every intention of resuming my translation but, spurred by a desire to not have to fire up my VAIO just to get my mail (I'd like to minimize the number of machines on which received mail is stored) and egged on by
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
<geek-content-follows level="moderate">
I first did a Google search for 'postfix' and 'rpm', and downloaded a fresh version of postfix for my RH 7.1. Installing it was as easy as killing sendmail on my system, running rpm to remove sendmail and then again to install postfix.
The next, most time-consuming step was configuring postfix.
I am fortunate to have an account that, to the best of my knowledge, I have never used (the one I get with my local ISP account). Despite the fact I have never used it, there were over 150 messages waiting for me there (most, as it turned out, were spam... not bad for never having used the address in the wild, eh?). This was to be my test bed for trying out my mail configuration; if I lost anything, oh, well... c'est dommage! It's not as if I was going to miss it, right?
My first forays with postfix failed. A review of the mail log indicated that the program was trying to deliver mail to 'alexpgp@localhost.localhost.localdomain' and that no such animal was extant, according to DNS, so postfix was bouncing (or trying to) the mail it was seeing.
That DNS again.
A visit to the postfix.org Web site led me to a FAQ for RH 7.1, where I found I could turn off attempts to look things up using DNS ('disable_dns_lookups=yes'). Notch that one.
I also changed a parameter in the configuration file so that mail would now be delivered to 'alexpgp@localhost.localdomain', except that the next time I tried to fetch mail, the mail log indicated that this was a circular reference ('mail for localhost.localdomain loops back to itself'), and the attempt to deliver mail failed again.
One of the items in the aforementioned FAQ talked about this specific problem, so I read up on it and followed the offered advice (add 'localhost.localdomain' to the 'mydestination' parameter).
I also did a Google search to see if there was a way to delete the bounces that were queued, according to the mail log, for whenever the system would be capable of sending and receiving mail.
It turns out there is a way to do this, but not automatically. (Telling the application to 'flush' the queues really tells it to try to send the stuff that's in the queue, BTW.) Fortunately, a semi-automatic script to eliminate queued files was in the message I found.
The next step was to tweak my old signature files (I'm not in Texas anymore) and adjust my procmail filters accordingly.
A limited test of fetching mail from my local ISP's server was successful. I then modified the .fetchmailrc file to get all of my mail from everywhere, and let it fly.
</geek-content-follows>
Success!
Now... all I really have to do is brush up on my mutt keystrokes.
That, and call the store to see if they need me to help with UPS packages today.
Cheers...