exim4 : how to send email to local domain + address ?
Bruno Costacurta
pubmb.bco at pt.lu
Sun Jun 29 13:43:09 UTC 2008
On Sunday 29 June 2008 12:36:29 David Fletcher wrote:
> On Sunday 29 Jun 2008, Bruno Costacurta wrote:
> > Hello,
> > how to send email to a local mailbox ?
> >
> > My config in file email-addresses is :
> >
> > bruno: myemail at pt.lu
> > root: myemail at pt.lu
> >
> > which works fine to email to external email address
> > but not for local, ie. from bruno to root as I received
> > ----- The following addresses had permanent fatal errors -----
> > <root at pc34ghz.org>
> > (reason: 550 Host unknown)
> >
> > I suppose I should indicate pc34ghz.org as local domaon not to be send to
> > my ISP smtp server (which is the reason of errror as my local domain is
> > of course not known) but how ?
>
> I think it might be the same problem as I had when I was just using a
> single machine. Installing postfix, telling it to set up as a single
> isolated machine, or whatever the option is, allowed me to get kmail to
> deliver mail locally on the same machine.
>
> The reason I was doing this, was to pass on email to my son and wife, which
> all arrives from the same mail box at One and One. I've now got a little
> mini-ITX machine as a server which sorts everything into individual mail
> boxes and runs dovecot to allow collection.
>
> AFAICT, kubuntu does not install any MTA by default. Of course you then
> have your choice, but personally I'd recommend using postfix. Even I
> managed to configure it on my server as a relay to an authenticated SMTP
> service, so it must be reasonably easy :-)
>
> Dave
>
>
>
> --
> Registered Linux user number 393408
>
> I use and recommend the email service at 1 & 1
> For domain registration, email and web hosting please visit:
> http://oneandone.co.uk/xml/init?k_id=6389763
Thanks for follow up.
I installed Postfix and indeed works for localdomain delivery, but now no more
for external. So:
(1) 'mail -s 'test' root at localhost.localdomain' = OK
(2) 'mail -s 'test' __external__email at gmail.com' = Not ok...
in (2) I need to rewrite the domain to be accepted by my ISP smtp server
someting like 'bruno at localhost.localdomain' replaced by 'xxx at my_isp.com'
In exim4 I have email-addresse config file
bruno=xxx at my_isp.com
how to do with Postfix ?
Thanks.
Bye,
Bruno
Who do you accept both local / external ?
More information about the kubuntu-users
mailing list