Hi, I'm not sure, that its easily possible, but running few comps in a network, I would like them to pass my root e-mails to my own machine. I setup already the alias, so my "normal" user can read everything already, but only locally. This I would like to change by the following scheme: - if my computer is available, then the messages should be transfered, - if my computer is not online, messages should wait in a queue, until it appears again. This should happen with no error-messages, no expiring, etc. I don't ask for complete solution for this problem, but please let me know, what I would need to get the above system up and running. At present I have postfix installed and running on all the comps; UIDs/GIDs are identical on all of them; all SUSE, but various versions. Thank you, Pelibali
pelibali wrote:
Hi,
I'm not sure, that its easily possible, but running few comps in a network, I would like them to pass my root e-mails to my own machine. I setup already the alias, so my "normal" user can read everything already, but only locally. This I would like to change by the following scheme: - if my computer is available, then the messages should be transfered, - if my computer is not online, messages should wait in a queue, until it appears again. This should happen with no error-messages, no expiring, etc.
- run a local name server with your internal domain, set up hostnames and mx record for your mailserver, otherwise forward to your normal isp name server for dns resolving - use /etc/postfix/virtual to rewrite the recipient to your wishes on each computer - set maximal_queue_lifetime on each computer to fit your needs. - run postfix as null client on each computer - run postfix listening on network on your mailserver. Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
On Saturday 29 October 2005 18:25, pelibali wrote:
Hi,
I'm not sure, that its easily possible, but running few comps in a network, I would like them to pass my root e-mails to my own machine. I setup already the alias, so my "normal" user can read everything already, but only locally. This I would like to change by the following scheme: - if my computer is available, then the messages should be transfered, - if my computer is not online, messages should wait in a queue, until it appears again. This should happen with no error-messages, no expiring, etc.
In postfix on your PC, add an entry to main.cf mydestination = Something like: mydestination = mylocalmachines.local Then, in the other machines, specify: relayhost = your_machine_IP Then, in all those machines, in /etc/aliases, do: root: pelibali@mylocalmachines.local And then do: newaliases rcpostfix restart That will cause root's mail not to be delivered locally on each box, but instead be forwarded to yours, and if yours is down, postfix will keep it in the queue and keep trying. Hans
Hi, On Mon, 31 Oct 2005 12:20:11 +0200 Hans du Plooy <.> wrote: <...>
That will cause root's mail not to be delivered locally on each box, but instead be forwarded to yours, and if yours is down, postfix will keep it in the queue and keep trying.
I had a postfix configured to listen only locally and as extra, other (firewall-related) issues. I'm not so proud that I could solve all my problems only now, but after about _3-4 months_ of constant trying, I finally managed it! Thank you all for helping/suggesting and a special thanks goes to Hans for his excellent solution! Best regards, Pelibali
participants (3)
-
Hans du Plooy
-
pelibali
-
Sandy Drobic