SMTP problem
OS=centOS Enterprise linux 5.x
Qmail -bash-3.1# telnet localhost smtp Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 system1 - Welcome to Qmail ESMTP ehlo host 250-system1 - Welcome to Qmail 250-STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 20971520 250 AUTH LOGIN PLAIN CRAM-MD5 mail from: webmaster 250 ok rcpt to: webmaster@domain.com 553 sorry, your envelope sender has been denied (#5.7.1) JavaMail throwing the following error: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser) Thanks & best regards |
I'm thinking you might have forgotten to remove the # infront of mynetworks_style for your host.
Choose host if you only want localhost to be able to connect. Also you could specify specific machines ip adresses that should be able to connect and use the relay function. Anyway i think you should be able to telnet in and get it working by removing the hash in front of mynetworks_style of your choise asuming you have configured everything else correct. |
Quote:
This is my /etc/tcprules.d/tcp.smtp 127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private" :allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",DKSIGN="/var/qmail/control/domainkeys/%/private" I am not finding here any "mynetworks_style" words or I believe I not understand. can you please be more specific Thanks again & best regards |
This is strange. The errors you get mean 2 different things:
Quote:
Also check for the existence of badmailfrom file and its contents just in case. Quote:
|
All times are GMT -5. The time now is 08:15 PM. |