On Wed, April 27, 2005 12:58, Declan Moriarty said:
> Hi folks and prepare to suffer. Dec and email again :-(.
>
> I'm back in lfs-3.3 and have currently tried rejigging my mail setup
> of Postfix, procmail, fetchmail, mutt, spamd/spamc to work from my new
> isp. I cannot send, apparently because esat bt (a.k.a. iol.ie, a.k.a
> bt ireland) are rejecting an (unknown) server. This is the kernel of
> it.
[...]

Look at the transport and sender_canonical postfix man pages.

I send mail whereever it is accepted, the others I relay via my ISP. 
Hopefully you can work out what is going on in the following.

# From /etc/postfix/main.cf
transport_maps = hash:/etc/postfix/transport
relay_domains = $transport_maps

$ cat /etc/postfix/transport
aol.com         smtp:relay.plus.net
sancharnet.in   smtp:relay.plus.net
cox.net         smtp:relay.plus.net
bigfoot.com     smtp:relay.plus.net
freebsd.org     smtp:relay.plus.net
openldap.org    smtp:relay.plus.net
eth.net         smtp:relay.plus.net

$ cat /etc/postfix/sender_canonical
@radiant.sequestor.lan  @sequeira.plus.com

I think you need to run postmap to create the db files used by postfix.

My internal domain is sequestor.lan, the machine hostname is radiant,
as you have probably guessed.  My ISP is plus.net (the plus.com bit)
imn sender_canonical.

HTH.
-- 
Tony

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to