Re: [gentoo-user] mail server
Mike Kazantsev a écrit : On Mon, 26 Jan 2009 19:09:03 +0100 laurent wrote: dig -x myip answer back my domain name. I don't know if I am being behinde a firewall. It's a dedicated server on a domain own by my host service. That's perfectly normal and fine for hosting, I was referring to connection at home, of course. I don't get e-mail when replyed from external mailbox. Probably means there's something wrong with your configuration, or (considering previous post) just wrong message headers. I sent mails using mutt. the from e-mail is like: laur...@host.domain.com Because laur...@domain.com would refer to me on any dedicated server from that domain. Do you think it can come from that configuration ? Thank you Mike ;) L
Re: [gentoo-user] mail server
On Mon, 26 Jan 2009 19:09:03 +0100 laurent wrote: > dig -x myip > > answer back my domain name. I don't know if I am being behinde a > firewall. It's a dedicated server on a domain own by my host service. That's perfectly normal and fine for hosting, I was referring to connection at home, of course. > I don't get e-mail when replyed from external mailbox. Probably means there's something wrong with your configuration, or (considering previous post) just wrong message headers. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] mail server
Mike Kazantsev a écrit : On Sun, 25 Jan 2009 18:11:04 +0100 laurent wrote: Now I see more what ssmtp and msmtp are about so I have some questions. Is it possible to use an existing smtp port with them and be able to change the sender e-mail from my apache application ? Like it's transparently sending e-mail from my existing smtp account with my authentification but with someone else e-mail. Yes, basically you can just invoke 'sendmail b...@domain.etc' and type message with all the headers you need - 'to:', 'from:', 'subject:' etc to stdin. Of course, every language has some wrappers to simplify that process. I installed and configured postfix. It sends mail localy and on external mailbox. !! I'm glad !! dig -x myip answer back my domain name. I don't know if I am being behinde a firewall. It's a dedicated server on a domain own by my host service. I don't get e-mail when replyed from external mailbox. security-wise: Is there any stuff to do, not by default, to secure my smtp server to not be used from outside ? For MTA: it involves installing a DNS server ? Not really. Your IP belongs to an ISP, and it's DNS server has the authority for that address. So, if anyone (e.g. mail server) is asking any (other) DNS server "who's that guy?", that DNS will go to your provider's DNS and ask "so, it's one of yours, who is it?" and it'll be in position to either return some valid name (that's rarely free), delegate the task to some other DNS (mostly the case with IP ranges, bought by some organizations) or just shrug, which is often the case with common users. So the answer is likely - "it won't matter, you won't get a name", but that's entirely up to your ISP. That said, there are always possibilities to use the services of (or set up) some relay server or buy dedicated IP and tunnel traffic through it, but that's quite beyond the scope of question, I believe. Tunneling traffic, I'll keep that for other spare time in the year :) L
Re: [gentoo-user] mail server
On Sun, 25 Jan 2009 18:11:04 +0100 laurent wrote: > Now I see more what ssmtp and msmtp are about so I have some questions. > Is it possible to use an existing smtp port with them and be able to > change the sender e-mail from my apache application ? > > Like it's transparently sending e-mail from my existing smtp account > with my authentification but with someone else e-mail. Yes, basically you can just invoke 'sendmail b...@domain.etc' and type message with all the headers you need - 'to:', 'from:', 'subject:' etc to stdin. Of course, every language has some wrappers to simplify that process. > For MTA: it involves installing a DNS server ? Not really. Your IP belongs to an ISP, and it's DNS server has the authority for that address. So, if anyone (e.g. mail server) is asking any (other) DNS server "who's that guy?", that DNS will go to your provider's DNS and ask "so, it's one of yours, who is it?" and it'll be in position to either return some valid name (that's rarely free), delegate the task to some other DNS (mostly the case with IP ranges, bought by some organizations) or just shrug, which is often the case with common users. So the answer is likely - "it won't matter, you won't get a name", but that's entirely up to your ISP. That said, there are always possibilities to use the services of (or set up) some relay server or buy dedicated IP and tunnel traffic through it, but that's quite beyond the scope of question, I believe. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] mail server
Now I see more what ssmtp and msmtp are about so I have some questions. Is it possible to use an existing smtp port with them and be able to change the sender e-mail from my apache application ? Like it's transparently sending e-mail from my existing smtp account with my authentification but with someone else e-mail. For MTA: it involves installing a DNS server ? thx L Mike Kazantsev a écrit : On Sat, 24 Jan 2009 19:54:05 +0100 laurent wrote: I first just need my apache to send mails via mod_php and mod_neko. I'd also suggest using lite smtp client, like msmtp, which I find a bit more feature-packed and stable than ssmtp, while being just as easy to set up. And if you're still going to choose full-fledged MTA, keep in mind that you'll need a non-firewalled connection (at least to some ports) and reverse DNS record - so that if you type "host " (or "dig -x ") you'll get the correct domain name, otherwise nearly every mail service will consider you to be anonymous spammer and won't deliver any mail from your MTA.
Re: [gentoo-user] mail server
I will keep that in mind, the full MTA will wait a little a bit then. Thank you for the smtp servers ;) L Mike Kazantsev a écrit : On Sat, 24 Jan 2009 19:54:05 +0100 laurent wrote: I first just need my apache to send mails via mod_php and mod_neko. I'd also suggest using lite smtp client, like msmtp, which I find a bit more feature-packed and stable than ssmtp, while being just as easy to set up. And if you're still going to choose full-fledged MTA, keep in mind that you'll need a non-firewalled connection (at least to some ports) and reverse DNS record - so that if you type "host " (or "dig -x ") you'll get the correct domain name, otherwise nearly every mail service will consider you to be anonymous spammer and won't deliver any mail from your MTA.
Re: [gentoo-user] mail server
On Sat, 24 Jan 2009 19:54:05 +0100 laurent wrote: > I first just need my apache to send mails via mod_php and mod_neko. I'd also suggest using lite smtp client, like msmtp, which I find a bit more feature-packed and stable than ssmtp, while being just as easy to set up. And if you're still going to choose full-fledged MTA, keep in mind that you'll need a non-firewalled connection (at least to some ports) and reverse DNS record - so that if you type "host " (or "dig -x ") you'll get the correct domain name, otherwise nearly every mail service will consider you to be anonymous spammer and won't deliver any mail from your MTA. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] mail server
On 24 Jan 2009, at 18:54, laurent wrote: ... I first just need my apache to send mails via mod_php and mod_neko. If it's just for _outgoing_ email you'll probably get away with ssmtp. It's very easy to configure - look at /etc/ssmtp Stroller.
Re: [gentoo-user] Mail server Active Directory authentication
Kacper Goc wrote: Hello, I'm looking for a solution to integrate mail server like qmail or postfix with AD for user authentication. I tried google but didn't found anything about it. Please help. Postfix -> LDAP -> AD That would be the setup I'd use. You'd need a how-to for exporting AD to LDAP and then one for Postfix accounts in LDAP. Both of those should exist in many different forms though it's possible that a complete AD/LDAP/Postfix how-to might exist. Try http://gentoo-wiki.org/ for Gentoo specific how-tos. kashani -- [EMAIL PROTECTED] mailing list