Hello
Hope some would be kind to help me with this.  As you will notice I'm new to this.

I have a Debian unit with fetchmail, exim4 and procmail installed.  Everything is 
setup and all seems to work fine.
I can receive mail if I were to use the following:
fetchmail -k -v
I use -k just to be safe so I don’t delete any mail by mistake.
I can also send mail using ‘mail’ from a command line.
Procmail is installed but there is no configuration file so I assume it is ignored.

I now have a few questions:
1) when I issue the fetchmail command as above, is fetchmail passing the mail to exim4 
to deliver it to the mail box, or is it delivering it on its own?

2) I have 3 domains on this Debian box and all the mail is forwarded to my ISP email 
address which fetchmail logs into.  I did the forwarding through my DNS.  How do I set 
this system up to drop the mail that fetchmail retrieves into mailboxes based on 
Domain and User?

Within Exim I’ve set the following in the router part:

my_domains:
    driver = accept
    domains = dsearch;/etc/exim4/domains
    local_parts = lsearch;/etc/exim4/domains/$domain
    transport = my_mailboxes

and the following in the transport part:

  my_mailboxes:
    driver = appendfile
    file = /var/mail/$domain/$local_part
    user = mail

Is the /etc/exim4/domains supposed to be a file or a directory?  
I assume it’s supposed to be a directory with files named after my domains e.g.:
Domain1.com
Domain2.org
Domain3.net
And within each file the name of the email users.

Is this right?  If it is which order should this be within the config file since the 
order in the router I believe is important.

The above I got from the “41.6 Virtual domains” section of the specs.txt file that 
came with the package.

Any help would be appreciated.

Thank you
Reaz



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to