|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
What exactly is the format of the string which should be passed to the
ruleset 98 ? I want to specify the mailer and the host explicitly to which one the message should be forwarded to. Thanks a lot ! |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Hi,
Check out: http://www.unix.org.ua/orelly/networ...ip/ch10_06.htm ==quote== There is a special rewrite rule syntax that is used in ruleset 0. Ruleset 0 defines the triple (mailer, host, user) that specifies the mail delivery program, the recipient host, and the recipient user. The special transformation syntax used to do this is: $#mailer$@host$:user ==end quote== George r31dmaeu wrote: > What exactly is the format of the string which should be passed to the > ruleset 98 ? > I want to specify the mailer and the host explicitly to which one the > message should be forwarded to. > > Thanks a lot ! |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Many thanks George !
In fact, my question was erronous. It sould be "what should be the string which I have to return when leaving my own ruleset 98, in order to say: send to the user ..... via the host .... using the mailer ......" . In fact this information is exactly the special triple to which one the ruleset 0 have to resolve to, but when leaving my own ruleset 98, I do not have to resolve to this triple because the processing will continue especially with the Parse1 ruleset. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
r31dmaeu@unibw.de wrote: > Many thanks George ! > > In fact, my question was erronous. It sould be "what should be the > string which I have to return when leaving my own ruleset 98, in order > to say: send to the user ..... via the host .... using the mailer > ....." . In fact this information is exactly the special triple to > which one the ruleset 0 have to resolve to, but when leaving my own > ruleset 98, I do not have to resolve to this triple because the > processing will continue especially with the Parse1 ruleset. As a test to see the further processing of the output of ruleset 98, I have tried: Parse1 < this-mailer : [127.0.0.1] > user < @ umd.edu. > but the result is Parse1 returns: $# local $: [ 127 . 0 . 0 . 1 ] This is not the expected result. I want the mailer "this-mailer". What is wrong here ? |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
In article <1159358595.371982.270790@m73g2000cwd.googlegroups .com>
r31dmaeu@unibw.de writes: > >r31dmaeu@unibw.de wrote: >> Many thanks George ! >> >> In fact, my question was erronous. It sould be "what should be the >> string which I have to return when leaving my own ruleset 98, in order >> to say: send to the user ..... via the host .... using the mailer >> ....." . In fact this information is exactly the special triple to >> which one the ruleset 0 have to resolve to, but when leaving my own >> ruleset 98, I do not have to resolve to this triple because the >> processing will continue especially with the Parse1 ruleset. > >As a test to see the further processing of the output of ruleset 98, I >have tried: > >Parse1 < this-mailer : [127.0.0.1] > user < @ umd.edu. > What makes you think this is valid input to Parse1? If you want to resolve to a mailer, just do it ParseLocal/98 - it is valid in any ruleset called from parse/0. There are even examples in cf/README showing it (using LOCAL_RULE_0 in .mc, which is what you should be doing of course). >This is not the expected result. I want the mailer "this-mailer". > >What is wrong here ? Your expectations. --Per Hedeland per@hedeland.org |
|
![]() |
| Outils de la discussion | |
|
|