Re: MTA help
Eric Walstad wrote:
> Greetings kind debianites,
>
> I'm in the process of learning MTA admin. My head is about to
> explode.
>
> I'm wanting to setup a Debian box that'll suck down pop email from an
> ISP for a few local users and then serve those email up via pop3 or
> imap on the LAN. Following some advice I received on this list, I
> installed fetchmail, courier-imap, courier-pop and exim4. I then
> found that exim4 and courier like different mailbox formats. I
> couldn't find a way to make exim4 work with courier's maildir format,
> so I figured I'd replace exim4 with courier-mta. Now fetchmail and
> courier-mta are fighting (courieresmtp throws an ERROR 513, syntax
> error, when fetchmail tries to forward an email) over addresses like
> "ewalstad@localhost".
>
> So, I'm stuck. I haven't had any luck in figuring out how to fix
> courier and I don't know how to fix exim4.
>
> Any sage bits of advice are appreciated.
>
> Eric.
>
> PS, I hope you mail admins get paid a LOT of money for what you do.
> I'm finding email setup and admin is very complex.
I don't know courier-mta but i would go back to exim4.
Edit the files in /etc/exim4/conf.d
I added this to get exim4 to deliver to maildirs (imap)
LOCAL_DELIVERY=maildir_home
# transports
maildir_home:
debug_print = "T: maildir_home for $local_part@$domain"
driver = appendfile
directory = $home/Maildir
delivery_date_add
envelope_to_add
return_path_add
mode = 0600
mode_fail_narrower = false
maildir_format
Before you test, stop fetchmail and try a testmessage with
exim -v email@domain.be
Blah blah blah
.
The period is to stop composing the mail and send it.
Then run a MUA that supports imap and look if it sees
the maildirs ok.
Or you can debug courier by telneting into it.
This is something i found on the net regarding debugging imap
============= snippet ==========
In the following telnet example, you must provide your own password
where id_password is indicated in the login command.
telnet e-xbelize 143
Trying...
Connected to e-xbelize.austin.ibm.com.
Escape character is '^]'.
* OK e-xbelize.austin.ibm.com IMAP4 server ready
. login id id_password
. OK
. examine /usr/spool/mail/root
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 823888143]
. OK [READ-ONLY] Examine completed
. logout
* BYE Server terminating connection
. OK Logout completed
Connection closed.
============= snippet ==========Regards,Benedict
Reply to:
- References:
- MTA help
- From: Eric Walstad <debian@ericwalstad.com>