Re: [opensuse] Where to tell MTA to send through port 587?

2007-10-01 Thread James Knott

Johnny Ernst Nielsen wrote:

Good day,

OpenSUSE 10.2

Where do I tell the MTA to use port 587 when sending mail through my 
web hotel?


My ISP has blocked port 25 for sending mail, but my web hotel accepts 
mail sending though port 587.
I can't find anywhere in YaST's MTA module, sysconfig, or anywhere 
else to set the port number.


Best regards :o)

Johnny :o)
  
I set it in the SMTP configuration of an app, such as Seamonkey or 
Thunderbird.  In fact, as I'm currently at work, this message is coming 
to you via port 587 on my home ISP.



--
Use OpenOffice.org http://www.openoffice.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Where to tell MTA to send through port 587?

2007-10-01 Thread Lew Wolfgang
Johnny Ernst Nielsen wrote:
 Where do I tell the MTA to use port 587 when sending mail through my 
 web hotel?

If you're using sendmail you can follow the recipe here:

http://www.sendmail.org/faq/section3.html#3.39

Regards,
Lew Wolfgang

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Where to tell MTA to send through port 587?

2007-10-01 Thread Johnny Ernst Nielsen
Good day Lew,

 Johnny Ernst Nielsen wrote:
  Where do I tell the MTA to use port 587 when sending mail through
  my web hotel?

Mandag 01 oktober 2007 17:58 kvad Lew Wolfgang:
 If you're using sendmail you can follow the recipe here:

 http://www.sendmail.org/faq/section3.html#3.39

According to /var/log/mail I seem to use postfix.

I just use the OpenSUSE 10.2 default MTA and YaST2 - Network 
Services - MTA to try and configure the port.

Best regards :o)

Johnny :o)
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Where to tell MTA to send through port 587?

2007-10-01 Thread Johnny Ernst Nielsen
Good day James,

 Johnny Ernst Nielsen wrote:
  OpenSUSE 10.2
 
  Where do I tell the MTA to use port 587 when sending mail through
  my web hotel?
 
  My ISP has blocked port 25 for sending mail, but my web hotel
  accepts mail sending though port 587.
  I can't find anywhere in YaST's MTA module, sysconfig, or
  anywhere else to set the port number.

Mandag 01 oktober 2007 17:25 kvad James Knott:
 I set it in the SMTP configuration of an app, such as Seamonkey or
 Thunderbird.  In fact, as I'm currently at work, this message is
 coming to you via port 587 on my home ISP.

I'm sorry, I didn't explain well enough.

It is the default MTA in OpenSUSE 10.2, which should be configurable 
through YaST2 - Network Services - MTA.

I have successfully made KMail use port 587, because KMail's 
configuration actually has a place to put in a port number.
But nowhere in YaST's MTA configuration module can I find a place to 
put in a port number.

Any clues?

(I need to send 40 personalised standard letters through a php 
script - I really would like to not have to send them manually one at 
a time.)

Best regards :o)

Johnny :o)
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Where to tell MTA to send through port 587?

2007-10-01 Thread Carlos E. R.
Johnny Ernst Nielsen wrote:

 I just use the OpenSUSE 10.2 default MTA and YaST2 - Network 
 Services - MTA to try and configure the port.

You need to edit manually postfix configuration. Forget yast.

-- 
Cheers,
  Carlos E. R.
  (from RC1)
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Where to tell MTA to send through port 587?

2007-10-01 Thread André Malin
Le October 1, 2007 12:54:16 pm Johnny Ernst Nielsen, vous avez écrit :
 Good day James,

  Johnny Ernst Nielsen wrote:
   OpenSUSE 10.2
  
   Where do I tell the MTA to use port 587 when sending mail through
   my web hotel?
  
   My ISP has blocked port 25 for sending mail, but my web hotel
   accepts mail sending though port 587.
   I can't find anywhere in YaST's MTA module, sysconfig, or
   anywhere else to set the port number.

 Mandag 01 oktober 2007 17:25 kvad James Knott:
  I set it in the SMTP configuration of an app, such as Seamonkey or
  Thunderbird.  In fact, as I'm currently at work, this message is
  coming to you via port 587 on my home ISP.

 I'm sorry, I didn't explain well enough.

 It is the default MTA in OpenSUSE 10.2, which should be configurable
 through YaST2 - Network Services - MTA.

 I have successfully made KMail use port 587, because KMail's
 configuration actually has a place to put in a port number.
 But nowhere in YaST's MTA configuration module can I find a place to
 put in a port number.

 Any clues?

 (I need to send 40 personalised standard letters through a php
 script - I really would like to not have to send them manually one at
 a time.)

 Best regards :o)

 Johnny :o)

