LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-02-2009, 11:26 AM   #1
pioja
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Unknown mail transport error


Hellow there!
I have a mail server with Red Hat 5.0. Our mail server was working with no problems, but now I have a fatal error log:

Jun 2 08:28:05 smtpin01 postfix/smtp[30159]: fatal: valid hostname or network address required in server description: mail.xxxx.n
et

I haven`t find any forum with a valid answer.

POSTFIX -V:

postfix: dict_eval: const mail
postfix: dict_eval: const ipv4
postfix: name_mask: ipv4
postfix: dict_eval: const mail.uio.xxxxx.com.ec
postfix: dict_eval: const uio.xxxxx.com.ec
postfix: dict_eval: const Postfix
postfix: dict_eval: const postfix
postfix: dict_eval: const postfix
postfix: dict_eval: const postdrop
postfix: dict_eval: expand $myhostname, locahost.$mydomain, localhost -> mail.uio.xxxxx.com.ec, locahost.uio.xxxxx.com.ec, localhost
postfix: dict_eval: expand $myhostname -> mail.uio.xxxxx.com.ec
postfix: dict_eval: const
postfix: dict_eval: const /usr/libexec/postfix
postfix: dict_eval: const /var/lib/postfix
postfix: dict_eval: const /usr/sbin
postfix: dict_eval: const /var/spool/postfix
postfix: dict_eval: const pid
postfix: dict_eval: const all
postfix: dict_eval: const
postfix: dict_eval: const double-bounce
postfix: dict_eval: const nobody
postfix: dict_eval: const hash:/etc/postfix/aliases
postfix: dict_eval: const 20080216
postfix: dict_eval: const 2.5.1
postfix: dict_eval: const hash
postfix: dict_eval: const deferred, defer
postfix: dict_eval: const
postfix: dict_eval: expand $mydestination -> mail.uio.xxxxx.com.ec, locahost.uio.xxxxx.com.ec, localhost
postfix: dict_eval: expand $relay_domains -> mail.uio.xxxxx.com.ec, locahost.uio.xxxxx.com.ec, localhost
postfix: dict_eval: const TZ MAIL_CONFIG LANG
postfix: dict_eval: const MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C
postfix: dict_eval: const subnet
postfix: dict_eval: const
postfix: dict_eval: const +=
postfix: dict_eval: const -=+
postfix: dict_eval: const debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,rel ay_domains,smtpd_access_maps
postfix: dict_eval: const
postfix: dict_eval: const bounce
postfix: dict_eval: const cleanup
postfix: dict_eval: const defer
postfix: dict_eval: const pickup
postfix: dict_eval: const qmgr
postfix: dict_eval: const rewrite
postfix: dict_eval: const showq
postfix: dict_eval: const error
postfix: dict_eval: const flush
postfix: dict_eval: const verify
postfix: dict_eval: const trace
postfix: dict_eval: const
postfix: dict_eval: const 20000000
postfix: dict_eval: const 10
postfix: dict_eval: const 100s
postfix: dict_eval: const 100s
postfix: dict_eval: const 100s
postfix: dict_eval: const 100s
postfix: dict_eval: const 3600s
postfix: dict_eval: const 3600s
postfix: dict_eval: const 5s
postfix: dict_eval: const 5s
postfix: dict_eval: const 1000s
postfix: dict_eval: const 1000s
postfix: dict_eval: const 10s
postfix: dict_eval: const 10s
postfix: dict_eval: const 1s
postfix: dict_eval: const 1s
postfix: dict_eval: const 1s
postfix: dict_eval: const 1s
postfix: dict_eval: const 500s
postfix: dict_eval: const 500s
postfix: dict_eval: const 18000s
postfix: dict_eval: const 18000s
postfix: dict_eval: const 1s
postfix: dict_eval: const 1s
postfix: dict_eval: const OUR SUBNETS GO HERE
postfix: inet_addr_local: configured 5 IPv4 addresses
postfix: dict_eval: const /usr/sbin/sendmail.postfix
postfix: dict_eval: const /usr/bin/mailq.postfix
postfix: dict_eval: const /usr/bin/newaliases.postfix
postfix: dict_eval: const /usr/share/man
postfix: dict_eval: const /etc/postfix
postfix: dict_eval: const /usr/share/doc/postfix-2.5.1-documentation/readme
postfix: dict_eval: const /usr/share/doc/postfix-2.5.1-documentation/html
postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, status, set-permissions, upgrade-configuration)

cat virt_transport.cf
#
hosts = BDD IP
#Usuario y password para acceder al servidor MySQL
#
user= BDD_user
#
password=BDD_password

#
#Nombre de la Base de Datos
#
dbname=BDD_name
#
# Query
#
query = select transport from vw_lst_correos where correo = '%s'

Does anybody know how to solve this problem?

Thanks!!
 
Old 06-03-2009, 07:41 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 83
Please post the output of
Code:
postconf -n
please. I've found a solution on this thread, which may be relevant for you: http://www.irbs.net/internet/postfix/0307/0141.html
 
Old 06-03-2009, 12:21 PM   #3
pioja
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
My postconf -n:

2bounce_notice_recipient = postmaster@xxxxx.net.ec
address_verify_sender =
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
bounce_notice_recipient = postmaster@xxxxxx.net.ec
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:127.0.0.1:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 10
delay_notice_recipient = postmaster@xxxxx.net.ec
disable_vrfy_command = yes
error_notice_recipient = postmaster@xxxxx.net.ec
fast_flush_domains = $relay_domains
html_directory = /usr/share/doc/postfix-2.5.1-documentation/html
inet_interfaces = all
local_recipient_maps =
local_transport = virtual
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 20000000
mydestination = $myhostname, locahost.$mydomain, localhost
myhostname = mail.uio.xxxxx.com.ec
mynetworks = OUR SUBNETS
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
queue_run_delay = 1000
readme_directory = /usr/share/doc/postfix-2.5.1-documentation/readme
relay_domains = $mydestination
sample_directory = /etc/postfix
sender_canonical_maps = mysql:/etc/postfix/virt_canonical_maps.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_connect_timeout = 60s
smtpd_banner = TELMEX EC server ready for action
smtpd_data_restrictions = reject_unauth_pipelining, permit
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_sasl_authenticated reject_unknown_recipient_domain reject_non_fqdn_recipient permit_mynetworks reject_unauth_destination reject_unverified_recipient check_sender_access hash:/etc/postfix/sender_access reject_rbl_client bl.spamcop.net reject_rbl_client sbl-xbl.spamhaus.org check_policy_service inet:127.0.0.1:10023
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access reject_unverified_sender reject_unknown_sender_domain
smtpd_tls_cert_file = /etc/postfix/ssl/XXXXX_ec-cert.pem
smtpd_tls_exclude_ciphers = aNULL
smtpd_tls_key_file = /etc/postfix/ssl/XXXXX_ec-key.pem
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_security_level = may
transport_maps = mysql:/etc/postfix/virt_transport.cf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/virt_aliases_maps.cf
virtual_gid_maps = static:12
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = mysql:/etc/postfix/virt_domains_maps.cf
virtual_mailbox_limit = 1000000000
virtual_mailbox_limit_inbox = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/virt_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = mysql:/etc/postfix/virt_mailbox_maps.cf
virtual_maildir_extended = yes
virtual_maildir_limit_message = Quota de disco Sobrepasada
virtual_overquota_bounce = yes
virtual_uid_maps = static:1000


I already checked myorigin and mydestination, as the link says but there was no problem. Please let me know if you get something else. I've read a lot about this but still nothing.
Thanks!!
 
Old 06-03-2009, 07:11 PM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 83
I think according to the link I gave you, if you progressed through to the answer to the thread: http://www.irbs.net/internet/postfix/0307/0149.html, you will find that this:
Quote:
relay_domains = $mydestination
is your problem. $mydestination resolves to
Quote:
mydestination = $myhostname, locahost.$mydomain, localhost
which is (technically) three names. Would it not be better to have a line like
Code:
relay_domains = $mydomain
Also, is there a reason for having relay_domains setup at all? You seem to only want relaying to occur in your own domain, hence no relaying is actually required?

A last point. reading the quote above:
Quote:
mydestination = $myhostname, locahost.$mydomain, localhost
I notice that the second entry is locahost.&mydomain. Is this spelt wrong? Should it not be
Quote:
mydestination = $myhostname, localhost.$mydomain, localhost
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix mail transport problem ayush1440 Linux - Server 3 03-17-2008 06:45 AM
E-mail Transport Hangs matrim Fedora 1 11-17-2005 06:34 PM
How to switch Mail Transport Agent in FC3? murr4y Linux - Software 1 06-28-2005 01:52 AM
Send Mail, unknown mailer error 255 housemusic42 Linux - Networking 4 03-12-2004 05:03 PM
Exim Mail Transport Agent Fernando Linux - General 0 02-05-2002 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration