Newbie quest: Not receiving email

Started by Toothy, August 30, 2005, 04:28:53 AM

Previous topic - Next topic

Toothy

I've installed toaster with filters.
When I run toaster_setup.pl -s test, all the tests are ok apart from vqmaillocal.
But when I try to send email using SMTP 25, it rejects a message. When I use SMTP 587, it's OK. I think it's RBL or filtering issue. Then when I send myself email, it's received. But from other sites, I can't receive any emails. I've tested sending email from msn.com.
It stays like this

# sockstat -4
vpopmail qmail-smtp 38338 0  tcp4   202.72.24x.x:25       65.54.173.12:48596
vpopmail qmail-smtp 38338 1  tcp4   202.72.24x.x:25       65.54.173.12:48596
vpopmail qmail-smtp 38338 2  tcp4   202.72.24x.x:25       65.54.173.12:48596
.
.
.

And also gives this LOG MESSAGE:

@400000004314272f0a368e2c new msg 13994825
@400000004314272f0a3695fc info msg 13994825: bytes 1714 from <#@[]> qp 39786 uid 87
@400000004314272f10bd1a54 starting delivery 100: msg 13994825 to remote mailto:postmaster@mail.mydomain.mn" target="_blank">postmaster@mail.mydomain.mn
@400000004314272f10c023ac status: local 0/10 remote 1/255
@400000004314272f11b9fc9c delivery 100: failure:  Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_ that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_tr eat_it_as_local._(#5.4.6)/
@400000004314272f11c0b35c status: local 0/10 remote 0/255
@400000004314272f11c0bf14 triple bounce: discarding bounce/13994825
@400000004314272f11c0c6e4 end msg 13994825


PLZ GIVE ME ADVICE TO MAKE IT PROPERLY WORKED!!!

antoniop

Add the domain to the local file (that's what it says in the error msg).

Look at these config files.


2.9. Set up control files
2.9.1. me

# echo HOSTNAME.DOMAIN > /var/qmail/control/me

2.9.2. rcpthosts

# echo HOSTNAME.DOMAIN > /var/qmail/control/rcpthosts
# echo DOMAIN >> /var/qmail/control/rcpthosts

2.9.3. locals

# echo HOSTNAME.DOMAIN > /var/qmail/control/locals
# echo DOMAIN >> /var/qmail/control/locals

2.9.4. defaulthost

# echo HOSTNAME > /var/qmail/control/defaulthost

2.9.5. defaultdomain

# echo DOMAIN > /var/qmail/control/defaultdomain

2.9.6. plusdomain

# echo DOMAIN > /var/qmail/control/plusdomain

2.10. Redirect root's email

qmail will not send email directly to root. Even if no one else is sending email to root, the system is probably sending its daily checks to root every night, so the barest minimum qmail setup requires an alias for root:

# echo EMAILADDRESS > /var/qmail/alias/.qmail-root

EMAILADDRESS is the real address to which you want root's mail sent. Alias files can contain multiple addresses, but each address must be on a separate line.

Toothy

I've done according to your recom.
Now, if I send from msn.com, I cannot receive any emails.
After sent, this appears and goes away. then there is no email in my inbox.
mail# sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      
vpopmail rblsmtpd   7337  0  tcp4   202.72.24x.x:25       65.54.173.7:52322
vpopmail rblsmtpd   7337  1  tcp4   202.72.24x.x:25       65.54.173.7:52322
vpopmail rblsmtpd   7337  3  udp4   202.72.24x.x:64715    202.72.241.4:53
vpopmail tcpserver  7198  3  tcp4   202.72.24x.x:587      *:*
vpopmail tcpserver  7194  3  tcp4   202.72.24x.x:25       *:*

I've checked logs. But there is no log msg about this email. I don't know what happened to this email.
What problem may it be?

Toothy

vpopmail rblsmtpd   86492 0  tcp4   202.72.24x.x:25       218.18.41.73:4182
vpopmail rblsmtpd   86492 1  tcp4   202.72.24x.x:25       218.18.41.73:4182

It remains like this and goes away. No email is received.