[Techtalk] Fetchmail/Postfix/Hosts
Poppy Casper
azurosedesigns at yahoo.com
Fri Mar 22 08:08:41 EST 2002
On Thu, 2002-03-21 at 22:40, Sini Mäkelä wrote:
> Hi,
>
> It probably printed that out to the stderr stream, if you redirected
> only stdout (used ">") then it doesn't save it into the text file.
> You can redirect stderr to the same place as stdout by adding "2>&1" at
> the end of the command line. For example:
>
> fetchmail > fetchmail.txt 2>&1
>
> This works at least in bash. If somebody knows better ways, please
> enlighten me.
Right, gotcha. *nod*
Network interface is as you describe... I'm presently running on dial-up, feel like I've read
just about all there is to read about Postfix on dial-up online... want to be able to
send local mail locally, on the off chance that I ever give anyone else an account. *g*
>
> Umm... why do you need to change the local interface name? Shouldn't you
> change the inet interface (eth0, ppp0, whatever) name instead? I never
> touched the localhost line myself.
>
Need? I suppose it's not a need... more like my stubbornness insisting that there must
be a way to get it to work. And a vain desire to want my shell prompt at bootup say
something other than "login to localhost" *chuckles wryly at herself*
> About main.cf. You didn't tell us what kind of network configuration you
> have. If you are trying to do what I am doing, sending internet mail to
> the ISP smtp server and delivering local mail through local delivery (how
> obvious :)). Following keywords are useful:
>
> mydomain = <your_hostname>
> myorigin = $mydomain
> mydestination = $myhostname localhost.$mydomain $mydomain
> relayhost = <smtp_server_name>
> virtualmaps = hash:/etc/postfix/virtual
>
> And in virtualmaps you would have something like:
>
> root root at localhost
> user user at localhost
>
> HTH,
>
> - Sini
Cool, I think I have most of that, but I'll check on it. :)
Thanks,
Poppy
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the Techtalk
mailing list