Strange Problem & SMTP Auth.

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Phantasmagoria
Posts: 22
Joined: Tue Nov 15, 2005 4:29 am

Strange Problem & SMTP Auth.

Postby Phantasmagoria » Wed Mar 08, 2006 3:06 am

When I first install Scalix, I found that except Scalix and tomcat start, Sendmail also auto start without any problem...but suddenly...now when I restart Scalix, it won't start Sendmail, but it receive mail normally, if I start sendmail, then have problem, all email will go back to /var/spool/mail folder...

Another not related to Scalix issue...because my ISP block 25, so I must use its smtp server to send mail, but it need auth to send it...how to do it in Sendmail? I know Postfix is very easy to do it and gen login/password info, anyone know Sendmail how to to it?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Mar 08, 2006 10:51 am

Please use the search facility on these forums as this has been discussed a number of times.

Cheers

Dave

Mythrol

Postby Mythrol » Fri Mar 10, 2006 3:36 pm

Dave,
Would you be as so kind as to post a link to where this has been discussed? I cant find it and I am having troubles getting sendmail SMTP outgoing authentication to work too. I keep getting 550 suspected spam errors now.. so i goofed something up ;)

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 10, 2006 4:00 pm

Hi. I believe it's better to teach someone to fish rather than giving them a fish (okay, I'm actually a vegetarian and really don't deal with fish at all, but you get the point). Anyway, what search terms did you search on? If you click on Search and enter sendmail authentication and tell it to "search for all terms" you'll see a thread that's titled "sendmail config to use authentication".

Thanks,
Rachel

Mythrol

Postby Mythrol » Fri Mar 10, 2006 4:06 pm

Thanks Rachel,
Funny you used that analogy... Im a fisherman haha..

Anyways, thanks for the info. I was searching for sendmail auth but had search for ANY terms selected and yeah i was getting about 30 pages of results...

Clicking search for ALL terms popped up better information right away...

Thanks muchly!

Mythrol

Postby Mythrol » Fri Mar 10, 2006 4:16 pm

Actually I am not sure thats exactly what I want to do. Im not relaying through a smart host. I host my own users. So, I am wanting my users to authenticate with my server before they can send mail through it.

Therefore, if they go into their Outlook or OE setting and enable outgoing authentication is the only way it would allow them to send mail.

I think this would be a setting in the actual sendmail configuration file... I remember with postfix it was a matter of adding a simple line to the postfix configuration file that made all users authenticate with the mailserver before they could send mail. Any information on this anywhere that you are aware of?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sun Mar 12, 2006 11:11 am

Normally, Scalix has it's own SMTP daemon listening on the standard SMTP port.

What you need to do to enable authentication is change your /var/opt/scalix/sys/smtpd.cfg file and restart the Scalix SMTP relay.

In this file, you will find a line reading

Code: Select all

RELAY accept .domain.com


Change this to read

Code: Select all

RELAY accept host.domain.com


where host.domain.com is your fully qualified server hostname.

In addition, before this line add another one reading

Code: Select all

AUTO_SUCCESS accept ALL


This should only accept email from SMTP clients after authentication.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

KiwiStag
Posts: 42
Joined: Thu Mar 23, 2006 5:48 am
Location: New Zealand

AUTO_SUCCESS = no

Postby KiwiStag » Thu Mar 23, 2006 5:51 am

Hey florian
The correct term is :
AUTH_SUCCESS accept ALL

As listed at the top of the script.

I found out after it got cranky on me.
It was funny to see Outlook Express be blocked without SMTP auth on by saying I was spam.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Thu Mar 23, 2006 5:56 am

;-) well, you got me. (maybe because i'm german and we're said to _love_ the AUTObahn or the AUTOmobile....) .. Sorry for that!

Yeah, this surprises me at times, but I think according to RFC we're kinda bound to return a 550 SMTP error in this and that's the official wording for it. might be wrong.

Good that it works for you now,
Florian.
Florian von Kurnatowski, Die Harder!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 15 guests