On Tue, 19 Jun 2012 20:08:33 +0800
Looks like you should read up on the basics.....

Never try and postmap main.cf; it is not a map.

mydomain is just that - one domain. If you are accepting mail for
multiple domains use mydestination.

"JonL" <[email protected]> wrote:

> Sorry
> When I put in the 2nd domain this is what shows up in the mail log or when I 
> try to type a postmap command
> postmap: warning: valid_hostname: invalid character 44(decimal): 
> mmtnetworks.com.au,           jlorenzo.com.au
> postmap: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter 
> value: mmtnetworks.com.au,           jlorenzo.com.au
> 
> Jun 19 18:33:42 linux-srv postfix/master[1756]: reload configuration 
> /etc/postfix
> Jun 19 18:33:42 linux-srv postfix/master[1756]: warning: valid_hostname: 
> invalid character 44(decimal): mmtnetworks.com.au, jlorenzo.com.au
> Jun 19 18:33:42 linux-srv postfix/master[1756]: fatal: file 
> /etc/postfix/main.cf: parameter mydomain: bad parameter value: 
> mmtnetworks.com.au, jlorenzo.com.au
> Jun 19 18:33:42 linux-srv postfix[2103]: warning: valid_hostname: invalid 
> character 44(decimal): mmtnetworks.com.au, jlorenzo.com.au
> Jun 19 18:33:42 linux-srv postfix[2103]: fatal: file /etc/postfix/main.cf: 
> parameter mydomain: bad parameter value: mmtnetworks.com.au, jlorenzo.com.au
> 
> 
> postconf -n
> alias_maps = hash:/etc/aliases
> biff = no
> canonical_maps = hash:/etc/postfix/canonical
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/lib/postfix
> debug_peer_level = 2
> defer_transports =
> disable_dns_lookups = no
> disable_mime_output_conversion = no
> html_directory = /usr/share/doc/packages/postfix/html
> inet_interfaces = all
> inet_protocols = all
> mail_owner = postfix
> mail_spool_directory = /var/mail
> mailbox_command =
> mailbox_size_limit = 0
> mailbox_transport =
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/share/man
> masquerade_classes = envelope_sender, header_sender, header_recipient
> masquerade_domains =
> masquerade_exceptions = root
> message_size_limit = 10240000
> mydestination = $myhostname, localhost.$mydomain
> mydomain = mmtnetworks.com.au, jlorenzo.com.au
> myhostname = linux-srv.mmtnetworks.com.au
> mynetworks = 192.168.2.0/24, 127.0.0.0/8
> mynetworks_style = subnet
> newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/packages/postfix/README_FILES
> relayhost =
> relocated_maps = hash:/etc/postfix/relocated
> sample_directory = /usr/share/doc/packages/postfix/samples
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
> sendmail_path = /usr/sbin/sendmail
> setgid_group = maildrop
> smtp_sasl_auth_enable = no
> smtp_use_tls = no
> smtpd_client_restrictions =
> smtpd_helo_required = no
> smtpd_helo_restrictions =
> smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
> smtpd_sasl_auth_enable = no
> smtpd_sender_restrictions = hash:/etc/postfix/access
> smtpd_use_tls = no
> strict_8bitmime = no
> strict_rfc821_envelopes = no
> transport_maps = hash:/etc/postfix/transport
> unknown_local_recipient_reject_code = 550
> virtual_alias_domains = hash:/etc/postfix/virtual
> virtual_alias_maps = hash:/etc/postfix/virtual
> It's not delivering to the mmtnetworks.com.au domain also.
> 
> 
> regards
> 
> Jon
> --------------------------------------------------
> From: "John Peach" <[email protected]>
> Sent: Tuesday, June 19, 2012 7:51 PM
> To: <[email protected]>
> Subject: Re: problem with postfix configuration - Relay Access Denied
> 
> > On Tue, 19 Jun 2012 19:44:31 +0800
> > "JonL" <[email protected]> wrote:
> >
> >> I'm getting the following in my mail logs for a new postfix system.
> >> OS = SuSE Linux Enterprise v10
> >>
> >> Thanks
> >>
> >> mail log error
> >> Jun 18 15:20:24 linux-srv postfix/smtpd[6509]: NOQUEUE: reject: RCPT from 
> >> emessenger.cisco.com[192.86.51.17]: 554 <[email protected]>: 
> >> Relay access denied; from=<[email protected]> 
> >> to=<[email protected]> proto=ESMTP helo=<emessenger.cisco.com>
> >> Jun 18 15:20:24 linux-srv postfix/smtpd[6509]: disconnect from 
> >> emessenger.cisco.com[192.86.51.17]
> >> Jun 18 15:20:29 linux-srv postfix/smtpd[6509]: connect from 
> >> ccm24.constantcontact.com[208.75.123.132]
> >> Jun 18 15:20:30 linux-srv postfix/smtpd[6509]: NOQUEUE: reject: RCPT from 
> >> ccm24.constantcontact.com[208.75.123.132]: 554 
> >> <[email protected]>: Relay access denied; 
> >> from=<[email protected]> 
> >> to=<[email protected]> proto=ESMTP 
> >> helo=<ccm24.constantcontact.com>
> >>
> >>
> >>
> >>
> >> postconf
> >
> > should be postconf -n
> >
> > [snip]
> >> mydestination = $myhostname, localhost.$mydomain
> >> mydomain = mmtnetworks.com.au
> >> myhostname = linux-srv.mmtnetworks.com.au
> >
> > jlorenzo.com.au is not there.....
> >
> >
> > [snip]
> >
> >
> > -- 
> > john
> > 



-- 
john

Reply via email to