Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd December 2006, 17:09
Pepere Pepere is offline
Junior Member
 
Join Date: Nov 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix problem: send from yahoo webmail

Hello,

after a lot of tests of sending/receiving emails, i think all is ok with this postfix configuration... With server webmail or with Outlook, all seems to be functional.

But if I try to send an email from a Yahoo or Hotmail webmail to an address present on my server, I've got a "Relay access denied".

All users must be able to send a mail from everywhere, with a local soft or with a webmail (server webmail, yahoo webmail, hotmail webmail or else).

Could you tell me what I've forgotten in my configuration ?

Thank you in advance

main.cfg below
Quote:
# Paramètres de fonctionnement de postfix
# NE PAS CHANGER
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
setgid_group = postdrop
biff = no

# Nom du fichier d'alias
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

# Nom du fichier de correspondance pour les adresses virtuelles
virtual_maps = hash:/etc/postfix/virtusertable

# Nom de domaine
# Ce paramètre ne sert pas directement, mais peut être utilisé par la suite.
mydomain = patmos.logesti.info

# Nom d'hôte
# Ce paramètre ne sert pas directement, mais peut être utilisé par la suite.
myhostname = $mydomain

# Extension pour les mails envoyés depuis la machine
myorigin = /etc/mailname

# Liste des domaines pour lesquels le serveur accepte le mail
# ET délivre le mail en local
mydestination = /etc/postfix/local-host-names

# Liste des domaines pour lesquels le serveur accepte le mail
# ET le relaie à d'autres serveurs de mail
relay_domains = $mydestination

# Dans le cas où on a besoin d'un serveur pour relayer les mails sortants :
relayhost =

# Réseaux en lesquels j'ai confiance
# i.e. pour lequel mon serveur mail accepte de relayer du mail
# ATTENTION : il ne faut pas mettre n'importe quoi pour que le serveur
# mail ne devienne pas un relai pour le spam !
mynetworks = 127.0.0.0/8

# Commande à exécuter pour délivrer les mails en local
mailbox_command = procmail -a "$EXTENSION"

# Taille maximale pour les mailbox (0 = pas de limite)
mailbox_size_limit = 0

recipient_delimiter = +
inet_interfaces = all

smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
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
home_mailbox = Maildir/
Reply With Quote
Sponsored Links
  #2  
Old 23rd December 2006, 12:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,774
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Is the domain you want to send a email to listed in /etc/postfix/local-host-names (I mean with and without www) ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd December 2006, 17:57
Pepere Pepere is offline
Junior Member
 
Join Date: Nov 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes absolutly !!

After your message, I go into this file to verify if this domain was in. I saw all domains are mixed (not in right order). I place all domains in right order, first all domains with www then all domains without www.

Since I made tis modification, all emails are received and emails from external webmails too !!!

So thank you for your help

Pepere

PS: I wish you all a Merry Chrismas
Reply With Quote
  #4  
Old 24th December 2006, 11:34
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,774
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
 
Default

The order does not matter and ISPConfig will resort the domains. But maybe you had a typo in one domain, please check them in the ISPConfig interface, especially the co-domains.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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 problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Problem: Cant send mail - Ubuntu Edgy + Postfix + Saslaught mrmagoo Server Operation 1 1st December 2006 15:56
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Postfix wont send to Hotmail or yahoo jroberts Installation/Configuration 5 23rd August 2006 17:21


All times are GMT +2. The time now is 12:18.


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