Koozali.org: home of the SME Server

fetchmail, multidrop, envelope and qvirtual

Paddy Verberne

fetchmail, multidrop, envelope and qvirtual
« on: March 31, 2001, 01:15:59 AM »
I've been fiddeling around a bit to get fetchmail to empty my multidrop mailbox. Somehow all mails disappear into a black hole because I can't find them anywhere. If I check the log I see that fetchmail gets the mails.

Here's my /etc/fetchmail:

#!/bin/sh

#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in the /etc/e-smith/templates directory. For more
# information, see http://www.e-smith.org.
#
# copyright (C) 1999-2001 e-smith, inc.
#------------------------------------------------------------


# multi-drop configuration; fetchmail retrieves all mail from a remote POP mailb

/usr/bin/fetchmail --syslog  --fetchmailrc - <
set postmaster "postmaster"
set bouncemail
set properties ""

poll pop.vuurwerk.nl
envelope "Delivered-To:"
qvirtual "virtualdomains-"
    protocol POP3
    localdomains scoutingvught-noord.nl
       username paddy password yeahright to * here
           smtphost localhost
           smtpaddress scoutingvught-noord.nl
           fetchall
           forcecr

EOF

This should be the right trick to retrieve mails from my provider, look for Delivered-To:, strip virtualdomains- from the e-mail addresses and distribute the mails. Or ...?

Who can help?

Regards,

Paddy Verberne

thorsten greiner

Re: fetchmail, multidrop, envelope and qvirtual
« Reply #1 on: April 01, 2001, 06:30:18 PM »
hi...

sounds a little like the problem i had yesterday...

i downloaded an update -> ftp.e-smith.org/pub/e-smith/e-smith-4.1.1/updates/RPMS/e-smith-obtuse-smtpd-1.2.0-03.noarch.rpm

then did:

rpm -Uvh e-smith-obtuse-smtpd-1.2.0-03.noarch.rpm
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

and suddenly all my mails appeared the way they should. understood it as problem wiht local mailprocessing, ergo forwarding.

maybe it helps ;)

Gary Williams

Re: fetchmail, multidrop, envelope and qvirtual
« Reply #2 on: April 07, 2001, 11:03:08 AM »
Paddy,

I've sent a fairly lengthy reply to:

Author: bryan stalcup (bryan_AT_stalcup.net)
Date:   04-02-01 18:12


Have a look at that. I had exactly the problem you two are having, and solved it by hacking the fetchmail script the interface produces.


Gary Williams