| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> hi, in my /etc/postfix/main.cf is relayhost = 200.185.109.87, but when I try send it, postfix make relay=local, sure postfix was reloaded <1> unset your mydestinations <0> rcsu: :) thanks <1> np <2> mydestinations = hawaii! <0> !!! now it works <3> dijz: Error: "!!" is not a valid command. <2> !sleep <3> Supaplex: Error: "sleep" is not a valid command. <2> well it is for me! <1> rcsu: command not found <4> rob0, magyar : thanks for you help, it was just the fqdn of the mail server which was wrong :) <4> your <5> could someone tell me what some weird stuff I'm seeing in the /var/log/mail file is saying? <1> cdubya: if you tell us what a 'weird stuff' is
<5> heh <5> bah, I've run out of time. I'll have to post it later. <5> Thanks, though. <6> rcsu: you have strange preferences <6> ;> <1> hmm, either you want to get the errors solved, then you need some time <1> or you have no time, then your errors cant be solved <1> so its simply a matter of preference <6> i was just kidding <1> Zerberus: np, ill do it for the logs <7> when I send mail it is received as root@localhost.localdomain <7> I have no idea why <8> NickGarvey, does it work? <8> I mean do you receive it? <7> yes <8> NickGarvey, why bother then:) <7> because it says localhost.localdomain <7> which is very odd <7> and I don't want to send people e-mail that says that <9> NickGarvey: myorigin = $myhostname <9> and probably your myhostname is localhost or something like that <9> setup correctly your: myhostname, mydomain, myorigin, etc <7> oh thank you <7> worked <7> all mail sent to root is instead sent to nick, how I can I fix this? <7> /ubuntu <6> NickGarvey: man aliases <8> NickGarvey, check /etc/aliases -- or whereever else you have put those. <7> thank you <8> Yes. That too. <7> that was it <10> How come when I change my virtual file, so that @foo.com goes to user bob, it's all still going to my username? <9> cds: 3 ways: <9> 1 you didnt postmap it (or make is you setup a makefile for it) <9> 2 you didnt restart postfix (and so it will reload the config in a few minutes) <10> I ran postmap /etc/postfix/virtual after changing it? <9> 3 you change the wrong file <7> does postfix handle my out going e-mail? <6> NickGarvey: you know what an MTA is for? <10> higuita: What's that about a makefile+ <10> ? <7> mail transfer agent <7> so I'm thinking mail transfer <7> but I really have no idea how any of this works <7> jumping in head first <6> time for reading - get a good book <10> I suggest you don't get the sendmail book :) <10> (Actually I lie, the first couple chapters is a nice introduction to mail) <7> I don't really have money.. I'm 15... I get 7 dollars a month <10> Your local library might have it. <10> Or your local university's library (if you're allowed to take books out from there) <7> university? <7> and no my school barely knows what a computer is in the first place heh <10> Do you have a university in your town? <7> nope <7> village <9> cds: the makefile is just a "script" to build the update the postmap for the postfix files, search the net for postfix makefile newaliases postmap <10> NickGarvey: Is there any libraries in your area? <10> higuita: Cheers :)
<10> higuita: Aha... could it be I should put all this information in aliases instead of virtual? <9> probably... <9> i dont know what you want to do... <10> I want mail for bob@domain.com to go to user bob, noreply@domain.com to go to /dev/null, and @bar.com to go to user cds <9> both virtual and alias redirect email, each have their diferent objective (even if some of then is also taken care with the other) <9> and domain.com is your mydestination? <10> Yeah.. I have all my domains I host in mydestination, and my hostname in myhostname. <9> cds? ALL your domains? <10> Yeah, I host several domains. <9> like domain.com , domain2.com, domain3.net ? <9> %#$% <10> Yeah. <9> didnt you read the docs? <10> Sure? <9> ONLY your domain in mydestination, the rest to the virtual file <9> that is the way it should work <10> Hm. <10> Lets read the documentation again... <9> if you want to map directly domain2.com to domain.com (user1@domain2.com is also user1@domain.com) <9> then put in virtual @domain2.com @domain.com <9> 8) <10> Well, I more want domain1.com to go to user1, domain2 and domain3.com to go to user2 <9> it may work look it works with all in mydestination, but it can also create several problems and its hard to control <9> then it is really in virtual <9> @domain1.com user1@domain.com <10> Hmm... <10> That's a thing. <9> @domain2.com user2@domain.com <9> @domain3.com user2@domain.com <10> The default config (debian) had my hostname, myhost.hostname, and localhost in mydestination? <9> ignore a little the default debian config, its setup for a small home and local mail server <10> I think that's how I made the mistake :) <9> try to follow the postfix default config file, its alot more clear for real setups <10> I only got the debian one? <9> no, the postfix default one should be in /usr/share/doc/postfix (or /usr/share/postfix)... <10> Aah, ok. <9> search for main.cf or postfix.cf or something like this <10> Lets see if this works... <9> debian postfix readme should be say where the file is and that it should be use as base for bigger setups <10> Well, debian isn't great for readmes ;) <10> Oddly, that only made all mail bounce. <9> you also need to put in virtual the entry for the domains... <9> domain1.com activate_relay <9> domain2.com activate_relay <9> domain3.com activate_relay <9> put this also in the virtual <9> the 2 field is junk, doent matter, the important is the first one so that postfis knows that should accept emails for that domain <10> Oh, you don't have @domain1.com? <9> @domain1.com user@domain.com tells postfix that emails @domain1.com should go to user@domain.com <10> Hm. <10> So... I need two lines per domain/user? <9> but you need also "domain1.com somehthing" in the file so that postfix knows that it should use domain1.com as a "pseudo-mydestination" <10> So... <9> domain1.com activate_relay <9> @domain1.com user@domain.com <9> domain2.com activate_relay <10> Aaah.. <9> @domain2.com user2@domain.com <10> I bet that's the problem! <9> user_a@domain2.com user3@domain.com <10> Hm, do you need the @domain.com? <10> I mean, it's unix users on the machine? <10> (In user@domain.com) <9> no, you can cut out the @domain.com and postfix will use the local users <10> Excellent. <9> you can also use other domains in virtual, external domains, other virtual domains (yes, its bumb to chain virtual domains 8), etc <9> /dev/null redirects, create the user null or something like this and put in aliases null: /dev/null <10> Hm, so you can't send directly to /dev/null ? <9> not in virtual <9> in virtual only email/users <9> AFAIK at least... <10> So I put null: /dev/null in aliases? <9> yes <10> How do I rehash the aliases?
Return to
#postfix or Go to some related
logs:
#kde #perl cflags gentoo ntune asterisk-h323 debian apt-get #nvidia #php ubuntu install icons ati-264vt2 ubuntu #suse gentoo on separate hardrive
|
|