

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] smart-host using ...| From | Sent On | Attachments |
|---|---|---|
| Michelle Konzack | Apr 19, 2007 9:42 am | |
| Gordon Messmer | Apr 19, 2007 11:03 am | |
| Michelle Konzack | Apr 20, 2007 7:49 am | |
| Gordon Messmer | Apr 20, 2007 10:37 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [courier-users] smart-host using courier-mta | Actions... |
|---|---|---|
| From: | Gordon Messmer (yiny...@eburg.com) | |
| Date: | Apr 19, 2007 11:03:23 am | |
| List: | net.sourceforge.lists.courier-users | |
Michelle Konzack wrote:
1) "courier" is accepting all messages from the local network and spool it for 7 days... After this time a messages is sent to the sender.
2) If I connect my Laptop to the local network, the "courier" should flush its queue to the "courier-mta" on the laptop which should be configured as smarthost for the "courier" in the local network. Also it receive automaticaly messages from my ISP's MX.
Clarify the "courier" server's network connectivity, please. You want it to send mail through the laptop, but receive mail directly from your ISP?
Sending mail through the laptop should be simple. Just create /etc/courier/esmtproutes, and put a default route to the laptop's IP. You'll need to make sure that the laptop gets the same IP each time it's connected, so configure it statically, or configure your DHCP service to give it a specific IP address.
/etc/courier/esmtproutes: :[192.168.1.5]
See the "esmtproutes" section of the courier(8) man page.
3) Fetching the message from ISP accounts is no problem since it is done "per user" and will be pulled using a script directly into the users Maildir on the "courier" server.
4) If I come back from the "Internet Cafe", the Latops "courier-mta" should flush its queue to the local "courier"...
That's harder. Clarify how you want to have this happen. The "courier" server can't give all of its messages to the laptop if the laptop is also configured to give them all to the "courier" server.
Maybe I will eliminate the script used in (3) and push the messages from fetchmail directly into the Laptops "courier-mta"
So you're putting messages into Maildirs, now, but you want them on the laptop? Wouldn't it be easier to just put them in the queue on the "courier" server, and let it push them to the laptop?
The number (1) is working properly.
So now I have some problems:
A.a) I have problems on my laptop with the "courier-mta" accepting messages as smarthost from "courier" (local net). It should ACCEPT ALL messages and queue them for 10 days.
OK, so configure the "courier" server as a RELAYCLIENT. See "makesmtpaccess".
A.b) I have (on my laptop) setup /etc/courier/esmtpauthclient with mx.freenet.de:587 <user_name> <passwd> But it seems not to work, even if I send a messages local from mutt. (currently I am using again "ssmtp")
I'm not sure if port specifications are valid there. Maybe someone else does.
What *does* seem to happen on outbound deliveries?
B) How to configure my local "courier" that it use my laptop "courier-mta" exclusivly for ALL outgoing messages except my own domain (which is send directly over GSM/EDGE) as smarthost?
Use "esmtproutes". You'll need a route for your own domain, and then one for the default.
C) What must I use for a string in my fetchmailrc that it use the "courier-mta" instead of "procmail"? The current string is: mda "/usr/bin/procmail -d %T"
Don't use the mda directive, or use "sendmail" as the mda, so that messages go into the mail queue.







