[exim] deliver mail bot smtp/pop

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Odhiambo G. Washington
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] deliver mail bot smtp/pop
* Wycliffe Bahati <wbahati@???> [20050404 12:20]: wrote:
> Hi everybody


Hi Bahati,

Never again hijack a thread to start your own ;-)

>     I have a setup where I relay mail for a domain xyz.com. I would like to 
> route mail that is going to xyz.com to its mailserver and also maintain a copy of
> all this mail in a mailbox.


In system filter:

if $h_to: contains "xyz.com" then
unseen deliver localcopy@your_mail_server.name
endif

That will keep a local copy but the mail will continue to be
processed. There are other ways of course, but this one is simpler.

> More so I would like a scenario where If for some reason
> I cannot reach the smtp server I reroute this mail to a mail box?.


So that what happens???

It seems you actually need to do something I call DomainPOP mail
collection: Simply use an alias to deliver all mail to this domain
into a single mailbox and let them collect it via your POP3 daemon.
In the same process, drop a copy into a 'localcopy' mailbox:

If you use domain aliases (see archives for examples), you simply
use something like this:

*@domain.tld:    localcopy, their_mailbox


such that two copies are delivered. Give them access to their_mailbox
and do whatever you want to do with the copies dropped into 'localcopy'
mailbox, as long as it's legal ;-)

That is based on K.I.S.S principle.



        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                    . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash _at_ wananchi _ dot _ com        . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121            . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post