PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Trying to use sendmail on FreeBSD to forward emails - Please
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Trying to use sendmail on FreeBSD to forward emails - Please

Réponse
 
LinkBack Outils de la discussion
Vieux 20/05/2007, 16h54   #1
CharlesB
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Trying to use sendmail on FreeBSD to forward emails - Please

Hello

I'm running Sendmail 8.13.8 on FreeBSD 6.2 and I'm hosting several
websites as virtual domains on a fixed IP address.

What I want to be able to do, using the 'aliases' , 'local-host-names'
and/or 'virtusertable' files is to forward emails sent to say
'xyz@my.virtualdomain.com' to a specified existing email address.

I only have registered 'A' records for the domain names, both the '@'
and 'www' records in each case, and I'm not trying to run a
nameserver locally, or host user mailboxes.

Previously I had this running on FreeBSD 5.3 with an older version of
Sendmail, but it worked only after a lot of thrashing about (and some
from folks on this newsgroup), and despite trying to replicate
what I had on the old server box, I cannot get it to work again now.

Using Sendmail from a shell command-line with a 'from' address
inserted using the -f switch, I can send test emails from the server
console to my own email address, and receive the messages fine, but if
I try sending an email to say 'info@my.virtualdomain.com' , even
though it appears to get through to the server, and the forwarding
address is set up in 'aliases' , it doesn't get forwarded through,
although I don't get the mail bounced back as undeliverable.

Digging through the documentation (Bryan Costales 'Bat Book', Craig
Hunt's 'Sendmail Cookbook', Albitz & Liu's 'DNS and Bind'), it looks
as though a problem may be that I don't have any fully qualified
canonical domain name set up for my IP address, but it worked
previously without my having to set up any CNAME records with my
domain registration service, and I'm sure I wasn't doing anything
special with 'bind' or 'named' on the old server box.

Please can anyone give me a hint about what I might be missing out in
the configuration.

Many thanks for any ful suggestions.

Charles B

  Réponse avec citation
Vieux 21/05/2007, 21h02   #2
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Trying to use sendmail on FreeBSD to forward emails - Please

In article <1179676475.772675.108360@y80g2000hsf.googlegroups .com>
CharlesB <charles-brewster@ntlworld.com> writes:
>
>Using Sendmail from a shell command-line with a 'from' address
>inserted using the -f switch, I can send test emails from the server
>console to my own email address, and receive the messages fine, but if
>I try sending an email to say 'info@my.virtualdomain.com' , even
>though it appears to get through to the server, and the forwarding
>address is set up in 'aliases' , it doesn't get forwarded through,
>although I don't get the mail bounced back as undeliverable.


What does the log (/var/log/maillog) say about the message? At a guess,
you need to list the virtual domain names in /etc/mail/local-host-names.

--Per Hedeland
per@hedeland.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h03.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10319 seconds with 10 queries