Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

mail from local to remote problems

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


samuelsayag at yahoo

Jan 29, 2010, 12:20 AM

Post #1 of 2 (1108 views)
Permalink
mail from local to remote problems

Hello,

I am very new to world of mail and mail server. Recently I had to try to setup a mail server and search on google lead to qmail quite easily. I installed a little slackware and used life with qmail as a user guide to install qmail.
I first installed djbdns but just the cache system for the moment because I just want to test outbound messages. If it works I panned to add the name service and a dyndns pointing to my machine. I already registered at dyndns under samuelsayag.homelinux.com to test inbound mailing later.
I installed daemontools and ucspi-tcpserver also.

I tried a little test but my mail stay in the queue and cannot be sent.

I put here result of command I hope is relevant and I can add (this evening) anything wich is also relevant for diagnostic.

root[~]# qmailctl stat
/service/qmail-send: up (pid 1683) 26544 seconds
/service/qmail-send/log: up (pid 1684) 26544 seconds
/service/qmail-smtpd: up (pid 1690) 26544 seconds
/service/qmail-smtpd/log: up (pid 1689) 26544 seconds
messages in queue: 1
messages in queue but not yet preprocessed: 0

root[~]# tail /var/log/qmail/current

@400000004b6210be28e08bd4 status: local 0/10 remote 0/20
@400000004b62768c1c94566c new msg 50891
@400000004b62768c1c945e3c info msg 50891: bytes 208 from <root [at] localhost> qp 1674 uid 0
@400000004b62768c21abe944 starting delivery 1: msg 50891 to remote samuelsayag [at] gmail
@400000004b62768c21abf114 status: local 0/10 remote 1/20
@400000004b6277b909733e2c delivery 1: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000004b6277b9097349e4 status: local 0/10 remote 0/20

root[~]# dnsip localhost
127.0.0.1

root[~]# /var/qmail/bin/qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 1003, 1004, 1005, 0, 1006, 1007, 1008, 1009.
group ids: 1003, 1004.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is localhost.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is localhost.

defaulthost: (Default.) Default host name is localhost.

doublebouncehost: (Default.) 2B recipient host: localhost.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is localhost.

helohost: (Default.) SMTP client HELO host name is localhost.

idhost: (Default.) Message-ID host name is localhost.

localiphost: (Default.) Local IP address becomes localhost.

locals:
Messages for samuelsayag.homelinux.net are delivered locally.

me: My name is localhost.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is homelinux.net.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at samuelsayag.homelinux.net.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 localhost.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.

me~: I have no idea what this file does.

defaultdomain~: I have no idea what this file does.

concurrencyincoming: I have no idea what this file does.

me.old: I have no idea what this file does.

defaultdelivery: I have no idea what this file does.


Thanks for futur help,


lists-qmail at maexotic

Jan 29, 2010, 8:37 AM

Post #2 of 2 (1026 views)
Permalink
Re: mail from local to remote problems [In reply to]

Hi,

thanks for the detailed report.

On Fri, Jan 29, 2010 at 08:20:04AM +0000, samy sayag wrote:
> @400000004b62768c1c945e3c info msg 50891: bytes 208 from <root [at] localhost> qp 1674 uid 0

This address will probably not be accept by mailservers :-)

> @400000004b62768c21abe944 starting delivery 1: msg 50891 to remote samuelsayag [at] gmail
> @400000004b6277b909733e2c delivery 1: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

What ISP are you using? Some ISPs block outgoing port 25 connections.

what does
$ dnsmx gmail.com
give?

If it is something like
5 gmail-smtp-in.l.google.com
30 alt3.gmail-smtp-in.l.google.com
40 alt4.gmail-smtp-in.l.google.com
20 alt2.gmail-smtp-in.l.google.com
10 alt1.gmail-smtp-in.l.google.com
your DNS is working. Then try a
$ dnsip gmail-smtp-in.l.google.com
which results in
209.85.211.33
for me.

To check if you ISP is blocking port 25 connections try
$ telnet 209.85.211.33 smtp
which should result in something like:
Trying 209.85.211.33...
Connected to 209.85.211.33.
Escape character is '^]'.
220 mx.google.com ESMTP 41si4239392ywh.102
(type and send "quit" to leave)

If you don't get a connection (stuck in "trying") you will have to talk
to your ISP.

\Maex

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.