@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> should i use an smtp if i only want to get my pop mail somewhere?
<0> ever tinkered with MTAs ?
<0> i run all my incomnig and outgonig email directly (ie my domain MX records point straight to my home IP address)
<0> with sendmail
<0> can sendmail do anything another mta does?
<1> of course.
<0> what book do you suggest I start to read?
<0> twkm?
<2> bom dia!
<3> what could make sendmail ignore the virtusertable? and yes, I have rebuilt the db and restarted sendmail
<4> incorrect configuration
<3> its very simple, cant imagine what could possibly be incorrect
<3> just one line "@sub.domain.com username"
<4> You don't have that feature in your configuration
<3> yes I do
<4> Then it should work



<3> I know
<3> but it doesnt
<4> I answered the theoretical question
<3> this exact setup was working fine a while ago, but after some upgrades it just stopped
<4> Maybe you upgrades broke it. That can happen
<3> sure it can, but its a very simple setup. Only thing changed from default is access, aliases and virtusertable
<3> I have erased the entire /etc/mail and built everything from scratch
<3> still does not work
<4> Can we see your configuration? Can you provide real information? If the answer to both questions is yes, then click on the continue button
<3> not a problem, but Im thinking pasting sendmail.cf in here would not be pleasant for anybody
<3> what kind of information do you want? just ask and I'll provide it
<4> I am asking for the mc file and not the cf and you would put it on some website
<3> http://rambo.401.cx/~rocky/sendmail/
<3> I default FreeBSD sendmail install
<3> I have not touched the .mc's or the .cf in any way
<4> Which mc is being used?
<4> ls -l /etc/mail/virtusertable*
<3> rambo# ls -l /etc/mail/virtusertable*
<3> -rw-r--r-- 1 root wheel 30 Jun 21 14:49 /etc/mail/virtusertable
<3> -rw-r----- 1 root wheel 16384 Jun 21 14:49 /etc/mail/virtusertable.db
<4> What email address is causing the problem?
<3> anything sent to @st.401.cx, which is added to virtusertable as "@st.401.cx rocky"
<4> What is the error you get?
<3> simply spits out a "5.1.1 User unknown"
<4> Is there a tab between @st.401.cx and rocky?
<3> yes
<3> I know you ask all these questions just to make sure, but I have some experience with sendmail so I dont think this is one of the really easy ones
<3> something is broken, I just cant figure out where it is
<4> change the feature line to feature(virtusertable). generate new cf. stop sendmail start sendmail. Test
<4> No, I ask these questions to find what could be the error
<4> do you have any other entries for @st.401.cx in your virtusertable?
<3> no
<3> its just that one line
<4> hmm I need to see your mc again
<3> its still there
<4> add a VIRTUSER_DOMAIN_FILE(`/etc/mail/virtual-domains') line and add the domain to /etc/mail/virtual-domains as well
<4> Have you done the above?
<3> trying...
<4> I think you can type make install in /etc/mail for freebsd
<3> yes, I can, thats not the problem
<4> What is the problem?:)
<3> my bad, made a typo that confused me for a while :)
<3> nopp, still the same error
<4> can I see your new mc?
<3> http://rambo.401.cx/~rocky/sendmail/rambo.401.cx.mc
<4> I don't see FEATURE(virtusertable) in there
<3> tried both with and without that
<3> does not seem to make a difference
<4> don't try
<5> I'm curious, is there no mention about virtusertable in the logs when sendmail starts?
<3> no, nothing
<3> it just complains about ipv6, which is perfectly normal since its disabled in the kernel
<5> could you paste the line in sendmail.cf that defines virtusertable?
<3> rambo# grep virtusertable /etc/mail/sendmail.cf
<3> ##### $Id: virtusertable.m4,v 8.23 2002/06/27 23:23:57 gshapiro Exp $ #####
<3> Kvirtuser hash -o /etc/mail/virtusertable
<5> and whats in your local-host-names?
<3> a bunch of hostnames, including st.401.cx
<3> stolpskot: svensk?
<5> japp
<5> the username in virtusertable is valid right?



<3> yes
<3> this exact setup worked fine a few weeks ago...the only thing changed since then is that I upgraded to 8.13.7 because of the malformed MIME thingie
<3> rocky@st.401.cx works fine
<4> start sendmail with -bt
<4> type /map virtuser @st.401.cx
<3> > /map virtuser @st.401.cx
<3> map_lookup: virtuser (@st.401.cx) returns rocky (0)
<4> good
<4> type 3,0 test@st.401.cx
<3> whoa, lots of output
<4> What is the last line?
<3> parse returns: $# local $: test
<3> thats not right, is it? It should say rocky, not test, right?
<4> No. Are there any startup errors?
<3> just the ipv6 thing, which is normal I guess
<4> Type $={VirtHost}
<4> What does it show?
<3> st.401.cx
<4> Hmm
<4> Did you restart sendmail?
<3> about 400 times...every time I change something, I do a complete stop and then start
<5> _rocky, I wonder, did you install a new version of makemap too? Or is it the old one?
<4> How did you start sendmail?
<3> 'cd /etc/mail; make start' usually
<4> stop sendmail
<4> Then type /usr/sbin/sendmail -L sm-mta -bd
<4> Test
<3> stolpskot: a complete build/install world
<4> Do you still get the same error?
<3> yupp, still user unknown
<4> Hmm
<4> Time for some more debugging
<4> I'll be back in a bit
<4> BTW, is this sendmail from base?
<3> yes, its a default freebsd install
<4> brb. I'll help then
<5> try chmod o+r /etc/mail/virtusertable.db
<3> I hate to question your expertise, but wouldnt that make sendmail refuse to use it?
<3> or is that what you want?
<5> nop, it should use it, no problems with that here
<6> A
<5> And besides, if FreeBSD's sendmail would refuse those permissions, at least it should log the the error, that would be an indication
<3> yes and no...I start sendmail via makefile in /etc/mail, and it checks the permissions before invoking sendmail
<3> so the makefile would fix the error before sendmail even saw it
<5> well, start it manually then, sendmail -bd -q15m is resonable
<3> but you are correct, o+r is not a problem, o+w on the other hand would be
<5> _rocky, any difference with those permissions?
<3> no
<7> sorry, coming in late
<7> what's the error?
<4> back
<6> hi there sub
<4> Hi eraze
<6> how are you today?
<4> Doing good, eraze. How's your ribs?
<4> rocky, can you paste the actual error?
<3> 550 5.1.1 test@st.401.cx... User unknown
<4> No, the one from your maillog
<3> Jun 21 16:42:26 rambo sm-mta[28345]: k5LEgCxu028345: test@st.401.cx... User unknown
<3> Jun 21 16:42:29 rambo sm-mta[28345]: k5LEgCxu028345: from=r@401.cx, size=0, cl***=0, nrcpts=0, proto=SMTP, daemon=IPv4, relay=root@localhost [127.0.0.1]
<4> Okay
<7> and i take it you are st.401.cx and that user exists?
<3> yes
<6> sub: ribs are ok now..
<3> msk: my virtusertable says "@st.401.cx <tab> rocky" but sendmail refuses to get it
<4> let me see your sendmail.cf
<5> _rocky: you could take away the -o in the virtusertable definition in your .mc, see if sendmail complains for some reason?
<3> http://rambo.401.cx/~rocky/sendmail/sendmail.cf
<3> sorry if Im a bit slow, but Im at work so Im multitasking here
<7> sub always asks the personal questions
<4> msk :)
<7> i wouldn't let him see *my* sendmail.cf until he bought me dinner first
<4> it's still lunch time:)
<3> its a default sendmail.cf...if you've seen one you've seen them all ;)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #sendmail
or
Go to some related logs:

#politics
how to calibrate psp analog stick
outlook.exe /rpcdiag referral
mexico moeny
#computers
#worldcup
#beginner
xv3gang casper
#3dsmax
#beginner



Home  |  disclaimer  |  contact  |  submit quotes