---
title: "Problem med postfix"
type: "forum-thread"
url: "https://www.webforum.nu/amne/linux-bsd/175583-problem-med-postfix"
topic: "Linux & BSD"
topic_url: "https://www.webforum.nu/amne/linux-bsd"
author: "Guldstrand"
published: "2008-11-29T09:48:25.000Z"
updated: "2008-12-07T19:22:28.000Z"
replies: 6
views: 633
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/linux-bsd/175583-problem-med-postfix"
---

# Problem med postfix

## #1 — Guldstrand, 2008-11-29T09:48Z

Jag har precis installerat postfix (mailserver) på min server som kör mandriva linux.
Dock så förstår jag inte riktigt hur jag konfigurerar postfix.

Får följande meddelande när jag startar postfix:

> Startar postfix: /usr/sbin/postconf: warning: My hostname localhost is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
> postalias: warning: My hostname localhost is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
> /usr/sbin/postconf: warning: My hostname localhost is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf

I **main.cf** har jag:

> \# User configurable parameters
> 
> inet_interfaces = localhost
> mynetworks_style = host
> delay_warning_time = 4h
> smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrakelinux)
> unknown_local_recipient_reject_code = 450
> smtp-filter_destination_concurrency_limit = 2
> lmtp-filter_destination_concurrency_limit = 2
> smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2

Är tacksam för all hjälp.

Permalänk: https://www.webforum.nu/p/175583

## #2 — Guldstrand, 2008-11-29T14:10Z

Ingen som vet hur man konfigurerar postfix att arbeta mot telias SMTP server?

Permalänk: https://www.webforum.nu/p/2157747

## #3 — colione, 2008-11-29T23:24Z

Jag tycker att felmedellandet är ganska sjlälvförklarande, du måste speca ett fully qualified name som hostname. \[1\]

För att kunna hjälpa dig att konfa postfix för telia måste du ge oss mer information (vilken smtp bl.a).

Jag förutsätter också att du har läst postfix & postconf manual-sidorna? \[2\]

\[1\] <http://en.wikipedia.org/wiki/FQDN>
\[2\] bl.a: man postfix, man 1 postconf och man 5 postconf

Permalänk: https://www.webforum.nu/p/2157805

## #4 — Guldstrand, 2008-12-03T21:02Z

Givetvis har jag läst manualer kring detta, men har tyvärr inte förstått dom riktigt.

Just nu har jag detta:

> \# User configurable parameters
> 
> myhostname = localhost
> mydomain = mindoman.se
> myorigin = $mydomain 
> 
> relayhost = \[smtprelay1.telia.com\]
> 
> inet_interfaces = 192.168.1.70
> mynetworks_style = host 
> mynetworks = 127.0.0.0/8 168.100.189.2/32
> delay_warning_time = 4h
> smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrakelinux)
> unknown_local_recipient_reject_code = 450
> smtp-filter_destination_concurrency_limit = 2
> lmtp-filter_destination_concurrency_limit = 2
> smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2

..det verkar fungera IBLAND.   :l

Permalänk: https://www.webforum.nu/p/2158284

## #5 — nohope, 2008-12-04T05:27Z

Enligt felmeddelande är det hostname som måste vara FQDN vilket det inte är i ditt fall.

\# The myhostname parameter specifies the internet hostname of this
\# mail system. The default is to use the fully-qualified domain name
\# from gethostname(). $myhostname is used as a default value for many
\# other configuration parameters.

\# The mydomain parameter specifies the local internet domain name.
\# The default is to use $myhostname minus the first component.
\# $mydomain is used as a default value for many other configuration
\# parameters.

Permalänk: https://www.webforum.nu/p/2158300

## #6 — Guldstrand, 2008-12-04T17:47Z

Nu har jag följande:

> \# User configurable parameters
> 
> myhostname = mindoman.se
> mydomain = localhost
> myorigin = $mydomain 
> 
> relayhost = \[smtprelay1.telia.com\]
> 
> inet_interfaces = 192.168.1.70
> mynetworks_style = host 
> mynetworks = 127.0.0.0/8 168.100.189.2/32
> delay_warning_time = 4h
> smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrakelinux)
> unknown_local_recipient_reject_code = 450
> smtp-filter_destination_concurrency_limit = 2
> lmtp-filter_destination_concurrency_limit = 2
> smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2

..ser det "rätt" ut?   :r

Permalänk: https://www.webforum.nu/p/2158352

## #7 — Guldstrand, 2008-12-07T19:22Z

Är oerhört tacksam för all hjälp jag kan få med detta.
Som det är nu, så verkar endast vissa mail komma fram, inte alla. :(

Permalänk: https://www.webforum.nu/p/2158706

---

Tråden på webben: https://www.webforum.nu/amne/linux-bsd/175583-problem-med-postfix
