Koozali.org: home of the SME Server

Email Bouncing

Scott Ainslie

Email Bouncing
« on: December 31, 2002, 03:27:55 PM »
When I send mail from webmail or a machine on my LAN all is well but messages are bounced when sent from a non LAN ip. I want to enable all AUTHENTICATED users to be able to send AND recieve mail.
How do I do this?

Bill Talcott

Re: Email Bouncing
« Reply #1 on: December 31, 2002, 09:39:02 PM »
By default, SME doesn't support authenticated SMTP, and is a closed relay, so any mail sent via the SME from an external network will be rejected. Use Damien Curtain's authenticated SMTP contrib for 5.5, or Nathan Fowler's pop-before-smtp for earlier versions.

Nathan Fowler

Re: Email Bouncing
« Reply #2 on: December 31, 2002, 10:51:06 PM »
(Pre SME 5.5) pop-before-smtp:  http://www.stickit.nu/pop-before-smtp/
(SME 5.5+) CVM-SASL:  http://www.pagefault.org/code/e-smith.shtml#securemail

Bill, I noticed Damien changed his site, it used to be http://www.pagefault.org/e-smith/contrib/index.html#securemail but that's 404.  I was able to find the new URL, it's http://www.pagefault.org/code/e-smith.shtml#securemail

Scott Ainslie

Re: Email Bouncing
« Reply #3 on: January 02, 2003, 09:48:32 AM »
Some MTA's will relay mail as long as either the to or from address contains a valid user on the system. Can qmail not do this? SME 5.6beta7.

Nate

Re: Email Bouncing
« Reply #4 on: January 02, 2003, 05:41:52 PM »
If the to: is a valid user it will be accepted--that's not really relaying though since it stays on the server.  Using only the from address as verification for doing a relay is not good.  Very easy for a spammer to spoof the from address--most open relay checks will consider this an open relay.  An MTA that is using the from address as verification needs to also use IP verification--some of the ISP's I deal with do this.  The from address must be valid and the source IP address must be from their block of IP's.