Hi, With some delay...
Thanks Matthew, > > What rule, in what file should I set-up to have my mail sendmail mail > > server duplicate all messages to another mail server? > >=20 > > I am in the proces sof setting-up a new mail server; in the meantime I > > want all messages arriving to my current mail server under sendmail to > > be duplicated to the new mail server (under postfix, for all it > > matters); so the mailboxes are keept in sync. > >=20 > > How can I do that with sendmail? > > I believe you should be able to do this with virtusertable. You will nee= > d to > configure the new machine to accept e-mail using a distinct domain so the= > old > server can route e-mail to it, and the new server would need to accept y= > our > actual domain name for delivery too. > > Then you need is a /etc/mail/virtusertable file with contents like so: > > @your-domain.com %[email protected] > @your-domain.com % I have tried that but virtusertable is a hash table, so it can only have one line of the form @your-domain.com. > Alternately, if your back-end mail store is using IMAP, then you can use > imapsync (ports: mail/imapsync) to duplicate mail account contents from t= > he > old server to the new one. I was looking at that solution too, but it needs the passwords of the users. I ended up with mb2md (/usr/ports/mail/mb2md) that I slightly modified to fix the mode of the files created and to have a filename that suits me more. And I iterate that script on my users list. As I have only 200 users and about 4 GB of mail, it takes only 10 minutes, quite acceptable time. bests, Olivier _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
