| |
| |
| |
|
Page: 1 2
Comments:
<HotaruT> hi, I've got a problem WC1VSURMOiAxMTAzNjM1Mjg2LjI2NTUNClgtTW96aWxsYS1TdGF0dXM6IDAw <HotaruT> MDUNClgtTW96aWxsYS1TdGF0dXMyOiAxNDAwMDAwMA0KUmV0dXJuLVBhdGg6 <HotaruT> oops.. <HotaruT> hi, I've got a problem with message/rfc822 and transfer-encoding base64 (which is "EXPRESSLY FORBIDDEN" by RFC2045). sendmail deletes the first line of base64-data of such an mime-entity (or replaces with an empty line sometimes) <pasteling> "HotaruT" at 84.166.214.225 pasted "problem with message/rfc822 and transfer-encoding base64" (9 lines, 283B) at http://sial.org/pbot/15885 <Squintz> Can anyone help me get my outgoing mail working? <Zerberus> what does "route" say? <gecjr> if have just come across a relaying problem, and was wondering if it may be fixed in a later sendmail release <gecjr> in 8.12.10 it seems; that if the rcpt to uses a local name that relaying is allowed. <gecjr> is there away to not allow this default behavior? by macro or is this something possibly fixed in newer version of sendmail? <HotaruT> gecjr: hm? what is "relaying to a local name"? <gecjr> no. if you connect to a server, and say your are sending to a local name. you can then also say I want to send to name@remote.domain; and the relaying is allowed! <Zerberus> gecjr: it is the job of an MTA to accept mail for local delivery <Squintz> sorry i was afk <HotaruT> ah. I understand now.. <gecjr> is there away to require it to have a domain portion with sendmail ;to avoid this loop hole that is being used for spamming? <Squintz> http://pastebin.ca/41780 <Squintz> I also did an nslookup but dont really understand the results well enough <Squintz> http://pastebin.ca/41781 <HotaruT> Squintz: you have 2 default routes. <Zerberus> gecjr: frankly i don't understand what you take as a problem <Squintz> Okay <HotaruT> Zerberus: as I understand, it is RCPT To: <postmaster> followed by RCPT To: <some@else.com> .. is this it gecjr? <gecjr> zerberus: if you can connect to a server, and guess a name and then send off the server to everybody it is just as bad as an open relay <gecjr> yes. <Zerberus> gecjr: then you heavily misconfigured sendmail <Zerberus> this is no default behaviour <gecjr> so if you know a valid user name, you can enter other rcpt to send off the server. it seems that a vaild user allows relay without any further checking. <Zerberus> misconfiguration <gecjr> well; I'm using general config. I don't believe I did anything to change such handling from the default sendmail config. I would like to try on another sendmail server than my own to confirm the issue. <gecjr> most servers I do personal mail through don't use sendmail ;so I just have the servers the problem is occuring on to test with. <Zerberus> no no <Zerberus> my sendmail just behaves as it should <Zerberus> ... Relaying denied. Proper authentication required. <HotaruT> I do not get this with neither 8.11.6+Sun/8.11.6 nor 8.13.4/8.13.4/Debian-3 .. <Zerberus> for the foreign address, after a ... Recipient ok for the local user <HotaruT> afaik the rcpt to: statements are independant of each other.. <Zerberus> it is no default behaviour <gecjr> hmmm. <gecjr> i have found a server, and agree with you. <Zerberus> which OS? <gecjr> wonder how the configuration got broken. <Zerberus> show your sendmail.mc <gecjr> linux redhat 7.1 using sendmail 8.12.10 <Zerberus> 111111!!!! <Zerberus> awful!" <gecjr> what that i'm using such an old version of redhat :-) <Zerberus> 7.1 is dead like ages! <Zerberus> no security updates since 3 years <Squintz> Could this be my problem? <Squintz> dnl # Uncomment and edit the following line if your outgoing mail needs to <Squintz> dnl # be sent out through an external mail server: <Squintz> dnl # <Squintz> dnl define(`SMART_HOST',`mail.smarterior.com') <Zerberus> 8.12.10 is not a sendmail release RH 7.1 shipped with <HotaruT> Squintz: you have two default routes <Zerberus> 7.1 had 8.11 <HotaruT> Squintz: this is your problem... unless you can explain me why it is not <gecjr> yep. I have updated a few times. <Squintz> Which do i get rid of and how? <Zerberus> Squintz: route del <HotaruT> Squintz: hm <HotaruT> Squintz: wait a moment. <gecjr> let me see if I can find the original mc file; I use a "template" cf file for the server configurations... I know probably bad thing to do. <HotaruT> Squintz: do you have local access to this server? .. remotely modifing the routing-table is just bound to drop your own access too (o: <Squintz> No but I can call godaddy and ask them to do it if it needs to be done. <Squintz> I just need to know what to tell them to do. <HotaruT> Squintz: hmm.. what is "venet0"? .. is this a linux box? <Zerberus> vserver <HotaruT> and.. default gateway "191.255.255.1" is strange too.. this adress is "IANA Special Use" (rfc3330) .. no one should be using it.. <weenie> hi <Squintz> Hi <Squintz> Okay, weenie is telling me he does not this it is the defualt routes because i can resolve names <weenie> well you were able to, from the command line, nslookup various names - including your own. <weenie> what was the exact error you get? and what are you doing to generate it? <Zerberus> Squintz: mtr gsmtp183.google.com <Zerberus> does that work? <Squintz> command not found <Zerberus> rpm -q mtr <Zerberus> if not installed, then "yum install mtr" <weenie> what does mtr do? not familiar with that util. <Squintz> i just install it <gecjr> Zerberus: http://pastebin.ca/41784 is probably the mc used. Maybe I should try to rebuild one from scratch and see if the problem is fixed. <HotaruT> weenie: matts traceroute.. <Squintz> http://pastebin.ca/41785 <Squintz> looks like it worked to me <Zerberus> sendmail -bt -d0.13 < /dev/null <HotaruT> ok.. and does "telnet gsmtp183.google.com 25" work? <Squintz> http://pastebin.ca/41786 <Squintz> [root@Xena root]# telnet gsmtp183.google.com 25 <Squintz> Trying 64.233.183.27... <Squintz> telnet: connect to address 64.233.183.27: No route to host <Squintz> yup <HotaruT> Squintz: can you send mail anywhere non-locally? <Zerberus> possibly <HotaruT> try "tcpdump icmp" in parallel to telnet .. if that is possible on a vserver.. <Squintz> is in parrallel the same as saying piping? If not how do i do this? <weenie> squintz: if you cut and pasted that telnet command - the command was wrong - that 64.x.x.x address is yours right? <Zerberus> mail.smarterior.com has address 68.178.205.138 <Squintz> correct Zerb <Squintz> I did cut and paste his command <HotaruT> Squintz: run tcpdump in the background or use a second terminal.. <Squintz> k <weenie> squintz - so someone suggested you attempt to connect to port 25 on your own system there... I guess. you could do: telnet localhost 25 to see if the daemon is listening... <weenie> I was thinking he needed to check config scripts... but maybe someone already helped him use a known good cf file? <Squintz> i paste it <Squintz> ill <weenie> squintz: for what it is worth - i just finished comparing two mc files that I have on my system - one was for "local host only" mail and the other was a "normal" mail server <weenie> squintz: the "local host only" has a bunch of Daemon_options near the top (they both do actually) - but the local host only config file has 127.0.0.1 for some of the inet options - where the "normal one" has 0.0.0.0 <Squintz> http://pastebin.ca/41788 <Zerberus> ooooOOO <Squintz> ? <Zerberus> who told you to place the masquerading settings at top of the .mc? <Squintz> that tutorial <Zerberus> which? <Squintz> http://www.siliconvalleyccie.com/linux-hn/sendmail.htm <Zerberus> no, it does not tell you that <Squintz> whats it tell me then? <Zerberus> make those settings near the end of the .mc <Squintz> k <weenie> squintz: I'm just suggesting you take a look at your .mc file <Zerberus> where the fedora default already has entries <Zerberus> echo '/map host gsmtp183.google.com.' | sendmail -bt -d8.8 <Squintz> [root@Xena root]# echo '/map host gsmtp183.google.com.' | sendmail -bt -d8.8 <Squintz> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) <Squintz> Enter <ruleset> <address> <Squintz> > map_lookup: host (gsmtp183.google.com.) dns_getcanonname(gsmtp183.google.com., trymx=1) <Squintz> dns_getcanonname: trying gsmtp183.google.com. (A) <Squintz> YES <Squintz> dns_getcanonname: gsmtp183.google.com <Squintz> returns gsmtp183.google.com. (0) <Squintz> > [root@Xena root]# <weenie> squintz !! also - that is your .mc you posted hu? there is a typo in it <Squintz> ohhh? where? <weenie> squintz:: second masquerade line - localhos.localdomain <weenie> woops - not second <weenie> last <weenie> should be localhosT.localdomain no? <Squintz> fixed it <Squintz> Still not working though <weenie> you fixed it and already did a sig hup? <Squintz> even after moving things towards the bottom and fixing that spelling mistake <Squintz> yes <Squintz> I have a script <Squintz> #!/bin/bash <Squintz> cd /etc/mail <Squintz> make <Squintz> newaliases <Squintz> /etc/init.d/sendmail restart <Squintz> thats the proper way correct?
Return to
#sendmail or Go to some related
logs:
#php imphasing #oe debian-installer installgui #gaim #openzaurus #gentoo +NXserver +what is it ? debian amavis-new nod32 ALSA via82cxxx driver automatix
|
|