2 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] when i send a mail vi...
FromSent OnAttachments
Yamil EliasMar 1, 2005 11:04 am 
Brian CandlerMar 2, 2005 7:38 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] when i send a mail via webmail the mail cant arrive to receiverActions...
From:Brian Candler (B.Ca@pobox.com)
Date:Mar 2, 2005 7:38:26 am
List:net.sourceforge.lists.courier-sqwebmail

On Tue, Mar 01, 2005 at 04:05:13PM -0300, Yamil Elias wrote:

I have a qmail with vpopmail and sqwebmail.

You say qmail - but you showed sendmail log entries?

The problem is if a send a mail via webmail, the mail appears in the sent folder but not arrived to the receiver mail account.

The outgoing mail is sent via a script called 'sendit.sh' which invokes sendmail directly. Look at what this script does, and try to replicate the problem by invoking sendmail yourself from the command line, and watch it deliver mail.

Perhaps you need to change sendit.sh to invoke qmail instead of sendmail.

I sent a mail via a pop3 client and I can read from other pop3 client or webmail.

pop3 clients send mail using SMTP, via whatever outgoing mail server you have configured on them.

I look the logs and say this:

Mar 1 11:35:32 mx sendmail[4718]: j21EZWG04718: from=alb@tch.com, size=253, class=0, nrcpts=1, msgid=<2005@mx.tch.com>, relay=vpopmail@localhost Mar 1 11:36:09 mx sendmail[4714]: j21EZ8g04711: to=yam@tch.com, ctladdr=alb@tch.com (89/89), delay=00:01:01, xdelay=00:01:00, mailer=esmtp, pri=60253, relay=tch.com. [20.9.13.5], dsn=4.0.0, stat=Deferred: Connection timed out with tributech.com.ar.

If the deferred mails have ended up in /var/spool/mqueue then you are certainly using sendmail.

and I found this: relay=tch.com. [20.9.13.5]

my mx server ip is: 20.9.13.6 but my domain point: tch.com -> 20.9.13.5

No it doesn't: $ nslookup -q=mx tch.com

tch.com mail exchanger = 10 mail.tch.com.

$ nslookup mail.tch.com

Name: mail.tch.com Address: 204.110.224.33

So, any well-behaved mail server on the Internet should send mail to that address. Where that other address comes from, I have no idea - sendmail 'mailertable'? /etc/hosts? You could always do

# find /etc -type f | xargs grep '20\.9\.13\.[56]' or # find / -type f | xargs grep '20\.9\.13\.[56]'

to see all the files under /etc or anywhere on your system (respectively) which contain that address.

Brian.