Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Qmail Delivery with vpopmail [SOLVED]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
cypherscout
n00b
n00b
Posts: 13
Joined: Wed Aug 25, 2004 5:00 pm
Contact:
Contact cypherscout
Website

Qmail Delivery with vpopmail [SOLVED]

  • Quote

Post by cypherscout » Fri Dec 31, 2004 5:03 pm

Hello, I have read a number of posts and documents and felt the need to seek help after 10+ hours of troublehsooting. Yet another posting regarding qmail + vpopmail + courier-imap-ssl
So here goes, relatively simple one would think:
Main Issue: Qmail is not delivering messages to /var/vpopmail/domains/mydomoain.com/user/.maildir, but instead looks for an actual user account.
If it finds one, it delivers it to the users local .maildir in their /home/user/ directory. If it doesn't find one, the message seemingly disppears.

Code: Select all

#cat /var/vpopmail/domains/mydomain.com/.qmail-default
| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox

Code: Select all

#cat /var/qmail/control/defaultdelivery
| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
I read /var/vpopmail/doc/README.vqmaillocal.gz and followed the instructions therein.

Code: Select all

Todo:
1) process .qmail-"user" files and .qmail-default file

How to install:
1) mv /var/qmail/bin/qmail-local /var/qmail/bin/qmail-local.orig
2) cp vqmaillocal /var/qmail/bin/qmail-local
However, after doing so I really didn't get anywhere except that I noticed what looks to be permission issues with some files/directories from the following logs.

Code: Select all

#tail /var/log/qmail/qmail-send/current
@4000000041d5826021139914 delivery 15: deferral: vmysql:_can't_read_settings_from_/var/vpopmail/etc/vpopmail.mysql//var/qmail/alias,test123,mydomain.com/
@4000000041d582602113cbdc status: local 0/10 remote 0/20
@4000000041d582c6210b5bb4 starting delivery 16: msg 426649 to local test123@mydomain.com
@4000000041d582c6210b7af4 status: local 1/10 remote 0/20
@4000000041d582c621aadbbc delivery 16: deferral: vmysql:_can't_read_settings_from_/var/vpopmail/etc/vpopmail.mysql//var/qmail/alias,test123,mydomain.com/
@4000000041d582c621ab126c status: local 0/10 remote 0/20
@4000000041d583f021a430b4 starting delivery 17: msg 426651 to local test123@mydomain.com
@4000000041d583f021a457c4 status: local 1/10 remote 0/20
@4000000041d583f0224389ac delivery 17: deferral: vmysql:_can't_read_settings_from_/var/vpopmail/etc/vpopmail.mysql//var/qmail/alias,test123,mydomain.com/
@4000000041d583f02243c05c status: local 0/10 remote 0/20
Am I missing anything else? I sure hope someone can shed some light on this stuff for me. Thank you in advance!
Last edited by cypherscout on Sat Jan 08, 2005 11:51 pm, edited 1 time in total.
Top
cypherscout
n00b
n00b
Posts: 13
Joined: Wed Aug 25, 2004 5:00 pm
Contact:
Contact cypherscout
Website

  • Quote

Post by cypherscout » Sun Jan 02, 2005 5:59 am

I have read that if your virtual domain name is indentical to the domain name of your mail server, it will ONLY attempt a delivery to local users. Am I wrong? And if it is true, how do I change it without changing a domain name?
Top
sarge
n00b
n00b
Posts: 27
Joined: Mon Aug 30, 2004 8:24 am

  • Quote

Post by sarge » Sun Jan 02, 2005 10:19 pm

use FQDM as your local domain eg. mail.domain.com and domain name as vitrualdomain created by vpopmail eg. domain.com.
Top
cypherscout
n00b
n00b
Posts: 13
Joined: Wed Aug 25, 2004 5:00 pm
Contact:
Contact cypherscout
Website

  • Quote

Post by cypherscout » Sat Jan 08, 2005 11:46 pm

Thank you sarge, it was only after doing a fesh install of everything and stopping to think for a second that I realized that is what I had to do. The how-to could use an amendment as it is slightly unclear about this point.

SOLVED
http://www.roughequipment.com/
Top
t0mcat
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 111
Joined: Thu Feb 12, 2004 8:12 pm
Location: Catania, Italy
Contact:
Contact t0mcat
Website

  • Quote

Post by t0mcat » Sun Jan 16, 2005 1:31 pm

i'm having exactly the same problem, but i didn't solve changing control files as sarge said...
il gattaccio
a.k.a etienne
Top
newtonian
Guru
Guru
User avatar
Posts: 465
Joined: Wed Jan 19, 2005 4:11 pm
Location: Hokkaido Japan

delivery 15: failure: Sorry,_no_mailbox_here_by_that_name

  • Quote

Post by newtonian » Mon Feb 07, 2005 8:24 pm

After doing a emerge -u world and having courier updated I started getting
delivery 15: failure: Sorry,_no_mailbox_here_by_that_name
error in my /var/log/qmail/qmail-send/current log

I wasn't able to send mail to new accounts set up on the system.

I added

Code: Select all

 | /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
to /var/qmail/control/defaultdelivery. (don't know if this helped or is even necessary)

/**** FOLLOW UP ********/

I showed the /var/qmail/control/defaultdelivery
setting to the guys in the qmailadmin list and
they didn't like it. They said that I should reset it
to the original value. So I reset it to :

Code: Select all

./.maildir/
Here's what he had to say:
On Feb 7, 2005, at 12:13 PM, David Sperling wrote:

> I added | /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
> to /var/qmail/control/defaultdelivery. (don't know if this helped or is even necessary)
>
> Then deleted the contents of /var/qmail/control/locals
> restarted svscan and everything began to work again.


I don't think that changing defaultdelivery like that was a good idea.
You should change it back to whatever it was originally.
I don't know about gentoo, but on a standard
install it's set to './Maildir/'.

Look at the .qmail-default file for the domain
that's causing problems, and make sure it's set to
the string you listed above.

--
Tom Collins - tom@tomlogic.com
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/
/**** END FOLLOW UP ********/


Then did

Code: Select all

hawk control # echo "" > /var/qmail/control/locals
hawk control # /etc/init.d/svscan restart
as per the advice in this topic. Then qmail, vpopmail and qmailadmin began to work perfectly again.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic