| |
| |
| |
|
Page: 1 2
Comments:
<0> hey guys <0> i asked a question yesterday if sendmail considers the changes of a milter <0> and the answer was yes <0> so my example is to receive a mail for qwe@BLAH.org then to change that value to mail@localhost and then to proceed with the treating <0> if my sendmail is set to accept mails to localhost it should work isn't it ? <0> shouldn't it even <0> but sendmail actualy refuse the mail and in the logs I see the original domain, not the changed one <0> is the milter wrong or i didn't misunderstood the answer yesterday <0> i did misunderstood <1> olor1n: which milter do you use? do you have verbose logging both of sendmail and the milter (log_level 15)? <0> i try to make my own milter <0> the debug is not explicit <2> hey guys. quick question. i have a smart host setup but in maillog it says messages are queued and the relay is set to root@localhost <2> whereas relay should be the smarthost <2> i would ***ume <1> and where does the mail go?
<1> which smart_host entry did you set? <2> define(('smart_host',ip) <2> it worked on another box. the only difference between them is that this machine is blocked from using DNS lookups <2> cuz it's in our DMZ <1> that is wrong syntax <1> can't work, even not on another sendmail host <2> m4 didn't catch any errors <1> it is simply wrong <1> define(`SMART_HOST',`[1.2.3.4]')dnl <2> well yeah <1> the proper quotation is important, and the squared brackets <2> hrm i don't see squared brackets in any examples on the net and i do see 'smtp:servername' instead of just 'servername' <2> http://www.sendmail.org/m4/non_smtp_config.html <1> the mailer has only to be specified if a non default one is desired <2> define(`SMART_HOST', `mailer:hostname') <2> no brackets <1> man <1> is 1.2.3.4 a hostname? <1> if a hostname may required brackets, it is if the hostname has an MX record pointing to a different target <2> no it's an IP if you are saying that i need brackets because it is an IP then you didn't mentioned that <2> just said "use brackets" not "use brackets because it's an IP" <2> ok i've added the brackets and restarted sendmail <2> still says relay=root@localhost <1> do not test as root <1> or for testing use: sendmail -bv target@email <2> then what it just gives me nothing <2> it's gotta be a DNS thing. the only difference between these two boxes is that one can lookup dns and the other cannot <2> i did the sendmail -bv and it says "deliverable" <2> takes forever for it to respond <2> Zerberus, thanks for your help. i think that it's going to end up being a DNS issue <1> ok <3> hello <3> I try use sendmail but message don't send <3> k23FMgBN029861: k23FMiBN029863: DSN: User unknown <3> what is it? <4> brusso, what about "User unknown" don't you understand? :) <3> Rado: but the user is correct <4> It doesn't exist on the target. <4> Well... something is wrong somewhere. ;) <4> Typo when you received or typed the addr. <3> Rado: I send message to server <3> Rado: I can't send by server <3> Rado: the server receive don't send <4> brusso, there are only 2 possibilities: you did all right, but the user doesn't exist on remote server, or you used wrong addr. <4> Well, then the local server. <3> Rado: this server not a primary server <3> my primary server send and receive <3> this server send mail but for acknowledgment of log <4> Whatever server it is where the log entry comes from, that server doesn't know that particular user. <5> is there anyway I can filter emails being relayed by an smtp server ? <6> hi ...what do I need to do to get sendmail to relay mail to my main mail server ?? <1> depends on what your problem is <1> did you read the cf/README? <1> maybe you want to edit access_db, or you are asking for smart_hpst <6> Zerberus:smarthost would be good <6> All I want to do is relay the mail to my main server ..... <1> the request is too unprecise <1> relaying must be allowed <6> Zerberus:The server that accepting will allow this ip address to relay <6> Zerberus:it's for internal use <1> porkpie: and now you have a problem to read the cf/README or what?
<6> ok ..I will read the doc ... <6> where it located <6> where's it located ....typos <7> I run three domains off one Sendmail server. I'd like the headers to show that an email came from domain3.com if I send an email midbsd@domain3.com and not (as is currently the case) midbsd@domain1.com. From what I understand I need to use masquerading but does masquerading support multiple domains or should I be looking at generics? <1> porkpie: whereever your OS ships it to <1> MidBSD: masquerading works globally and thus inpractical when virthosting <7> Ok <7> Thought that was the case <7> Is there any way of getting the email to seem like it's originating from the email address I use in my mail client? <1> MidBSD: what does your client do not set? <7> Sorry? <1> i do not fully understand your problem, so i can't answer <7> My client sets midbsd@domain3.com but (I think it's called) the envelope says it was sent by smtp server domain1.com <7> Can the domain server be set to say sent from domain3.com <1> configure your MUA properly <6> Zerberus:my OSTYPE is not in the list ..FreeBSD ? <7> So it's just a configuration issue? <7> It's the mail header that's the issue <1> porkpie: sorry? <7> The Received field shows the originating SMTP server as domain1.com (which is what it's called) but I'd like it to say domain3.com. <6> Zerberus:I am lost ....I think I will install postfix ..... <1> MidBSD: change your hostname <1> MidBSD: or whatever your problem really is <7> But the hostname is correct because I also send email from domain3.com <1> porkpie: lol <1> too lame to find smarthost inside the documentation? <7> This is to do with smarthosting? <1> MidBSD: no, question was for porkpie <7> Oh, ok - lol <7> I have 3 domains. domain1.com, domain2.com, domain3.com <6> I haven't looked that far ......I will find smarthosting .....it been a long day 14hrs so far <7> I'd like my email headers to reflect that my emails came from the relevant domain. <7> Imagine hotmail.com and ibm.com are hosted on the same sendmail server <7> When I send email from ibm.com my return path is fine but my headers show I've used the hotmail.com SMTP server <1> do you have multiple IPs? <7> Nope <1> then run multiple daemon <1> +s <6> Zerberus:define(`SMART_HOST', `smart.foo.com') <1> porkpie: correct <6> Now I need to understand what to do with it ....where it goes <7> So one daemon per domain? <1> MidBSD: if i understand properly what your desire is <7> My problem is just that no matter which domain I send my email from, the email headers show only one domain (e.g. ibm.com) <1> use the paste robot from /topic to be precise <7> I don't understand <6> Zerberus:what file do I need to add the define statment to :( <1> porkpie: sendmail.mc <7> In the generics file, how do I specify *@domain1.com? <7> E.g. *@yourdomain.comjoe@yourdomain.com <1> MidBSD: i have not enough time and fun to play guessing games - so either provide the mail header information demonstration the problem in detail or try to find answers your own <8> "MidBSD" at 82.41.96.9 pasted "Mail header specifies wrong SMTP server" (24 lines, 1.6K) at http://sial.org/pbot/16131 <7> Pasted <7> The smtp server line that says oversalted.com. I'd like that to say nimid.com <1> as i said, you either change your hostname and change the host that way, but then you have the same situation with the other domain reverse <1> run a daemon per domain <1> all cosmetic foo <7> So will I need to reconfigure the sendmail servers to accept mail for each individual domain too? <1> multiple daemons, multiple configurations <7> Ok, thanks <7> Will each server have to run off a different port? <1> ? <7> Will daemon 1 have to run on port 25, daemon 2 on port xxxx and daemon3 on port yyyy? <1> hm <1> with just a single IP you have a problem <7> Does generics help? <7> Or does that simply re-write the From header only? <1> no <1> it is not about envelope sender <7> ok <7> HOw is this normally done? <1> normally folks have no problem with that <7> How is do they do it? <1> why does it matter for you?
Return to
#sendmail or Go to some related
logs:
pseudo hashes are depricated #php #python #debian #linux workbone dae #sdl ** WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM #bash #debian
|
|