OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: .forward files?

Re: .forward files?


John K. (johnNOC.maKintosh.com)
Sat, 13 Nov 1999 17:10:21 -0600 (CST)


> > Hello. I'm having a mail forwarding problem. My normal email account is
> > 'johnmaKintosh.com'. I'm trying to setup 'john-pagermaKintosh.com' to
> > forward to 'mypagersemailaddress.com'. I was using a .forward file that
> > contained 'john-pager mypagersemailaddress.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:
> mypagersemailaddress.com
>
> so email sent to "john+pagermaKintosh.com" would be forwarded to the
> pager. Likewise:
>
> ~/.forward+pager:
> mypagersemailaddress.com,/home/john/Mail/pagerlog

After changing the recipient_delimiter to "-", I ran the following
commands:

{john}[NOC:~]$ echo 9134087243.6446432pagenet.net > .forward-pager
{john}[NOC:~]$ cat .forward-pager
9134087243.6446432pagenet.net
{john}[NOC:~]$

Now, when I send email to "john-pagermaKintosh.com", it gets sent to
"mypagers-pageremailaddress.com". How do I prevent the -pager from being
appended.

__
.j0hn [johnNOC.maKintosh.com]

<snip>

> 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



This archive was generated by hypermail 2.0b3 on Sat Nov 13 1999 - 17:10:21 CST