Basicaly, you want postfix to listen on port 587 instead of 25, right? If this 
is the case, you need to edit  /etc/postfix/master.cf:
change the ninth line, which read:
smtpinetn   -   n   -   -   smtpd
to:
587 inetn   -   n   -   -   smtpd


Do not forget to restart postfif: rcpostfix restart

André.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Where to tell MTA to send through port 587?

2007-10-01 Thread Sandy Drobic
Johnny Ernst Nielsen wrote:
 Good day Lew,
 
 Johnny Ernst Nielsen wrote:
 Where do I tell the MTA to use port 587 when sending mail through
 my web hotel?
 
 Mandag 01 oktober 2007 17:58 kvad Lew Wolfgang:
 If you're using sendmail you can follow the recipe here:

 http://www.sendmail.org/faq/section3.html#3.39
 
 According to /var/log/mail I seem to use postfix.
 
 I just use the OpenSUSE 10.2 default MTA and YaST2 - Network 
 Services - MTA to try and configure the port.

Sorry, can't help with yast settings, I always configure the Postfix
config files directly.

Here's what I can see:

yast - Network Services - Mail Transfer Agent - Permanent -

Outgoing mail server  [mail.example.com]:587
Authentication: -
  Outgoing Server [mail.example.com]:587
  user name   user
  passwordpassword


That should give you the following output from postconf -n:


relayhost = [mail.example.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
...

/etc/postfix/sasl_passwd:
[mail.example.com]:587  user:password

You must have the cyrus-sasl package installed otherwise Postfix is unable
to find suitable authentication mechanisms.


-- 
Sandy

List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Where to tell MTA to send through port 587?

2007-10-01 Thread Sandy Drobic
André Malin wrote:
 Le October 1, 2007 12:54:16 pm Johnny Ernst Nielsen, vous avez écrit :
 Good day James,

 Johnny Ernst Nielsen wrote:
 OpenSUSE 10.2

 Where do I tell the MTA to use port 587 when sending mail through
  ^^^

 Basicaly, you want postfix to listen on port 587 instead of 25, right? If 
 this 


No, he needs to configure his local Postfix to send mails via the
submission port, because the local ISP has blocked the port 25 for all
residential (dynamic) ip addresses.

So he is forced to configure Postfix like a mail user agent with
authentication.

-- 
Sandy

List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Where to tell MTA to send through port 587? [SOLVED]

2007-10-01 Thread Johnny Ernst Nielsen
Good day Sandy,

Mandag 01 oktober 2007 19:43 kvad Sandy Drobic:
 Johnny Ernst Nielsen wrote:
 Where do I tell the MTA to use port 587 when sending mail
 through my web hotel?

 Sorry, can't help with yast settings, I always configure the
 Postfix config files directly.

 Here's what I can see:

 yast - Network Services - Mail Transfer Agent - Permanent -

 Outgoing mail server  [mail.example.com]:587
 Authentication: -
   Outgoing Server [mail.example.com]:587
   user name   user
   passwordpassword


 That should give you the following output from postconf -n:

 
 relayhost = [mail.example.com]:587
 smtp_sasl_auth_enable = yes
 smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
 smtp_sasl_security_options = noanonymous
 ...

 /etc/postfix/sasl_passwd:
 [mail.example.com]:587user:password

 You must have the cyrus-sasl package installed otherwise Postfix is
 unable to find suitable authentication mechanisms.

thank you very much Sandy. Now it works :o)

Also thanks to James, Lew, Carlos and André for your willingness to 
help.

The solution is not exactly as Sandy outlined, but extremely close 
though.

To others having this problem:
Forget about YaST2's MTA module in OpenSUSE 10.2. It will not accept 
square brackets followed by a colon and some digits.

Solution:

First make absolutely sure you have the correct outgoing server (DOH!)

Then YaST2 - System - Edit /etc/sysconfig - Network - Mail - 
Postfix - POSTFIX_RELAYHOST=[mail.example.com]:587
(Square brackets, colon and port number as shown)

Then edit the first line of /etc/postfix/sasl_passwd to read 
[mail.example.com]:587  user:password
Where user:password is the username and password the server requires 
to authenticate you for sending mail.

If you do a postconf -n after this, everything will show as Sandy 
said, except smtp_sasl_security_options will equal nothing.
But that's all right, because it still works.

I messed about a bit because I had the wrong outgoing server, so if it 
doesn't work for you at this point, try running SuSEconfig -module 
postfix.
If that doesn't work restart postfix with /etc/init.d/postfix restart

Thanks Sandy :o)

Best regards :o)

Johnny :o)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]