This indicates that you enabled SASL for the client inside Postfix but your Postfix installation is not compiled that way that it supports SASL. To get Postfix to use SASL you need to enable the "sasl" or "dovecot-sasl" USE flag.postfix/smtp[31555]: warning: smtp_sasl_auth_enable is true, but SASL support is not compiled in
Code: Select all
/etc/init.d/postfix stopCode: Select all
/etc/init.d/postfix startCode: Select all
* `FORCE_UPGRADE=1 emerge --buildpkgonly postfix`; then
* `/etc/init.d/postfix stop && emerge --usepkgonly postfix`
* run etc-update or dispatch-conf and merge the configuration files.
* Next /etc/init.d/postfix start Code: Select all
Diagnostic-Code: smtp; 530 5.7.0 Must issue a STARTTLS command first
b8sm12142871rvf#Add remote smtp server access
#Find what servers to use it for
transport_maps = hash:/etc/postfix/transport
#JUST WORK ALREADY!
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_client_restrictions = permit_sasl_authenticated, reject_unauth_destination
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
#Get the passowords
#smtp_sasl_auth_enable = yes
#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
#smtp_sasl_type = cyrus
##smtpd_sasl_auth_enable = yes
#smtpd_sasl2_auth_enable = yes
#smtpd_sasl_security_options = noanonymous
#broken_sasl_auth_clients = yes
#smtpd_sasl_local_domain =
#smtpd_recipient_restrictions =
# permit_sasl_authenticated,
# permit_mynetworks,
# reject_unauth_destination
#smtp_use_tls = yes
#smtp_tls_note_starttls_offer = yes
#smtpd_use_tls = yes
##smtpd_tls_auth_only = yes
##smtpd_tls_key_file = /etc/postfix/newkey.pem
##smtpd_tls_cert_file = /etc/postfix/newcert.pem
##smtpd_tls_CAfile = /etc/postfix/cacert.pem
#smtpd_tls_loglevel = 3
#smtpd_tls_received_header = yes
#smtpd_tls_session_cache_timeout = 3600s
#tls_random_source = dev:/dev/urandom
I think this means if mail is going to "something@gmail.com" relay through gmail server.something@gmail.com smtp:smtp.gmail.com:587
So next I send mail to something@gmail.com in hopes it will get relayed through somethingelse@gmail.com`s account.gmail.com somethingelse@gmail.com:something_elses_password
After making the files transport and sasl_passwdpostmap /etc/postfix/transport
postmap hash:/etc/postfix/sasl_passwd
something@gmail.com to somethingelse@gmail.com? Why? Why not sending all the @google.com mails to Google directly? Do you really want to rewrite something@gmail.com to somethingelse@gmail.com?Gokee2 wrote:So yes for now I want just something@gmail.com to relay through somethingelse@gmail
Code: Select all
smtp_tls_policy_maps = hash:$config_directory/tls_policyCode: Select all
gmail.com encrypt
.gmail.com encryptCode: Select all
postmap /etc/postfix/tls_policyCode: Select all
/etc/init.d/postfix restartTo do this I want to relay all mail going to places that reject my mail directly through a "real" mail server. This server is going to be 2rbetter.org.<woof@netzero.com>: connect to mx.dca.untd.com[64.136.44.37]: server
refused to talk to me: 550 Access
denied:...07c4114d844d4040d1e59520cde091e1e0adc0b0b11d35b1b46d5019f05951b585f98d24041d0451c9940140802db9a465400df51d94213d153d40f4559534cd8964304534e520155571a0a1a0348580f1d58d7949149dd575c9a18044fd90fdd5f5cdb4e00d3d2540794521c4458555e9557104ada46d6170f1c0b0f1f9b0f9a94924fd...
<Foo@juno.com>: connect to mx.dca.untd.com[64.136.44.37]: server refused
to talk to me: 550 Access
Sep 6 16:12:54 grond postfix/smtp[12130]: 1A81A47ACCB: to=<something@gmail.com>, relay=smtp.gmail.com[209.85.199.109]:587, delay=0.35, delays=0.02/0.11/0.18/0.04, dsn=5.7.0, status=bounced (host smtp.gmail.com[209.85.199.109] said: 530 5.7.0 Must issue a STARTTLS command first f42sm163532rvb (in reply to MAIL FROM command))
Sep 6 16:12:54 grond postfix/cleanup[12129]: 78CA947ACCD: message-id=<20070906231254.78CA947ACCD@skagitattic.no-ip.org>
Sep 6 16:12:54 grond postfix/qmgr[12119]: 78CA947ACCD: from=<>, size=2255, nrcpt=1 (queue active)
Sep 6 16:12:54 grond postfix/bounce[12132]: 1A81A47ACCB: sender non-delivery notification: 78CA947ACCD
Sep 6 16:12:54 grond postfix/qmgr[12119]: 1A81A47ACCB: removed
Sep 6 16:12:54 grond postfix/local[12133]: 78CA947ACCD: to=<apache@skagitattic.no-ip.org>, relay=local, delay=0.02, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Sep 6 16:12:54 grond postfix/qmgr[12119]: 78CA947ACCD: removed
Code: Select all
#smtp_use_tls = yes
#smtp_tls_note_starttls_offer = yes
#smtpd_use_tls = yes
##smtpd_tls_auth_only = yes
##smtpd_tls_key_file = /etc/postfix/newkey.pem
##smtpd_tls_cert_file = /etc/postfix/newcert.pem
##smtpd_tls_CAfile = /etc/postfix/cacert.pem
#smtpd_tls_loglevel = 3
#smtpd_tls_received_header = yes
#smtpd_tls_session_cache_timeout = 3600s
#tls_random_source = dev:/dev/urandomThat ok? I never made any certs so the smptd lines would make postfix yell at mesmtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
#smtpd_use_tls = yes
##smtpd_tls_auth_only = yes
##smtpd_tls_key_file = /etc/postfix/newkey.pem
##smtpd_tls_cert_file = /etc/postfix/newcert.pem
##smtpd_tls_CAfile = /etc/postfix/cacert.pem
#smtpd_tls_loglevel = 3
#smtpd_tls_received_header = yes
#smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
Sep 6 16:31:51 grond postfix/qmgr[12214]: 5319947ACCB: from=<apache@skagitattic.no-ip.org>, size=304, nrcpt=1 (queue active)
Sep 6 16:31:51 grond postfix/smtp[12221]: certificate verification failed for smtp.gmail.com: num=20:unable to get local issuer certificate
Sep 6 16:31:51 grond postfix/smtp[12221]: certificate verification failed for smtp.gmail.com: num=27:certificate not trusted
Sep 6 16:31:51 grond postfix/smtp[12221]: certificate verification failed for smtp.gmail.com: num=21:unable to verify the first certificate
Sep 6 16:31:51 grond postfix/smtp[12221]: 5319947ACCB: to=<something@gmail.com>, relay=smtp.gmail.com[209.85.199.109]:587, delay=0.46, delays=0.03/0.03/0.36/0.04, dsn=5.5.1, status=bounced (host smtp.gmail.com[209.85.199.109] said: 530 5.5.1 Authentication Required b24sm191421rvf (in reply to MAIL FROM command))