Find out the permissions on the postfix directory.
|
hmm, check out my #150 post :X sorry
|
Quote:
|
stopped postfix and tried to delete the file, it still remains.
|
there's an additional sasl_password file i had, do i have to remove that? that file won't affect the way sasl_passwd works?
|
i realised one thing:
Code:
xanios@ubuntu:~$ telnet smtp.gmail.com 587 how to resolve..i'm still looking |
|
I can telnet to smtp.gmail.com on 587 port successfully. You could have been denied for your excessive requests.
|
Excessive requests? x_x
in the link they used relayhost = [smtp.gmail.com]:587, should i just change back to that? add on: tried that. still connection refused. maybe my port 587 is blocked. |
i added this to master.cf:
Code:
#628 inet n - - - - qmqpd stumped. |
You can change back. But it would not matter. Port number is at their end and not yours. And I can telnet from my end. Google has policy where in they treat some number of requests in a particular amount of time to be spam. So you have to limit that. Not just google but most of the SMTP relays have relay limits per user or per IP. After that the requests are either banned or termed spam. This is done to prevent spams and bulk mails.
|
No you are not getting the point. It not the port at your end. It is the port at googles end.
|
But how to limit that?x_x
|
You do not limit that. Its them who limit the requests for spam and bulk mailing. You can not control the server at their end and neither can you do anything about the policies. Those policies are there to prevent their servers from being misused for spamming.
|
Oh okay.
So, is there no other way to solve the error? Connection refused. |
You can use other SMTP relays those are free and do not need authentication for relaying. You can search google for such. Or else you can use other mail services that you may have account with. Using a free relay is one option but I have never used one of those so I can not guarantee if mails from free relays are treated secure or spams.
|
okay.. this is just so weird. at home when i tried the same thing, i got the error: "Authentication Required". For this how to resolve that? post #140.
|
X_X
|
sorry for keep posting x_x
earlier when i created the CA Certificate, i issued this command in terminal: Code:
cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem >> cacert.pem |
There is no requirement for creating certificate. I do not have one created myself. I have no idea why you are facing so many issues for this.
|
i have no idea too...
|
I think you should give it a try starting from scratch. Remove postfix. delete all the related files and directories and reinstall and reconfigure.
|
i shall see how..
by the way, what do you configured your postfix as? there are options like 'internet', 'satellite mail system' etc. i chose satellite. i wonder if that affects the way it works |
I have not used postfix as such. What I used was Zimbra which is based on postfix.
|
I see.
Hey by the way, are there any ways to solve this kind of error: Code:
Aug 5 06:15:04 ubuntu postfix/smtp[4231]: 1AA8540A58: to=<xanios@server.com>, relay=gmail-smtp-msa.l.google.com[74.125.155.109]:25, delay=1.6, delays=0.05/0.03/1.4/0.19, dsn=5.5.1, status=bounced (host gmail-smtp-msa.l.google.com[74.125.155.109] said: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 g4sm354955wae.2 (in reply to MAIL FROM command)) |
See the link in the error. Also check with the sasl_passwd file if your user and password are correct and that it has been hashed and the same file is used in main.cf.
|
my user and password are correct. it has been hashed too.
|
Then check all the parameter options in main.cf that relate to authenticating to external relay. What authentication method are you using? What options and all. Make sure you are not sending password as plain text.
|
Authentication method?
Quote:
|
The password will be stored in plain text in the file before it is hashed. But how it passes over the network to the server is what I am talking about.
smtp_sasl_security_options=noanonymous,noplaintext is what I am talking about. Also make sure tls method is enabled. I can not think of anything else. |
Oh ok. I see. I've already set it as noplaintext. tls method is set to yes too. Hmm.
Code:
xanios@ubuntu:~$ postconf -n |
I can not think of anything then. You can just restart the postfix and see if it works. Else wait for someone who has good experience with it. I have never used postfix as such. So this what I can help you with. You could just remove everything and check with it.
If this can help. Configuration at my Zimbra FOSS server. Code:
alias_maps = hash:/etc/aliases |
Hmm okay.
i shall try it again soon. if cannot work, then i shall give up i guess. really ran out of idea lol |
You need not give up. Instead remove everything and start off of scratch and fresh and use the links that I have given.
|
HEYYYYY!
GOOD NEWS!! i'm able to send emails now!! i changed here and there, trial and error, and it works nowwwww :D BUT, one thing is. i want nagios to send email notifications to my gmail account when the services are down. howww to go about doing that? there is this email commands in commands.cfg: Code:
# 'notify-host-by-email' command definition i want nagios to send email notifications to me when the services of any servers that i'm monitoring go down. how? (: thank you |
I have never used Nagios. I would not be able to help you out on this matter. By the way, if you could post your configurations that are working, other members might get help out of it.
|
Hi,
Oh okay, i see. Guess i will let this thread remain as unsolved until i gotten this Nagios thing sorted out. Hmm. Here's my main.cf file: Code:
alias_database = hash:/etc/aliases add on: it works already. thank you for your patience and guidance all along. appreciated it, really:) |
Hello Xanios,
Glad you got it working. I was going to post about the Nagios mail functionality but since you already got it working, no need for that. Great job!! Kind regards, Eric |
Hello Eric,
haha =) thanks to you and Chaitanya that i'm able to get it working(: thank you to the both of you. really appreciated the help given(: Nagios mail functionality?o_o actually you can post it out, maybe it would be able to help other members, and i can learn more things too! ^_^ but well, never mind haha (: have a nice day^^ |
Thats good that you got it working on your own. And its better even that you have posted the solution. This helps other members coming along for similar issues.
|
All times are GMT -5. The time now is 12:22 PM. |