On Sat, Sep 6, 2008 at 8:05 PM, आशीष शुक्ल Ashish Shukla <wahjava.ml@
gmail.com> wrote:
>
> >3. /etc/postfix transport
> >gmail.com smtp:[smtp.gmail.com]
>
> This is wrong, unless you want to tell postfix that mails to all @
> gmail.com
> users should be sent (not _relayed_ via) to the SMTP server smtp.gmail.com.
> Use
> 'relay' transport instead of 'smtp' transport. But even this won't relay
> mails
> via smtp.gmail.com if mail is destined to non @gmail.com address.
>
> Well, above can also be implemented using 'relayhost' variable in main.cf.
> And don't use transport_maps, unless, you really need them.
>
>> i have removed the transport file & its mapping in main.cf, since
relayhost is set in there.
>
> - ---->8---->8----
>
> mydestination=$myhostname,localhost.$mydomain,localhost,localhost.localdomain
> relayhost=[smtp.gmail.com]
> smtp_use_tls=yes
> smtp_tls_per_site=hash:/etc/postfix/tls_per_site
> smtp_tls_session_cache_database=btree:/var/run/smtp_tls_session_cache
> smtp_sasl_tls_security_options=noanonymous
> smtp_tls_CAfile=/etc/postfix/cacert.pem
> smtp_sasl_auth_enable=yes
> smtp_sasl_password_maps=hash:/etc/postfix/sasl/sasl_passwd
> relay_domains=
> - ---->8---->8----
>
> And this configuration is tested on Fedora, Ubuntu, and Gentoo GNU/Linux +
> FreeBSD with minor changes related to path names. On Gentoo GNU/Linux and
> FreeBSD I've installed from source. cacert.pem is the one which is shipped
> with
> Mozilla Firefox.
$postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname,localhost,localhost.localdomain,debmail.net
myhostname = debian
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost = [smtp.gmail.com]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_tls_cert_file = /etc/postfix/FOO-cert.pem
smtp_tls_key_file = /etc/postfix/FOO-key.pem
smtp_tls_loglevel = 1
smtp_tls_per_site = hash:/etc/postfix/tls_per_site
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_sasl_auth_enable = no
smtpd_sasl_local_domain = $myhostname
i have commented out most of the smtpd_ values but still the problem
persists.
--
Sahil
MCA(SE)
USIT
GGSIPU, Kashmere Gate
Delhi
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[email protected]/