[ILUG-BOM] Qmail relaying

Trevor Warren trevor.w@[EMAIL-PROTECTED]
Mon Dec 23 09:23:36 IST 2002


Hello amish,
 good morning.

 Just to make sure why qmail is relaying and what domains it isn't
allowig to rely perform this check.

 Check the config files for qmail and see what the local domain has been
configured for. Besides that, to allow smtp relaying put in the ip
addresses for all those local ip addressed that you would wanna relay
for.
 
 Telnet again to the machine once you have added the appropriate
entries into /etc/tcp.smtp and resend the mail again. Be sure to relad
the CDB file after you update /etc/tcp.smtp cause qmail won't change the
routing preferences until the reolad of the cdb file has been done.

 Check that out and let us know.

Bye for now and have a great day.

Trevor 

On Fri, 20 Dec 2002 09:59:56 +0530
Amish Munshi <amish_munshi at sify.com> wrote:

> ****************************************
> * LUG meet on 12 Jan. 2003 @ VJTI
> ****************************************
> 
> Hi all,
> 
> 	I want to check if my qmail installation is relaying mails for
> 	other hosts.
> 	I do a simple check like
> 	
> 	telnet localhost 25
> 	MAIL FROM:someone at nonlocal.com
> 	RCPT TO:someother at nonlocal.com
> 	{output is relaying allowed this is ok since it is a local
> 	telnet and I have 127.0.0.1:allow,RELAYCLIENT="" in
> 	/etc/tcp.smtp} 
> 
> 	Next I do a 
> 	telnet 10.10.12.21 25 (my private IP)
> 	MAIL FROM:someone at nonlocal.com
>         RCPT TO:someother at nonlocal.com
> 	{output is 553 sorry, that domain isn't in my list of allowed
> 	rcpthosts (#5.7.1)}
> 
> 	So can I conclude that the external mails are not being relayed?
> 
> 
> 	But now the problem starts.
> 	qmailctl stat gives :
> 	
> 	/service/qmail-pop3d: up (pid 22067) 9174 seconds
> 	/service/qmail-pop3d/log: up (pid 22066) 9174 seconds
> 	/service/qmail-send: up (pid 22062) 9174 seconds
> 	/service/qmail-send/log: up (pid 22063) 9174 seconds
> 	/service/qmail-smtpd: up (pid 22064) 9174 seconds
> 	/service/qmail-smtpd/log: up (pid 22065) 9174 seconds
> 	messages in queue: 32
> 	messages in queue but not yet preprocessed: 0
> 	
> 	
> 	And the messages are for external hosts, 
> 	20 Dec 2002 03:09:33 GMT  #58808  4955  <> 
>         remote  bounce.1194.39868523 at bounce.bnb4.com
> 	19 Dec 2002 17:21:14 GMT  #58786  3714  <> 
>         remote  adp501 at friendly984send.com
> 	20 Dec 2002 03:13:21 GMT  #58809  5443  <> 
>         remote	pro at speedsoffrslistings873009118273.com
> 	19 Dec 2002 11:04:45 GMT  #58787  23375	<> 
>         remote gbw135 at isp3845mailer45.com
> 	20 Dec 2002 04:11:52 GMT  #58810  3563  <> 
>         remote adp124 at friend284mail.com
> 
> 
> 		So my server is probably relaying mails, most seem to be
> 		bouncing mails. 
> 
> 	My /var/log/qmail/current is having entries like 
> 
> 	@400000003e02aa63234a85e4 delivery 98: deferral:
> 	Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
> 	@400000003e02aa63234aa13c status: local 0/10 remote 0/20
> 	
> 	
> 	Thanks in advance.
> 
> 	
> Bye.
> 
> -- 
> _______________________________________________
> 
> http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
> 
> 


-- 
 ( >-    GNU/LINUX, It's all about CHOICE      -< )
 /~\    __  http://www.qmailtheeasyway.com __   /~\
 |  \) /    mailto: trevor.w at media.mit.edu   \ (/ |
 |_|_  \      Research Asst, MediaLab        / _|_|
        \___________________________________/
 




More information about the Linuxers mailing list