OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Setting up to send mail

From: mouss (mlist.onlyfree.fr)
Date: Tue May 01 2007 - 09:43:23 CDT


Wade Smart wrote:
> My System: Ubuntu 7.04
> Use fetchmail / postfix / dovecot for mail
> My domain name: wadesmart.com
> Hosted by: GoDaddy
> My computer name: wadesmart
>
> Summary of Problem
>
> Im trying to complete setup of my email system to send mail. I
> originally in my mail client setup to use "sendmail" as server type.
> When I was doing that I get the error produced below. I was told in
> another forum to change that to smtp. When I did my mail client does
> not send the mail. It just hangs, like it cant connect.
>
> I have been reading through the documentation but I think Im just
> going in circles because all as I make changes I noticed that now Im
> getting emails that are coming in bounced.
>
> What I want is to just get my mail, read it, send it back, all on my
> own system. I would really appreciate any help.
>
> wade
>
>
> Complete Error Messages
>
> Cant send error message:
>
> Apr 30 17:18:56 wadesmart postfix/smtp[18874]: B0E5F14284D1:
> to=<wadesmartmail.wadesmart.com>,
> orig_to=<wadewadesmart.com>,
> relay=smtpout.secureserver.net[64.202.165.58]:3535,
> delay=0.5,
> delays=0.02/0.06/0.29/0.12,
> dsn=5.0.0,
> status=bounced (host smtpout.secureserver.net[64.202.165.58]
> said: 553 Sorry, that domain isn't in my list of allowed rcpthosts.
> (in reply to RCPT TO command))
>
> Losing email error message:
>
> Apr 30 12:34:08 wadesmart postfix/smtp[7697]: 7826714284BD:
> to=<PositiveDiscussionsyahoogroups.com>,
> relay=smtpout.secureserver.net[64.202.165.58]:3535,
> delay=0.63,
> delays=0.13/0/0.35/0.15, dsn=5.0.0,
> status=bounced (host smtpout.secureserver.net[64.202.165.58]
> said: 553 Sorry, that domain isn't in my list of allowed rcpthosts.
> (in reply to RCPT TO command))

so you have smtpout.secureserver.net as your relayhost (as seen in
postconf -n), but they don't accept to relay for you. ask them what to
do to be able to relay via their server. if they gave you yoy a
login/passwd, then you'll need to setup sasl. see the SASL_README. look
for the part with "sasl client" or so, and to smtp_sasl_* variables (not
smtpd_sasl_*).

>
> Apr 30 12:34:08 wadesmart postfix/qmgr[5402]: 7826714284BD: removed
>
>
>
> Output from "postconf -n"
>
> wadesmartwadesmart:~$ postconf -n
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> append_dot_mydomain = no
> biff = no
> config_directory = /etc/postfix
> home_mailbox = Maildir/
> inet_interfaces = all
> inet_protocols = all
> mailbox_command =
> mailbox_size_limit = 0
> mydestination = wadesmart, wadesmart.com, localhost.localdomain,
> localhost
> mydomain = wadesmart.com
> myhostname = mail.wadesmart.com
> mynetworks = 192.168.0.0/24 127.0.0.0/8
> recipient_delimiter = +
> relayhost = [smtpout.secureserver.net]:3535
> smtp_sasl_password_maps = hash:/etc/postfix/saslpass
> smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
> smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
> smtpd_sasl_auth_enable = yes
> smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
> smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
> smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
> smtpd_use_tls = yes
> wadesmartwadesmart:~$
>
>
> Mail Client Setup:
>
> Sending Email:
> Server type: smtp
> server: mail.wadesmart.com
>
> Receiving Email:
> Server type: IMAP
> Server: 127.0.0.1
>