|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: .forward files?
Jim Seymour (jseymour
jimsun.LinxNet.com)
Sat, 13 Nov 1999 09:48:13 -0500 (EST)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Gerben Wierda: "Dial-up Was: relayhost or fallback_relay?"
- Previous message: Ralf Hildebrandt: "Re: .forward files?"
- In reply to: John K.: ".forward files?"
- Next in thread: John K.: "Re: .forward files?"
- Reply: John K.: "Re: .forward files?"
In message <Pine.BSO.4.10.9911130521270.17036-100000
NOC.maKintosh.com>,
dated Sat, 13 Nov 1999 05:23:13 -0600 (CST),
"John K." <john
NOC.maKintosh.com> wrote regarding the subject ".forward files?":
>
> Hello. I'm having a mail forwarding problem. My normal email account is
> 'john
maKintosh.com'. I'm trying to setup 'john-pager
maKintosh.com' to
> forward to 'mypagers
emailaddress.com'. I was using a .forward file that
> contained 'john-pager mypagers
emailaddress.com' but it seems to recieve
> both messages from 'john' and 'john-pager'. Any ideas?
I think perhaps you misunderstand the .forward file. From
.../rewrite.html#forward:
Per-user .forward files
Users can control their own mail delivery by specifying
destinations in a file called .forward in their home directories.
The syntax of these files is the same as with system aliases,
except that the lookup key and colon are not present.
In other words: a .forward file can contain only the right-hand side of
what you might put in an aliases file. This is normal behaviour, and
not specific to Postfix.
If you enable address extensions by specifying a recipient_delimiter in
main.cf (traditionally, but not necessarily, "+") on the destination
machine, you could do:
~/.forward+pager:
mypagers
emailaddress.com
so email sent to "john+pager
maKintosh.com" would be forwarded to the
pager. Likewise:
~/.forward+pager:
mypagers
emailaddress.com,/home/john/Mail/pagerlog
would forward the email to the pager email address and save a copy in
a local mail folder. (Note: "/home/john/Mail/pagerlog" assumes that
the your home directory on your machine is "/home/john" and that your
mail folders are stashed in a sub-directory named "Mail" off your home
directory.)
Note also that if "john" appears in the system aliases file for
wherever mail to "john
maKintosh.com" is delivered, as is not uncommon
(i.e.: "john john
<wherever>"), you'll also have to add the following
line to Postfix's main.cf on that destination host:
propagate_unmatched_extensions = canonical, virtual, alias
The default is only canonical and virtual. (Caveat: I don't know if
there are other implications to adding "alias" to that parameter!)
Regards,
Jim
-- Jim Seymour | PGP Public Key available at: jseymourjimsun.LinxNet.com | http://www.uk.pgp.net/pgpnet/pks-commands.html http://home.msen.com/~jimsun | http://www.trustcenter.de/cgi-bin/SearchCert.cgi
- Next message: Gerben Wierda: "Dial-up Was: relayhost or fallback_relay?"
- Previous message: Ralf Hildebrandt: "Re: .forward files?"
- In reply to: John K.: ".forward files?"
- Next in thread: John K.: "Re: .forward files?"
- Reply: John K.: "Re: .forward files?"
This archive was generated by hypermail 2.0b3 on Sat Nov 13 1999 - 08:48:18 CST