Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

Sendmail + UW-IMAP + remote email client

George N
Advisor

Sendmail + UW-IMAP + remote email client

Hello, I'm having trouble getting sendmail to deliver mail when it's send from a remote IMAP client.

Server is 11.31 on IA64. Sendmail and UW-IMAP (from internet express disc) are both installed with all default settings. I'm using the HP-UX default sendmail.cf and submit.cf

Remote IMAP client is Mozilla Thunderbird running on a PC. It has a regular user account set up.

The IMAP client connects successfully, and I can view what is in the user's INBOX. The trouble comes when he tries to send a message.

We are only wanting to be able to send messages from one user on our server, to another user on the same server - no need to relay to the outside world. For example, we have a user efts@dev2.xxx who only needs to send mail to qsubmit@dev2.xxx and no one else.

From the Thunderbird client on the PC, sending a message is reported as successful! However on the HP-UX server, the message goes into /var/spool/mqueue and just stays there forever - it never gets delivered to the other user.

/var/adm/syslog/mail.log shows the following:

Jul 30 17:01:41 dev2 sm-mta[1337]: o6UKwMEM001336: to=, ctladdr= (116/20), delay=00:03:19, xdelay=00:03:19, mailer=local, pri=30694, dsn=4.0.0, stat=Deferred: local mailer (/usr/bin/rmail) exited with EX_TEMPFAIL

Also the local folders:

dev2 # ls -al /var/mail
total 24448
drwxrwxr-x 2 root mail 8192 Jul 30 17:13 .
dr-xr-xr-x 28 bin bin 8192 Jul 27 11:06 ..
-rw-rw---- 1 admin mail 0 Jul 22 18:10 admin
-rw-rw---- 1 efts mail 0 Jul 22 18:10 efts
-rw-rw---- 1 qsubmit mail 0 Jul 22 18:10 qsubmit
-rw-rw---- 1 root mail 12491863 Jul 30 17:00 root
-rw-rw---- 1 submit mail 0 Jul 22 18:10 submit

dev2 # ls -al /var/spool/mqueue
total 96
drwx------ 2 root sys 8192 Jul 30 17:01 .
dr-xr-xr-x 14 bin bin 8192 Jul 30 16:52 ..
-rw------- 1 root sys 75 Jul 30 15:52 dfo6UJqeOZ000619
-rw------- 1 root smmsp 35 Jul 30 16:58 dfo6UKwMEM001336
-rw------- 1 root smmsp 1078 Jul 30 17:00 qfo6UJqeOZ000619
-rw------- 1 root smmsp 1071 Jul 30 17:01 qfo6UKwMEM001336

Thank you all, points will of course be awarded for replies! thank you
3 REPLIES
George N
Advisor

Re: Sendmail + UW-IMAP + remote email client

More output from mail.log


Jul 30 17:33:17 dev2 sm-mta[1552]: o6ULTwWC001551: to=, ctladdr= (113/20), delay=00:03:19, xdelay=00:03:19, mailer=local, pri=30687, dsn=4.0.0, stat=Deferred: local mailer (/usr/bin/rmail) exited with EX_TEMPFAIL
Jul 30 17:33:20 dev2 sm-mta[1677]: o6ULXK4j001677: from=, size=2174, class=0, nrcpts=1, msgid=<4C534520.5060209@dev2.casdev.doj.gov>, proto=ESMTP, daemon=MTA, relay=[163.252.66.67]
Jul 30 17:34:28 dev2 sm-mta[1670]: o6UKwMEM001336: timeout waiting for input from local during Draining Input
Jul 30 17:35:20 dev2 sm-mta[1678]: o6ULXK4j001677: timeout waiting for input from local during Draining Input
Jul 30 17:35:47 dev2 sm-mta[1670]: o6UKwMEM001336: to=, ctladdr= (116/20), delay=00:37:25, xdelay=00:03:19, mailer=local, pri=300694, dsn=4.0.0, stat=Deferred: local mailer (/usr/bin/rmail) exited with EX_TEMPFAIL
Jul 30 17:36:39 dev2 sm-mta[1678]: o6ULXK4j001677: to=, ctladdr= (113/20), delay=00:03:19, xdelay=00:03:19, mailer=local, pri=32439, dsn=4.0.0, stat=Deferred: local mailer (/usr/bin/rmail) exited with EX_TEMPFAIL
Jul 30 17:37:47 dev2 sm-mta[1670]: o6UJqeOZ000619: timeout waiting for input from local during Draining Input
Jul 30 17:39:06 dev2 sm-mta[1670]: o6UJqeOZ000619: to=, ctladdr= (116/20), delay=01:46:26, xdelay=00:03:19, mailer=local, pri=750740, dsn=4.0.0, stat=Deferred: local mailer (/usr/bin/rmail) exited with EX_TEMPFAIL

George N
Advisor

Re: Sendmail + UW-IMAP + remote email client

Lots of these messages in /var/adm/syslog/mail.log. Has no one seen this before?? Any assistance is appreciated!

timeout waiting for input from local during Draining Input
KoushikBasak
Occasional Visitor

Re: Sendmail + UW-IMAP + remote email client

Did you try to send test mail and check if mail is getting delivered or not?