linux-l: Postfix Masq
Duncan Rubinger
Duncan at SemanticEdge.com
So Apr 29 15:45:26 CEST 2001
Hi allerseits,
wie sage ich meinem Postfix dass er alle mails von mir aus zuhause, die
ueber einen ISP relayed werden im header den from teil mit der zeile:
from: $user at gewünschteDoamin.de masquieren soll ?
Es sollen alos alle mails mit User at Domane maskiert werden.
append_at_myorigin = yes
append_dot_mydomain = yes
masquerade_domains = semanticedge.de
local_transport = local
myhostname = inferno
myorigin = berlinwebmail.de
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost
relayhost = mail.berlinwebmail.de
home_mailbox = mail
mailbox_command = /usr/bin/procmail
queue_directory = /var/spool/postfix
mail_spool_directory = /var/spool/mail
Nebenbei habe ich noch das Problem dass Postfix nicht lokal ausliefert.
Mail an jede beliebige Adresse zu schreiben gehtr, kommt auch an. Nur z.B.
mail -s test duncan oder duncan at localhost geht ins leere ...
Apr 29 15:32:15 inferno postfix/local[29097]: 74E2D1E433:
to=<duncan at localhost.inferno>, relay=local, delay=0, status=bounced (can't create user output file. Command output:
procmail: Couldn't create "/var/spool/mail/duncan" procmail: Lock failure on
"/var/spool/mail/duncan.lock" procmail: Error
while writing to "/var/spool/mail/duncan" )
Eigentlich stimmt alles, z.B. rechte oder ownership.
[root at inferno postfix]# ls -la /var/spool/mail/
insgesamt 2
drwxrwxr-x 2 root mail 1024 Apr 29 12:30 .
drwxr-xr-x 10 root root 1024 Apr 29 12:35 ..
-rw------- 1 root root 0 Apr 29 12:30 root
root at inferno postfix]# more /etc/passwd|grep mail
mail:x:8:12:mail:/var/spool/mail:
[root at inferno postfix]# groups mail
mail : mail
Jemand eine Idee?
Danke, Duncan
Mehr Informationen über die Mailingliste linux-l