Joachim Holst wrote:
> 
> Hello !
> 
> I've been trying for some time to get tha package mailgw working.
> The main problems I have, are with sendmail & inn.
> 
> I wonder if someone could mail me their config files for inn & sendmail ?
> I really want to get this package up&running...
> 

I don't have it running for inn, but I do use mailgw and sendmail for
smtp forwarding on our local BBS.

I found that smtp_rcv writes its output file, mail.in, with the
owner.group properties of the user that sent the smtp mail.
This means that the /urs/local/fbb directory needs to have write
properties for everybody. I didn't like that so I changed
/etc/mailgw/mailgw.conf and /usr/local/fbb/init.srv to look for the
mail.in file in /var/spool/mailgw

Aparently smtp-rcv also wants to write the lock file for pbbs_rcv. I
think this is a bug, but I worked around it by also using
/var/spool/mailgw/ als the location where FBB writes it's output file
to.

The file /doc/sendmail/sendmail.txt in the mailgw package mentions to
the following line to be added in sendmail.cf

Mpbbs,          P=/usr/mailgw/smtp_rcv, F=lFDMn, S=10/30, R=40,
                T=X-Unix,
                A=smtp_rcv $f $u $u@$h

But this causes all mails to be exported with an extra @ behind the
address.
This can be solved in the mailgw config files, but I tought it was nicer
to not add this extra @ in sendmail.cf.
I have the following line added in sendmail.cf

Mpbbs,          P=/usr/mailgw/smtp_rcv, F=lFDMn, S=10/30, R=40,
                T=X-Unix,
                A=smtp_rcv $f $h $u

Also instead of making seperate entries for all .EU .WW .NOAM and so on
domains, I have made an entry for .bbs

This way you don't have to change the config files if you find that you
want to forward another domain also.

smtp mail can be addressed as follows
[EMAIL PROTECTED]

If have stored the mailgw config files and sendmail.cf in a tarball on
ftp://sharon.esrac.ele.tue.nl/pub/linux/mailgw/  for whoever wants to
use them as an example.

I haven't yet looked at nntp forwarding, so those files are not altered.

73, Arno  pe1icq

Reply via email to