RE: sendmail +userdb + Release 4.10p1

2004-06-30 Thread vikashb
Greetings,
> Then correct
>   
>   FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl
>   to
>   FEATURE(`genericstable', `hash -o /etc/mail/genericstable')dnl
>   and
>   dnlFEATURE(nodns)dnl
>   to
>   dnl FEATURE(nodns)dnl
> 
> 
> Oliver

Thanks, it works now.
How did i miss that ?

Vikash

-
This message was sent using MWEB Airmail.
JUST LIKE THAT
http://airmail.mweb.co.za/


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail +userdb + Release 4.10p1

2004-06-30 Thread vikashb
Greetings,

> > hostname.mc
> > ~`
> > dnl define(`confUSERDB_SPEC',/etc/mail/userdb.db)
> > Cwwormhole.pcs
> > MASQUERADE_AS(`bcx.co.za')dnl
> > FEATURE(masquerade_envelope)dnl
> > FEATURE(allmasquerade)dnl
> > FEATURE(nocanonify)dnl
> > FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl
> > GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
> > dnlFEATURE(nodns)dnl
> > define(`SMART_HOST', `172.21.63.2')
> > Dmwormhole.pcs
> > define(`confDOMAIN_NAME',`wormhole.pcs')dnl
> > define(`confDELIVERY_MODE',`deferred')dnl
> > MAILER(local)
> > MAILER(smtp)
> > 
> > ~~
> > wormhole# cat genericstable
> > vix [EMAIL PROTECTED]
> > vikashb [EMAIL PROTECTED]
> > ~~~
> 
>  From cf.README:
>  [...]
> genericstable This feature will cause unqualified addresses 
> (i.e., without
>   a domain) and addresses with a domain listed in 
> class {G}
>   to be looked up in a map and turned into 
> another ("generic")
>   form, which can change both the domain name and 
> the user name.
>   Notice: if you use an MSP (as it is default 
> starting with
>   8.12), the MTA will only receive qualified 
> addresses from the
>   MSP (as required by the RFCs).  Hence you need 
> to add your
>   domain to class {G}.  This feature is similar 
> to the userdb
>   functionality.
>  [...]
> 
> So in your genericstable try to add qualified addresses:
> 
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> 

Tried that, still the same, domain name translates but username does not.

Thanks

-
This message was sent using MWEB Airmail.
JUST LIKE THAT
http://airmail.mweb.co.za/


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sendmail +userdb + Release 4.10p1

2004-06-29 Thread vikashb
Greeting,

How do i translate any outgoing mail from [EMAIL PROTECTED] to
indicate [EMAIL PROTECTED]

I have tried the genericstable as well as the userdb and
no luck attached is my configs, please assist.

I've tried the config setups below and the the From address
gets translated to [EMAIL PROTECTED] and not [EMAIL PROTECTED]

hostname.mc
~`
dnl define(`confUSERDB_SPEC',/etc/mail/userdb.db)
Cwwormhole.pcs
MASQUERADE_AS(`bcx.co.za')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(allmasquerade)dnl
FEATURE(nocanonify)dnl
FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
dnlFEATURE(nodns)dnl
define(`SMART_HOST', `172.21.63.2')
Dmwormhole.pcs
define(`confDOMAIN_NAME',`wormhole.pcs')dnl
define(`confDELIVERY_MODE',`deferred')dnl
MAILER(local)
MAILER(smtp)

~~
wormhole# cat genericstable
vix [EMAIL PROTECTED]
vikashb [EMAIL PROTECTED]
~~~
wormhole# cat userdb
vix:mailname[EMAIL PROTECTED]
[EMAIL PROTECTED]:maildrop vix
vikashb:mailname[EMAIL PROTECTED]

all these attempts were attempted after googling,
please let me know where i am missing the boat


Thanks


-
This message was sent using MWEB Airmail.
JUST LIKE THAT
http://airmail.mweb.co.za/


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


2nd REPOST: FreeBSD 4.8p7 and Sendmail MASQUERADE_AS does notmasqueradeoutgoing mail

2003-09-22 Thread vikashb
Sorry about, the messages keeps getting tuncated, 

file
attached

-
This message was sent using M-Web Airmail - JUST LIKE THAT
M-Web: S.A.'s most trusted and reliable Internet Service Provider.
http://airmail.mweb.co.za/
Reposting since the previous message was incomplete.

Greetings,

I looked at http://www.unixguide.net/freebsd/faq/10.12.shtml
and followed the example, my problem is that when i send an emai
to a non local address the From address is not changed:

[EMAIL PROTECTED]:cvs $ sendmail -v [EMAIL PROTECTED]
tetsdt
.
[EMAIL PROTECTED] Connecting to [127.0.0.1] via relay...
220 wormhole.pcs ESMTP Sendmail 8.12.8p2/8.12.8; Mon, 22 Sep 2003 14:17:50 +0200 (SAST)
>>> EHLO wormhole.pcs
250-wormhole.pcs Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<[EMAIL PROTECTED]> SIZE=7
250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
>>> RCPT To:<[EMAIL PROTECTED]>
>>> DATA

my wormhole.pcs.mc is :

MASQUERADE_AS(`comparexafrica.co.za')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(nocanonify)dnl
dnlFEATURE(nodns)dnl
define(`SMART_HOST', `172.21.31.138')
Cwwormhole.pcs
Dmwormhole.pcs
define(`confDOMAIN_NAME',`wormhole.pcs')dnl
define(`confDELIVERY_MODE',`deferred')dnl
MAILER(local)
MAILER(smtp)



Please advise___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


REPOST: FreeBSD 4.8p7 and Sendmail MASQUERADE_AS does not masqueradeoutgoing mail

2003-09-22 Thread vikashb
Reposting since the previous message was incomplete.

Greetings,

I looked at http://www.unixguide.net/freebsd/faq/10.12.shtml
and followed the example, my problem is that when i send an emai
to a non local address the From address is not changed:

[EMAIL PROTECTED]:cvs $ sendmail -v [EMAIL PROTECTED]
tetsdt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 4.8p7 and Sendmail MASQUERADE_AS does not masquerade outgoing mail

2003-09-22 Thread vikashb
Greetings,

I looked at http://www.unixguide.net/freebsd/faq/10.12.shtml
and followed the example, my problem is that when i send an emai
to a non local address the From address is not changed:

[EMAIL PROTECTED]:mail $ sendmail -v [EMAIL PROTECTED]
test
please ignore
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mod_frontpage on FreeBSD 4.7p3

2003-01-16 Thread vikashb
Greetings,

I am trying to get frontpage working on my bsd box,
I installed mod_frontpage from the ports tree.

when the M$ clients try to connect, it fails 
and the only error i see is :

[Thu Jan 16 12:50:01 2003] [error] [client 198.54.253.91] web root owned by 
privileged user: /usr/local/www/data/_vti_bin/shtml.exe

I have googled and have had no success.

my http.conf is all follows :

#
# Use name-based virtual hosting.
#
NameVirtualHost *


DocumentRoot "/usr/local/www/data"
ServerName www.websrv.my.domain

Options Indexes FollowSymLinks MultiViews
DirectoryIndex index.php index.php3 index.html
AllowOverride AuthConfig Limit Indexes Options
Order allow,deny
Allow from all

ErrorLog /usr/local/www/vhosts/logs/websrv-error.log
TransferLog /usr/local/www/vhosts/logs/websrv-xfer.log



DocumentRoot "/usr/local/www/vhost/vhost1"
ServerName www.vhost1.my.domain

Options Indexes FollowSymLinks MultiViews
DirectoryIndex index.php index.php3 index.html
AllowOverride AuthConfig Limit Indexes Options
Order allow,deny
Allow from all

ErrorLog /usr/local/www/vhosts/logs/vhosts/vhost1-error.log
TransferLog /usr/local/www/vhosts/logs/vhosts/vhost1-xfer.log



I can connect to the virtual hosts fine,
but i cannot access websrv via frontpage

please advise

Vikash

-
This message was sent using M-Web Airmail.
JUST LIKE THAT
Are you ready for 10-digit dialling?
To find out how this will affect your Internet connection go to www.mweb.co.za/ten
http://airmail.mweb.co.za/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



ntp server problems on 10.x.y.z address subnet

2002-11-28 Thread vikashb
Greetings,

I have a FBSD 4.5p23 box which I have configured to act
as a ntp server for a 10.x.y.z subnet 
the conf files are :
/etc/ntp.conf

server 198.w.x.1
driftfile /var/run/driftfile

/etc/rc.conf

ntpdate_flags="198.w.x.1"
ntpdate_enable="YES"
xntpd_enable="YES"
xntpd_program="ntpd"
xntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid"


configs :
hq-gw  = 198.w.x.1   (fbsd box clients can connect)
hq-ntp = 196.z.y.2
fw-hq-pvt  = 198.w.x.189 + 10.131.156.2
pvt-ntp= 10.131.156.5 (fbsd box clients can not connect)

clients can connect to hq-gw 
clients can not connetc to pvt-ntp

The HQ chaps will not route 10.x.x.x adresses
since they use those adresses between routers.

The pvt-ntp gets its clock from hq-gw.
hq-gw gets its clock from a server ht-ntp
hq-ntp gets its clock from lennier.cc.vt.edu.

I have check the firewall rules on fw-hq-pvt
and the rules are :
allow pass udp from any to hq-gw 123
allow pass udp from hq-gw 123 to any.

on pvt-ntp:
if i execute ntpdate hq-gw
i get :
ntpdate[pid]: adjust time server hq-gw offset 
if i execute ntptrace hq-gw
i get :
198.w.x.1: stratum 15, offset -1.362497, synch distance 0.05914
196.z.y.2:*Timeout*

If i move pvt-ntp to the 198.w.x network,
then clients can connect to it.
if i move it to the 10.131.156 network
then clients get "no server suitable for synchronization found"

Please advise.


Vikash

-
This message was sent using M-Web Airmail.
JUST LIKE THAT
Are you ready for 10-digit dialling?
To find out how this will affect your Internet connection go to www.mweb.co.za/ten
http://airmail.mweb.co.za/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message