13 May 2007

exim on cygwin working

Filed under: cygwin — bookweevil @ 12:00 pm


Have got exim delivering local mail properly, and for non-local mail, talking sensibly to my ISP’s SMTP server.

Exim was very picky about config file permissions, so I had to avoid using Windows Gvim to edit them, as it seems to clobber permissions.

The config file produced by cygwin works well. To have non-local mail sent via your ISP’s smtp server, FAQ no. 0304 has the answer:

Replace the dnslookup router in the default configuration with the following:

driver = manualroute
domains = !+local_domains
transport = remote_smtp
route_list = *

And a rewrite rule takes local addresses on my machine (invalid to the rest of the world) and instead gives my ISP’s SMTP server something it will accept:

begin rewrite
*@localhost F

… the ‘F’ means to rewrite the ‘From’ in the SMTP envelope.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: