Custom bounce messages for virtual/separate domains.
Is there a way to customize the bounce messages on virtual/separate domains so that they don't identify themselves as the "me" domain? I have two domains on the box and I need the bounce message from each domain to be specific to that domain. Thanks in advance, Bob R. (Bob) Carpenter CIO-Chief Information Officer RedSea Management Ltd. San José, Costa Rica (506) 204-3300 (506) 204-7090 fax
RE: 'qmail-pop3d' where does the authentication come from?
Cut and paste/line wrap error: It is two discrete lines with a "\" at the end of the first line. (This comes from Life with qmail.) pop3 stream tcp nowait root/var/qmail/bin/qmail-popup qmail-popup \ mercury.redsea.co.cr /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir R. (Bob) Carpenter CIO-Chief Information Officer RedSea Management Ltd. San José, Costa Rica (506) 204-3300 (506) 204-7090 fax PGP Key available by request. -Original Message- From: Petr Novotny [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 18, 2000 9:20 AM To: [EMAIL PROTECTED] Subject: Re: 'qmail-pop3d' where does the authentication come from? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18 May 00, at 9:16, Bob Carpenter wrote: Telnetting into the POP3 server, fails: [root@mercury bob]# telnet localhost 110 Trying 127.0.0.1... Connected to mercury.redsea.co.cr (127.0.0.1). Escape character is '^]'. +OK 961.958499285@\ Backslash? In /etc/inetd.conf I have: pop3 stream tcp nowait root/var/qmail/bin/qmail-popup qmail-popup \ mercury.redsea.co.cr /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir The backslash should be there only if you split the line in two; otherwise (if it's on one line), don't put the backslash in. -BEGIN PGP SIGNATURE- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOSP8H1MwP8g7qbw/EQKxgACgnwDe5GOssRClGy1QdcyqVDusXNkAn2eX zqhLFLPcW8PUFYqg8ZOcNblG =1BpP -END PGP SIGNATURE- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
RE: 'qmail-pop3d' where does the authentication come from?
This is a documentation convention I was unaware of. Thank you for clearing this up and subsequently solving my problem. Then is it likely that the script under /var/qmail/supervise/qmail-smtpd/run (as mentioned in the Life with qmail) is also incorrect? Or is it just inetd that doesn't process multiple lines? From section 2.8.2 System Startup files: Create the /var/qmail/supervise/qmail-smtpd/run file: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 Thank you, Bob -Original Message- From: Chris Johnson [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 18, 2000 9:31 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: 'qmail-pop3d' where does the authentication come from? On Thu, May 18, 2000 at 09:16:27AM -0600, Bob Carpenter wrote: I've been running into password authentication problems with my RH 6.2 implementation. Open-ssh does weird things too... but back to qmail. Here's the info I hope is relevant: Telnetting into the POP3 server, fails: [root@mercury bob]# telnet localhost 110 Trying 127.0.0.1... Connected to mercury.redsea.co.cr (127.0.0.1). Escape character is '^]'. +OK 961.958499285@\ user bob +OK pass xxx -ERR authorization failed Connection closed by foreign host. Yet, using the checkpassword test as indicated in INSTALL for checkpassword: root@mercury bob]# /var/qmail/bin/qmail-popup host /bin/checkpassword pwd +OK 968.958499400@host user bob +OK pass xxx /home/bob [root@mercury bob]# In /etc/inetd.conf I have: pop3 stream tcp nowait root/var/qmail/bin/qmail-popup qmail-popup \ mercury.redsea.co.cr /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir You can't split lines in inetd.conf using \ (or anything else). Just stick it all on one line and take the \ out. Chris
'qmail-pop3d' where does the authentication come from?
I've been running into password authentication problems with my RH 6.2 implementation. Open-ssh does weird things too... but back to qmail. Here's the info I hope is relevant: Telnetting into the POP3 server, fails: [root@mercury bob]# telnet localhost 110 Trying 127.0.0.1... Connected to mercury.redsea.co.cr (127.0.0.1). Escape character is '^]'. +OK 961.958499285@\ user bob +OK pass xxx -ERR authorization failed Connection closed by foreign host. Yet, using the checkpassword test as indicated in INSTALL for checkpassword: root@mercury bob]# /var/qmail/bin/qmail-popup host /bin/checkpassword pwd +OK 968.958499400@host user bob +OK pass xxx /home/bob [root@mercury bob]# In /etc/inetd.conf I have: pop3 stream tcp nowait root/var/qmail/bin/qmail-popup qmail-popup \ mercury.redsea.co.cr /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir In /etc/services (as mentioned in the Note for Life with qmail.): pop3110/tcp pop-3 # POP version 3 pop3110/udp pop-3 As always, constructive criticism, tips and suggestions are always appreciated. R. (Bob) Carpenter CIO-Chief Information Officer RedSea Management Ltd. San José, Costa Rica (506) 204-3300 (506) 204-7090 fax PGP Key available by request.
-ERR authorization failed under qmail-pop3d
I've been running into password authentication problems with my RH 6.2 implementation. Open-ssh does weird things too... but back to qmail. I _HAD_ qmail up and running happily yesterday. The famous line "I didn't change anything and now it doesn't work." Well obviously I have changed something. I have been attempting to complete the Life with qmail documentation. With success yesterday. (Thank you again for your help!) Here's the info I hope is relevant: Telnetting into the POP3 server, fails: [root@mercury bob]# telnet localhost 110 Trying 127.0.0.1... Connected to mercury.redsea.co.cr (127.0.0.1). Escape character is '^]'. +OK 961.958499285@\ user bob +OK pass xxx -ERR authorization failed Connection closed by foreign host. Yet, using the checkpassword test as indicated in INSTALL for checkpassword: root@mercury bob]# /var/qmail/bin/qmail-popup host /bin/checkpassword pwd +OK 968.958499400@host user bob +OK pass xxx /home/bob [root@mercury bob]# In /etc/inetd.conf I have: pop3 stream tcp nowait root/var/qmail/bin/qmail-popup qmail-popup \ mercury.redsea.co.cr /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir In /etc/services (as mentioned in the Note for Life with qmail.): pop3110/tcp pop-3 # POP version 3 pop3110/udp pop-3 As always, constructive criticism, tips and suggestions are always appreciated. R. (Bob) Carpenter CIO-Chief Information Officer RedSea Management Ltd. San José, Costa Rica (506) 204-3300 (506) 204-7090 fax PGP Key available by request.
Message: -ERR this user has no $HOME/Maildir
I've searched through several qmail archives and saw this question appear many times, but never found a solution that helped me. I've been following Dave Sills "Life with qmail" pretty much to the letter. OK, actually _TO_ the letter. I'm finding that the server happily accepts e-mail on both of the IP addresses and host names I've assigned to the box. It doesn't DELIVER them mind you, but they sit happily in the queue. It would appear as though I definitely have a mailbox type issue. # telnet localhost 110 Trying 127.0.0.1... Connected to mercury (127.0.0.1). Escape character is '^]'. +OK 9981.958401059@FQDN user bob +OK pass xx -ERR this user has no $HOME/Maildir Connection closed by foreign host. [root@mercury control]# more /var/qmail/control/defaultdelivery ./Maildir/ [root@mercury control]# But I DO have the maildir as created by "maildirmake", no? [root@mercury bob]# ls -al Mai* -rw---1 bob bob 19136 May 12 13:07 Mailbox -rw---1 bob bob 8956 May 12 13:29 Maildir [root@mercury bob]# I've experimented with different types of delivery, as shown by the two mailbox types above. And now I seem to have broken it quite badly. As well as: [root@mercury bob]# tail -f /var/log/qmail/current @4000392008fb0ad9d30c status: local 0/10 remote 0/20 @400039200a1207e7e33c starting delivery 1: msg 24123 to local [EMAIL PROTECTED] @400039200a1207e9b02c status: local 1/10 remote 0/20 @400039200a120852c29c delivery 1: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ @400039200a1208541e44 status: local 0/10 remote 0/20 @400039200a1907d2b944 starting delivery 2: msg 24126 to local [EMAIL PROTECTED] @400039200a1907d42c5c status: local 1/10 remote 0/20 @400039200a19083a8b64 delivery 2: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ @400039200a19083bdb54 status: local 0/10 remote 0/20 As you can see by the Mailbox and Maildirs it once worked, once I started to mess with tcpserver my woes began. Ultimately this is just going to be a MTA/MDA box for MS Lookout clients. Any thoughts, suggestions and supportive criticisms, would be greatly appreciated. Bob R. (Bob) Carpenter CIO-Chief Information Officer RedSea Management Ltd. San José, Costa Rica (506) 204-3300 (506) 204-7090 fax PGP Key available by request.
RE: Message: -ERR this user has no $HOME/Maildir
Thank you! It works! Now the mystery is how did I make that file in the first place? I'm SURE that I followed the instructions in the qmail 'INSTALL.maidir' to create this file. (as shown below) maildirmake $HOME/Maildir echo ./Maildir/ ~/.qmail But the directory now exists, the telnet to the localhost has been fixed too. I do notice that, unlike the tcpserver instructions, it does NOT echo back the users mail directory. Or is that not a normal function of tcpserver under Maildir? Bob -Original Message- From: Timothy L. Mayo [mailto:[EMAIL PROTECTED]] Sent: Monday, May 15, 2000 9:07 AM To: [EMAIL PROTECTED] Subject: Re: Message: "-ERR this user has no $HOME/Maildir" On Mon, 15 May 2000, Bob Carpenter wrote: But I DO have the maildir as created by "maildirmake", no? [root@mercury bob]# ls -al Mai* -rw---1 bob bob 19136 May 12 13:07 Mailbox -rw---1 bob bob 8956 May 12 13:29 Maildir [root@mercury bob]# No, the above ls output shows that you have a FILE named 'Maildir'. You do NOT have a Maildir/ directory as created by maildirmake. Delete the above file and rerun maildirmake as user 'bob'. Note: the ls output for a Maildir directory would have looked like the following: drwx--1 bob bob 8956 May 12 13:29 Maildir - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc.http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax