|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|