[Pkg-exim4-users] two elementary questions

David Liontooth liontooth@cogweb.net
Sun, 15 May 2005 22:32:06 -0700


Exim4 appears to be designed for system supervisors responsible
for a whole network. I want mail on a single machine, and cron working,
and the exim4 configuration through debconfig just isn't catering
to this.

On the other hand, I have an old machine running exim3 and looked
at that configuration; within ten minutes I had everything working
on my new one: local mail, external mail out, mail from cron.

I'd still appreciate help from anyone to get this working on exim4,
but at least the functionality I wanted is now in place. 

I guess I should add a plea to make this easier to configure for naive
users on a single box; I wasted hours and got nowhere.

Dave

David Liontooth wrote:

>A quick followup: I found in an old exim3 configuration that local
>delivery could be configured using
>
>    dc_local_domains=localhost:chianti
>
>This had an effect in the right direction, but not quite there:
>
>2005-05-15 21:25:51 1DXXA5-0003eN-Ac <= tna@chianti U=tna P=local S=799
>2005-05-15 21:25:51 1DXXA5-0003eN-Ac == tna@chianti R=hub_user defer
>(-17): error in redirect data: domain missing or malformed in "tna@"
>
>How do I tell exim4 that tna@chianti is a perfectly good address, just
>give the mail to user tna?
>
>Dave
>
>
>
>David Liontooth wrote:
>
>  
>
>>Greetings,
>>
>>On a Debian sid box, I'm trying to achieve the following configuration:
>>
>>* mail can be sent from one user to another on the same box
>>* cron can send mail to the respective owner of cronjobs
>>* mail can be sent out
>>* mail cannot be received from the outside
>>
>>Simple, right?  Especially with exim4 supporting a zillion options.
>>
>>Here's what works: mail can be sent out.  How do I set up the first two?
>>
>>When I try to mail to a local user, I get "R=dnslookup T=remote_smtp
>>defer (111)"
>>instead of something like "R=local_user T=maildir_home".  In
>>/etc/exim4/update-exim4.conf.conf
>>I have "dc_localdelivery=maildir_home", but it's obviously not
>>understood -- wrong syntax.
>>
>>When I run a cronjob, ps aux shows "/usr/sbin/sendmail -i -FCronDaemon
>>-oem tna",
>>where tna is the owner of the job, but nothing is received -- exim4
>>tries to send the e-mail to
>>the remote address, which doesn't exist (tna@mymachine.subnet.edu or
>>tna@subnet.edu).
>>How do you set this up so that mail to the outside goes to the smtp
>>server, but mail within
>>the machine doesn't try to go outside?
>>
>>dc_eximconfig_configtype='smarthost'
>>dc_other_hostnames=''
>>dc_local_interfaces='127.0.0.1'
>>dc_readhost='mymachine.subnet.edu'
>>dc_relay_domains=''
>>dc_minimaldns='false'
>>dc_relay_nets=''
>>dc_smarthost='mail.subnet.edu'
>>CFILEMODE='644'
>>dc_use_split_config='false'
>>dc_hide_mailname='true'
>>dc_mailname_in_oh='true'
>>dc_localdelivery=maildir_home
>>
>>Or more simply: what could be preventing cronjobs from delivering
>>messages? In /etc/aliases I have
>>this:
>>
>># /etc/aliases
>>mailer-daemon: postmaster
>>postmaster: root
>>nobody: root
>>hostmaster: root
>>usenet: root
>>news: root
>>webmaster: root
>>www: root
>>ftp: root
>>abuse: root
>>noc: root
>>security: root
>>root: tna
>>
>>But that shouldn't affect mail from cronjobs, right? Those messages
>>should just go to their respective owners.
>>
>>Dave
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>_______________________________________________
>>Pkg-exim4-users mailing list
>>Pkg-exim4-users@lists.alioth.debian.org
>>http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
>> 
>>
>>    
>>
>
>
>_______________________________________________
>Pkg-exim4-users mailing list
>Pkg-exim4-users@lists.alioth.debian.org
>http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
>  
>