Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th June 2008, 17:21
asus asus is offline
Member
 
Join Date: Jul 2007
Posts: 67
Thanks: 3
Thanked 1 Time in 1 Post
Default Postfix relay problem

ok now I have run into another problem with outgoing email. I'm trying to relay my outgoing email through my ISP email @ rogers.com but now I get this

Code:
Jun 25 11:11:21 gwi postfix/smtp[29061]: warning: valid_hostname: empty hostname
Jun 25 11:11:21 gwi postfix/smtp[29061]: warning: malformed domain name in resource data of MX record for smtp.broadband.rogers.com: 
Jun 25 11:11:21 gwi postfix/smtp[29061]: warning: valid_hostname: empty hostname
Jun 25 11:11:21 gwi postfix/smtp[29061]: warning: malformed domain name in resource data of MX record for smtp-rog.mail.yahoo.com: 
Jun 25 11:11:21 gwi postfix/smtp[29061]: warning: relayhost configuration problem
Reply With Quote
Sponsored Links
  #2  
Old 25th June 2008, 18:21
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

post your main.cf
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 25th June 2008, 19:37
asus asus is offline
Member
 
Join Date: Jul 2007
Posts: 67
Thanks: 3
Thanked 1 Time in 1 Post
Default

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = gwi.bounceme.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = gwi.bounceme.net, localhost.bounceme.net, localhost.localdomain, localhost
relayhost = smtp.broadband.rogers.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
Reply With Quote
  #4  
Old 26th June 2008, 12:24
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

You need to make this change
Code:
relayhost = [smtp.broadband.rogers.com]
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #5  
Old 26th June 2008, 18:00
asus asus is offline
Member
 
Join Date: Jul 2007
Posts: 67
Thanks: 3
Thanked 1 Time in 1 Post
Default

thank top dog that worked. i followed the postfix relay howto, So maybe someone should add that into that howto.
Reply With Quote
  #6  
Old 26th June 2008, 18:08
asus asus is offline
Member
 
Join Date: Jul 2007
Posts: 67
Thanks: 3
Thanked 1 Time in 1 Post
Default

ok now i have ran into this
Code:
Jun 26 11:58:49 gwi postfix/smtp[28839]: 30FB71343EF: to=<0asus0@rogers.com>, relay=smtp.broadband.rogers.com[206.190.36.18]:25, delay=0.54, delays=0.14/0.04/0.33/0.03, dsn=5.0.0, status=bounced (host smtp.broadband.rogers.com[206.190.36.18] said: 553 From: address not verified; see http://www.rogershelp.com/verify-email (in reply to MAIL FROM command))
Jun 26 11:58:49 gwi postfix/cleanup[28837]: B81C3134498: message-id=<20080626155849.B81C3134498@gwi.bounceme.net>
Jun 26 11:58:49 gwi imapd: LOGOUT, user=web1_adam, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=77, sent=418, time=0
Jun 26 11:58:49 gwi postfix/qmgr[28776]: B81C3134498: from=<>, size=2753, nrcpt=1 (queue active)
Jun 26 11:58:49 gwi postfix/bounce[28843]: 30FB71343EF: sender non-delivery notification: B81C3134498
Jun 26 11:58:49 gwi postfix/qmgr[28776]: 30FB71343EF: removed
Jun 26 11:58:50 gwi postfix/smtp[28839]: B81C3134498: to=<web1_adam@example.com>, relay=smtp.broadband.rogers.com[206.190.36.18]:25, delay=0.39, delays=0.03/0/0.34/0.03, dsn=5.0.0, status=bounced (host smtp.broadband.rogers.com[206.190.36.18] said: 553 From: address not verified; see http://www.rogershelp.com/verify-email (in reply to MAIL FROM command))
Jun 26 11:58:50 gwi postfix/qmgr[28776]: B81C3134498: removed
Jun 26 11:58:52 gwi imapd: Connection, ip=[::ffff:127.0.0.1]
I noticed that web1_adam@example.com that shouldn't be there I don't recall putting in example in anywhere when installing
Reply With Quote
  #7  
Old 27th June 2008, 23:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

What's in /etc/mailname?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 29th June 2008, 15:55
asus asus is offline
Member
 
Join Date: Jul 2007
Posts: 67
Thanks: 3
Thanked 1 Time in 1 Post
Default

gwi.bounceme.net
Reply With Quote
  #9  
Old 30th June 2008, 15:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Ok. What are the outputs of
Code:
hostname
and
Code:
hostname -f
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 30th June 2008, 17:39
asus asus is offline
Member
 
Join Date: Jul 2007
Posts: 67
Thanks: 3
Thanked 1 Time in 1 Post
 
Default

the same gwi.bounceme.net
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix gmail relay toddgriham Server Operation 13 8th July 2008 02:29
POSTFIX relay not only local varnik Installation/Configuration 1 10th May 2007 18:06
Postfix Configuration Problem Shahryar Installation/Configuration 1 8th December 2006 15:19
Postfix Problem rlhesson Installation/Configuration 2 9th August 2006 03:49
Perfect Setup - Fedora Core 4 - postfix problem Median Installation/Configuration 7 2nd February 2006 12:21


All times are GMT +2. The time now is 14:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.