[opensuse] configuring postscript on 11.1
Hello :-) I always find Postscript config confusing and this don't change with openSUSE versions :-(. Time ago I went to the conclusion than it was best to remove (comment out) all the suse options (at the end of main.cf) and just adding "mydomain" and "myhostname". However I nerver feel confident with this. As I'm on the way of configuring a new server, I would like to be more suse-compliant :-)) The facts: Right now I have launched postfix (rcpostfix enabled in YaST and running), but not touched any other postfix file. I can see than I can send mails (with mailx) from the server to my home, but no mail sent from home reach the server (and no error is shown in /var/log/mail nor mail.err). YaST is of no use. In fact after some tries, I can no more send mail!! YaST MTA config only try to make sendmail work (?) and fetchmail fetch mail from a server what I don't want (I don't want to fetch external server for now) any help? I need to make clear what I have to do to: * receive mail to my server (in the form jdd@kim2.dodin.org) from anywhere (may be opening a port in the firewall, but which one?) * send mail from local accounts with local agent (mail name@host...) thanks jdd -- http://www.dodin.net http://valerie.dodin.org http://news.opensuse.org/2009/04/13/people-of-opensuse-jean-daniel-dodin/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd wrote:
Hello :-)
I always find Postscript config confusing and this don't change with openSUSE versions :-(.
Time ago I went to the conclusion than it was best to remove (comment out) all the suse options (at the end of main.cf) and just adding "mydomain" and "myhostname".
Umm, I would have left those, they're actually a pretty good default config. Never mind, in order to make your postfix receive mail from other hosts, you need to amend "inet_interfaces" to include your hostname or ip-address. Check with netstat -ltn that it is indeed listening on port 25. Then try connecting to it with 'telnet <host> 25'. /Per -- Per Jessen, Zürich (16.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-07-18 at 18:18 +0200, jdd wrote:
Hello :-)
I always find Postscript config confusing and this don't change with openSUSE versions :-(.
Time ago I went to the conclusion than it was best to remove (comment out) all the suse options (at the end of main.cf) and just adding "mydomain" and "myhostname".
postscript? main.cf?
However I nerver feel confident with this. As I'm on the way of configuring a new server, I would like to be more suse-compliant :-))
The facts:
Right now I have launched postfix (rcpostfix enabled in YaST and running), but not touched any other postfix file.
postfix! Not postcript. Ah!
I can see than I can send mails (with mailx) from the server to my home, but no mail sent from home reach the server (and no error is shown in /var/log/mail nor mail.err).
YaST is of no use. In fact after some tries, I can no more send mail!! YaST MTA config only try to make sendmail work (?) and fetchmail fetch mail from a server what I don't want (I don't want to fetch external server for now)
Post your "/etc/sysconfig/mail" file.
any help?
I need to make clear what I have to do to:
* receive mail to my server (in the form jdd@kim2.dodin.org) from anywhere (may be opening a port in the firewall, but which one?)
Imposible. cer@nimrodel:~> host -t MX kim2.dodin.org kim2.dodin.org has no MX record You need an MX record first... - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkpiDlkACgkQtTMYHG2NR9UGHQCZAWki31imFnqLSiP4HBpJnrpi x3QAnjXQgG0r3ueBuKklJ6OViyzKJvRC =sbrj -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
* receive mail to my server (in the form jdd@kim2.dodin.org) from anywhere (may be opening a port in the firewall, but which one?)
Imposible.
cer@nimrodel:~> host -t MX kim2.dodin.org kim2.dodin.org has no MX record
You need an MX record first...
When a domain name has no MX listed, the A record will be tried next. If that doesn't exist, and the name is a subdomain, the main domain will be tried. -- Per Jessen, Zürich (15.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-07-18 at 20:33 +0200, Per Jessen wrote:
Carlos E. R. wrote:
* receive mail to my server (in the form jdd@kim2.dodin.org) from anywhere (may be opening a port in the firewall, but which one?)
Imposible.
cer@nimrodel:~> host -t MX kim2.dodin.org kim2.dodin.org has no MX record
You need an MX record first...
When a domain name has no MX listed, the A record will be tried next. If that doesn't exist, and the name is a subdomain, the main domain will be tried.
Are you sure? I think I remember sendmail failing because of that, with a message like host not found. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkpiGawACgkQtTMYHG2NR9VuOACfdeavcUdJBuHJZ1cc3rVLADtd EcYAn2GR/MPWssW6sfKA9kUZH3rxOvCQ =MgJu -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
On Saturday, 2009-07-18 at 20:33 +0200, Per Jessen wrote:
Carlos E. R. wrote:
* receive mail to my server (in the form jdd@kim2.dodin.org) from anywhere (may be opening a port in the firewall, but which one?)
Imposible.
cer@nimrodel:~> host -t MX kim2.dodin.org kim2.dodin.org has no MX record
You need an MX record first...
When a domain name has no MX listed, the A record will be tried next. If that doesn't exist, and the name is a subdomain, the main domain will be tried.
Are you sure? I think I remember sendmail failing because of that, with a message like host not found.
A domain does definitely not _need_ an MX record - i.e. when your mailserver tries to send an email to 'alfons.aaberg@jesssen.ch', it will first look for MX records for 'jessen.ch', and if it doesn't find any, it will try to deliver to the A record address returned. I'm pretty certain that trying to send to a subdomain will, when unsuccessful, default to the next upper subdomain until the main domain is reached. It doesn't necessarily mean the mailserver for 'jessen.ch' will accept mails for e.g. 'someone@a.b.c.d.e.f.g.h.jessen.ch'. /Per -- Per Jessen, Zürich (15.1°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Per Jessen wrote:
is reached. It doesn't necessarily mean the mailserver for 'jessen.ch' will accept mails for e.g. 'someone@a.b.c.d.e.f.g.h.jessen.ch'.
Forgot to say - "a.b.c.d.e.f.g.h.jessen.ch" still needs an A record, of course. /Per -- Per Jessen, Zürich (15.2°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
jdd
-
Per Jessen