On 22 June 2010 17:16, Chris Rowson <[email protected]> wrote: >>>>> It can easily (you answer a few wizard questions) send mail only >>>> I'll give it a go :-) >>> Thanks, that worked brilliantly. The answer to the wizard question to >>> set the server up not to listen to SMTP requests from the Internet was >>> 'internet site; mail is sent and received directly using SMTP' then >>> set the server to listen on localhost for SMTP. >> >> Actually that will have set it up to accept mail from the internet, >> but only allow sending mail from localhost. >> >> If you really don't want the box to receive any mail then you want one >> of the smarthost options iirc, that way your box sends mail but it >> expects all replies to go somewhere else (note that you really should >> have a legitimate reply address) >> > > Are you sure? I just did a quick check and happened across this guide > (that I didn't notice before) > http://library.linode.com/email/exim/send-only-mta-ubuntu-10.04-lucid > > It also seems to indicate selecting the 'internet site' option even > when using the server to send mail only.
Hmm, maybe you are correct The options are: -internet site; mail is sent and received directly using SMTP -mail sent by smarthost; received via SMTP or fetchmail -mail sent by smarthost; no local mail -local delivery only; not on a network -no configuration at this time The first is a normal server - mail sent and received directly (of course you need MX records set up at your domain to receive mail, but telnet to the smtp port and you could try writing a mail from a remote box addressed to root) The second and third set an upstream server to use for sending all mail - you often may need this if your ISP does not allow you to send email directly (you often set it to mail.ISP.xxx) The fourth means it runs locally only and you cannot send or receive mail outside of that box I guess the first is the only real option for sending only. If that works for you then that should be fine, though make sure you set a return address so you can actually test bounces etc. Without an MX record nobody will be able to send mail to your box anyway Anton -- Anton Piatek email: [email protected] blog/photos: http://www.strangeparty.com pgp: [74B1FA37] (http://www.strangeparty.com/anton.asc) fingerprint: 7401 96D3 E037 2F8F 5965 A358 4046 71FD 74B1 FA37 No trees were destroyed in the sending of this message, however, a significant number of electrons were terribly inconvenienced. -- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
