Hello all, I've been playing with mailgw-0.3.1 for a while now, but I can't find a suitable way to gateway BBS personal messages to e-mail adresses. The problem is as follows: First, I was trying to extract the email destination address from the BBS destination address, but I never got XFBB that far in accepting "callsigns" longer than 6 characters, so addresses such as: <user>%<host>@<somebbs>.<route> were denied by XFBB. After that, I made an ugly shell script that extracts an e-mail address from the message data and changed the BBS destination address to the specified e-mail address. This was a far from beautiful solution and gave me an extra problem: The rewriting in the pbbs-dst.map doesn't allow the first token to be longer than six characters e.g.: when rewriting an address such as [EMAIL PROTECTED] and using the simple rewrite rule: $*@$* $1@$2 left me with the following address: [EMAIL PROTECTED] As you see the "user" part was stripped to 6 chars max. Then I found out (from the source of pbbs_rcv) that mailgw was also able to extract the e-mail dest. address from a specified T:-Line. But, whatever I try, I can't get pbbs_rcv to accept my format of the XFBB forward output files, even not with manual editting. I _once_ got it working with the following format: /usr/local/xfbb/mailgw.out : SP EMAIL@<BBS-ROUTE> etc. etc. <subject> <R:-Line> <T:-Line> <empty line> <First line of message data> When there was an empty line between the subject and the R:-Line, the R:-Line was not read at all, but pbbs_rcv gave no warning not finding the R:-Line. But now the T:-Line is never found again by pbbs_rcv and since there is no entry anymore in the pbbs-dst.map I just get the error message: "No dest. mapping". I'm not a C programmer so it's really hard for me to understand how pbbs_rcv expects the format of the XFBB forward output file when I'm trying to specify the destination e-mail address a T:-Line, such as: T:To: [EMAIL PROTECTED] Can anybody tell me what I'm doing terribly wrong here? Current software versions are mailgw-0.3.1 and XFBB 7.00g21. Thank's very much in advance. Kind regards, Michel Otte.
